html {
    background-color: #0d0d0d;
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;       /* Internet Explorer 10+ */
    overflow: scroll;
    cursor: url('cursor_1a.png') 8 8, auto;
}
html::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    opacity: 0;
}
body {
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;
    cursor: url('cursor_1a.png') 8 8, auto;
}
body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    opacity: 0;
}
* {
    padding: 0;
    margin: 0;
    color: #d9d9d9;
    font-family: 'Argent-Pixel-CF-Italic', sans-serif;
    font-weight: 400;
    font-style: normal;
}
*::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    opacity: 0;
}
/* Fonts */
@font-face {
    font-family: Argent-Pixel-CF-Regular;
    src: url(assets/fonts/ArgentPixelCF-Regular.otf);
}
@font-face {
    font-family: Argent-Pixel-CF-Italic;
    src: url(assets/fonts/ArgentPixelCF-Italic.otf);
}
@font-face {
    font-family: Owners-Medium;
    src: url(assets/fonts/Owners-Medium.otf);
}
@font-face {
    font-family: Owners-Regular;
    src: url(assets/fonts/Owners-Regular.otf);
}

#start-screen {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    cursor: url('cursor_1a.png') 8 8, auto;
    }
    #start-screen::before {
        content: "";
        position: absolute;
        top: 0; 
        left: 0;
        width: 100%;
        height: 100%;
        background-image: url('assets/bilder/background-img.jpg');
        background-size: cover;
        background-position: center;
        opacity: 0;
        transition: opacity 0.7s ease-in-out;
        z-index: 0;
    }
    #start-screen.show-bg::before {
        opacity: 1;
    }
    #start-screen_title {
        z-index: 1;
        font-size: clamp(0.5rem, 12vw, 7rem);
        letter-spacing: clamp( -6px, -0.6vw, -2px);
        transition: color 0.5s ease;
    }
    #start-screen_title::selection, #start-screen_subtitle::selection {
        background-color: #d9d9d9;
        color: #0d0d0d;
    }
    #start-screen_title.show-bg {
        color: #0d0d0d;
    }
    #start-screen_subtitle {
        overflow: hidden;
        border-right: #d9d9d9 2px solid;
        white-space: nowrap;
        position: relative;
        bottom: clamp(0.05rem, 1.7vw, 0.6rem);
        right: clamp(5px, 8vw, 4rem);
        z-index: 1;
        font-size: clamp(0.11rem, 1.9vw, 1rem);
        letter-spacing: -0.3px;
        transition: color 0.5s ease;
        animation: typing 3.5s steps(40, end),
        blink-caret .75s step-end infinite;
    }
    @keyframes typing {
        from { width: 0; }
        to { width: clamp(82px, 55vw, 414.3px); }
    }
    @keyframes blink-caret {
        from, to { border-color: transparent }
        50% { border-color: #d9d9d9; }
    }
    @keyframes blink-caret_hover {
        from, to { border-color: transparent }
        50% { border-color: #0d0d0d; }
    }
    #start-screen_subtitle.show-bg {
        color: #0d0d0d;
        border-right: #0d0d0d 2px solid;
        animation: typing 3.5s steps(40, end),
        blink-caret_hover .75s step-end infinite;
    }

    #start-screen_button {
        position: relative;
        z-index: 1;
        background-color: #0d0d0d;
        color: #d9d9d9;
        padding: 0 clamp(0.1rem, 2vw, 0.5rem);
        border: #d9d9d9 clamp(1px, 0.2vw, 2px) solid;
        border-radius: clamp(1rem, 5vw, 2rem);
        font-family: 'Owners-Medium', sans-serif;
        font-style: normal;
        font-size: clamp(0.7rem, 7vw, 2.5rem);
        transition: all 0.5s ease;
    cursor: url('cursor_1c.png') 8 8, auto;
        user-select: none;
    }
    #start-screen_button:hover {
        background-color: #d9d9d9;
        color: #0d0d0d;
        transform: scale(1.1);
        border: #0d0d0d clamp(1px, 0.2vw, 2px) solid;
    }
    #copyright {
        position: absolute;
        bottom: clamp(0.1rem, 2vw, 0.5rem);
        right: clamp(0.1rem, 2vw, 0.5rem);
        font-style: normal;
        font-size: clamp(0.1rem, 2vw, 1rem);
        font-family: 'Owners-Regular', sans-serif;
        color: #808080;
        user-select: none;
    }
    #copyright.show-bg {
        color: #0d0d0d;
    }
    #comment1 {
        position: absolute;
        bottom: clamp(0.1rem, 2vw, 0.5rem);
        left: clamp(0.1rem, 2vw, 0.5rem);
        user-select: none;
        font-size: clamp(0.5rem, 2vw, 1rem);
    }
    #audio-note {
        position: absolute;
        top: clamp(0.1rem, 2vw, 0.5rem);
        /* left: clamp(0.1rem, 2vw, 0.5rem); */
        user-select: none;
        font-size: clamp(0.5rem, 2vw, 1rem);
    }
    #audio-note.show-bg {
        color: #0d0d0d;
    }
    #comment1:hover {
        background-color: #d9d9d9;
        color: #0d0d0d;
        scale: 1.1;
    }
    
#full-screen {
    transition: opacity 0.5s ease;
    opacity: 1;
    display: none;
    flex-direction: column;
    overflow-y: scroll;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    background-color: #0d0d0d;
    color: #d9d9d9;
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;
    cursor: url('cursor_1a.png') 8 8, auto;
    }
    #side-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
        position: fixed;
        z-index: 5;
        right: 0;
        top: 0;
        height: 100vh;
        width: 2rem;
        padding: 0.75rem;
        box-sizing: border-box;
        overflow: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
        transition: color 0.3s, transform 0.6s ease, opacity 0.6s ease;
    }
    .side-bar_item {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 1rem;
        width: 1rem;
        font-size: clamp(0.8rem, 5vw, 1.2rem);
        font-family: 'Owners-Regular', sans-serif;
    cursor: url('cursor_1b.png') 8 8, auto;
        color: #808080;
        user-select: none;
    }
    .side-bar_item.active {
        color: #d9d9d9;
    }


    #section0 {
        height: 100vh;
        box-sizing: border-box;
        padding: clamp(0.5rem, 5vw, 4rem) 0;
    }

    .question {
        scroll-snap-align: start;
        display: flex;
        height: 100vh;
        padding: clamp(0.5rem, 5vw, 2rem);
        transition: opacity 0.4s;
        background-color: #0d0d0d;
        opacity: 0;
        visibility: hidden;
    cursor: url('cursor_2a.png') 8 8, auto;
        }
        .question p {
            color: #d9d9d9;
            font-size: clamp(1.5rem, 10vw, 8rem);
            line-height: clamp(1.5rem, 10vw, 8rem);
                transition: scale 0.3s ease;
        }
        .question p:hover {
                scale: 1.01;
                
            }
            .question p::selection {
                background-color: #d9d9d9;
                color: #0d0d0d;
            }

    .answer {
        display: flex;
        align-items: center;
        flex-direction: column;
        opacity: 0;
        transition: opacity 1s;
        }
        .answer_medium {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            width: 100%;
            padding: clamp(0.5rem, 5vw, 4rem) clamp(0.5rem, 5vw, 2rem);
            box-sizing: border-box;
            }
            .answer_img {
                transition: scale 0.5s ease;
                user-select: none;
    cursor: url('cursor_3.png') 8 8, auto;
            }
            .answer_img:hover {
                scale: 1.01;
            }

    .message {
        display: flex;
        align-items: flex-end;
        margin: clamp(0.1rem, 2vw, 0.35rem) clamp(0.5rem, 5vw, 4rem);
        opacity: 0;
        transition: opacity 0.4s ease;
    }
    .message p {
        padding: clamp(0.1rem, 2vw, 0.8rem) clamp(0.2rem, 2vw, 1.5rem);
        border: #d9d9d9 1px solid;
        border-radius: clamp(0.5rem, 5vw, 2rem);
        box-sizing: border-box;
        background: transparent;
        color: #d9d9d9;
        position: relative;
        white-space: pre-wrap;
        word-break: break-word;
        font-family: 'Owners-Medium', sans-serif;
        font-size: clamp(0.5rem, 5vw, 2.5rem);
        line-height: clamp(0.6rem, 5vw, 2.5rem);
        max-width: 70%;
        opacity: 0;
        visibility: hidden;
        }
        .emoji {
            vertical-align: -0.2em;
            height: clamp(0.5rem, 5vw, 2.5rem);
            width: clamp(0.5rem, 5vw, 2.5rem);
        }
        .emoji::selection {
            background-color: #0d0d0d;
        }
        .message p::selection {
            background-color: #0d0d0d;
            color: #d9d9d9;
        }
        .message_img {
            max-width: 70%;
        border: #d9d9d9 1px solid;
        border-radius: clamp(0.5rem, 5vw, 2rem);
        }
    .message.visible,
    .question.visible,
    .answer.visible {
        visibility: visible;
        opacity: 1;
    }
    .message p,
    .question p,
    .answer p {
        white-space: pre-wrap;
    }
    .visible {
        opacity: 1 !important;
    }
    .message.visible p {
        opacity: 1;
        visibility: visible;
        transition: background 0.5s ease, color 0.5s ease;
    }
    .message.sent p {
        background: #d9d9d9;
        color: #0d0d0d;
        transition: scale 0.3s ease;
    }
.message.sent p:hover {
            scale: 1.01;
        }
    .message span.meta {
        font-family: 'Owners-Regular', sans-serif;
        font-size: clamp(0.1rem, 2vw, 1rem);
        letter-spacing: 0.3px;
        color: #808080;
        margin: clamp(0.05rem, 1vw, 0.25rem) clamp(0.1rem, 2vw, 0.6rem);
        opacity: 0;
        transition: opacity 0.3s ease;
        user-select: none;
    }
    .message.show-meta span.meta {
        opacity: 1;
    }
    
    .sticker p {
        margin: 0.25rem 5rem;
        font-size: 5rem;
    }
    .message.left {
        flex-direction: row;
    }
    .message.right {
        justify-content: flex-start;
        flex-direction: row-reverse;
    }
    .left {
        justify-content: flex-start;
    }
    .right {
        justify-content: flex-end;
    }

    .media-viewer {
        position: fixed;
        inset: 0;
        overflow: hidden;
        background: #d9d9d9;
        z-index: 9999;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: opacity 1s ease;
        opacity: 0;
        pointer-events: none;
        padding:clamp(1rem, 5vw, 2rem);
        box-sizing: border-box;
        }
        .media-viewer.show {
            opacity: 1;
            pointer-events: auto;
            }
            .media-viewer_content {
                position: relative;
                width: 100%;
                height: 100%;
                overflow: hidden;
                display: flex;
                justify-content: center;
                align-items: center;
            }
            .media-viewer_content video {
                max-width: 100%;
                max-height: 100%;
                object-fit: contain;
            }
            .media-viewer_content img {
                user-select: none;
                width: auto;
                height: auto;
                max-width: 100%;
                max-height: 100%;
                object-fit: contain;
            }
        .media-viewer_close {
            position: absolute;
            top: clamp(0.1rem, 2vw, 0.6rem);
            right: clamp(0.1rem, 2vw, 0.6rem);
            height: clamp(1rem, 5vw, 2rem);
            width: clamp(1rem, 5vw, 2rem);
            display: flex;
            justify-content: center;
            align-items: center;
            background: none;
            color: #0d0d0d;
            font-size: 1.2rem;
            font-style: normal;
            font-family: 'Owners-Medium', sans-serif;
            border: none;
    cursor: url('cursor_1b.png') 24 8, auto;
            z-index: 10000;
            transform: translateY(-100%);
            transition: transform 0.6s ease, opacity 0.6s ease, scale 0.3s ease;
            user-select: none;
        }
        .media-viewer_close:hover {
            scale: 1.5;
        }
        .media-viewer.show .media-viewer_close {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }
        body.lock-scroll {
            overflow: hidden;
            height: 100vh;
        }
        .blurred {
            filter: blur(10px);
            transition: filter 1s;
        }


        .section10 {
            display: flex;
            flex-direction: column;
    position: relative;
            align-items: center;
            height: 100vh;
        box-sizing: border-box;
        padding: clamp(0.5rem, 5vw, 2rem);
        }
        .section10 p {
            color: #d9d9d9;
            font-size: clamp(1.5rem, 10vw, 7rem);
            line-height: clamp(1.5rem, 10vw, 7rem);
        }
.section10 p::selection {
                background-color: #d9d9d9;
                color: #0d0d0d;
            }
#comment2 {
    position: absolute;
    bottom: clamp(0.5rem, 5vw, 2rem);
        z-index: 1;
        background-color: #0d0d0d;
        color: #d9d9d9;
        padding: 0 clamp(0.1rem, 2vw, 0.5rem);
        border: #d9d9d9 clamp(1px, 0.2vw, 2px) solid;
        border-radius: clamp(1rem, 5vw, 2.5rem);
        font-family: 'Owners-Medium', sans-serif;
        font-style: normal;
        font-size: clamp(0.7rem, 7vw, 2.5rem);
        transition: all 0.5s ease;
    cursor: url('cursor_1c.png') 8 8, auto;
        user-select: none;
}
#comment2:hover {

        background-color: #d9d9d9;
        color: #0d0d0d;
        transform: scale(1.1);
        border: #0d0d0d clamp(1px, 0.2vw, 2px) solid;
}
        

.media-viewer_sender {
    display: flex;
    justify-content: center;
    align-items: center;
  position: absolute;
  top: clamp(0.1rem, 2vw, 0.6rem);
  left: clamp(0.1rem, 2vw, 0.6rem);
            color: #0d0d0d;
            font-size: 1rem;
            font-style: normal;
            font-family: 'Owners-Regular', sans-serif;
            user-select: none;
}

.media-viewer_timestamp {
    display: flex;
    justify-content: center;
    align-items: center;
  white-space: nowrap;
  position: absolute;
  bottom: clamp(0.1rem, 2vw, 0.6rem);
  left: clamp(0.1rem, 2vw, 0.6rem);
            color: #0d0d0d;
            font-size: 1rem;
            font-style: normal;
            font-family: 'Owners-Regular', sans-serif;
            user-select: none;
}

#comments {
    min-height: 100vh;
    width: 100vw;
    display: none;
    flex-direction: column;
    background-color: #d9d9d9;
}
#close-comments {
    position: absolute;
            top: 0;
            right: 0;
            height: clamp(1rem, 5vw, 2rem);
            width: clamp(1rem, 5vw, 2rem);
            display: flex;
            justify-content: center;
            align-items: center;
            background: none;
            color: #0d0d0d;
            font-size: 1.2rem;
            font-style: normal;
            font-family: 'Owners-Medium', sans-serif;
            border: none;
    cursor: url('cursor_1b.png') 24 8, auto;
            z-index: 10000;
            transform: translateY(-100%);
            transition: transform 0.6s ease, opacity 0.6s ease, scale 0.3s ease;
            user-select: none;
            opacity: 0;
}
#close-comments:hover {
            scale: 1.5;
        }
        #comment1.show-bg {
            color: #0d0d0d;
        }
#close-comments.show {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
}
.comments-title {
    display: flex;
            color: #0d0d0d;
            font-size: clamp(1.5rem, 15vw, 3rem);
            font-style: normal;
            user-select: none;
            margin: clamp(0.1rem, 2vw, 0.8rem);
            line-height: clamp(1.5rem, 15vw, 2.5rem);
}
#comment-list {
        padding:0 clamp(1rem, 5vw, 2rem);
        box-sizing: border-box;
        margin-bottom: 5rem;
}

.comment-item {
    display: flex;
    flex-direction: column;
        padding: clamp(0.1rem, 2vw, 0.8rem) clamp(0.2rem, 2vw, 1.5rem);
        border: #0d0d0d 1px solid;
        border-radius: clamp(0.5rem, 5vw, 2rem);
        box-sizing: border-box;
        background: transparent;
        color: #0d0d0d;
        position: relative;
        white-space: pre-wrap;
        word-break: break-word;
        font-family: 'Owners-Medium', sans-serif;
width: 100%;
  margin-top: clamp(0.1rem, 2vw, 0.35rem);
}

.comment-item-container {
    display: flex;
    align-items: flex-end;
    height: clamp(0.5rem, 4vw, 2.4rem);
}
.comment-date {
        font-family: 'Owners-Regular', sans-serif;
  font-size: 0.8rem;
    color: #0d0d0d;
  margin-left: clamp(0.1rem, 2vw, 0.35rem);
        font-size: clamp(0.1rem, 2vw, 1rem);
        user-select: none;
}

.comment-item strong {
    color: #0d0d0d;
        font-size: clamp(0.3rem, 3vw, 2rem);
}
.comment-item strong::selection {
    color: #d9d9d9;
    background-color: #0d0d0d;
}
.comment-item p {
        font-family: 'Owners-Medium', sans-serif;
    color: #0d0d0d;
        font-size: clamp(0.5rem, 5vw, 2.5rem);
        line-height: clamp(0.6rem, 5vw, 2.5rem);
}
.comment-item p::selection {
    color: #d9d9d9;
    background-color: #0d0d0d;
}
.controls {
    display: flex;
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: clamp(0.1rem, 2vw, 0.8rem);
    box-sizing: border-box;
}
#comment-name {
    width: 20%;
    border: #d9d9d9 1px solid;
    background-color: #0d0d0d;
    padding: clamp(0.1rem, 2vw, 0.8rem) clamp(0.2rem, 2vw, 1.5rem);
        border-radius: clamp(0.5rem, 5vw, 2rem);
  margin-right: clamp(0.1rem, 2vw, 0.35rem);
} 
#comment-input {
  width: 70%;
    border: #d9d9d9 1px solid;
    background-color: #0d0d0d;
  margin-right: clamp(0.1rem, 2vw, 0.35rem);
    padding: clamp(0.1rem, 2vw, 0.8rem) clamp(0.2rem, 2vw, 1.5rem);
        border-radius: clamp(0.5rem, 5vw, 2rem);
}
#comment-submit {
    width: 10%;
    color: #d9d9d9;
    border: #d9d9d9 1px solid;
    background-color: #0d0d0d;
    font-family: 'Owners-Medium', sans-serif;
    font-size: clamp(0.1rem, 2vw, 1rem);
    padding: clamp(0.1rem, 2vw, 0.8rem) clamp(0.2rem, 2vw, 1.5rem);
        border-radius: clamp(0.5rem, 5vw, 2rem);
        transition: all 0.1s ease;
}
#comment-submit:hover {
    scale: 1.01;
    background-color: #d9d9d9;
    color: #0d0d0d;
    border: #0d0d0d 1px solid;
}

#comment-name::placeholder  {
    color: #808080;
        font-size: clamp(0.1rem, 2vw, 1rem);
} 
#comment-input::placeholder {
    color: #808080;
    font-family: 'Owners-Regular', sans-serif;
        font-size: clamp(0.1rem, 2vw, 1rem);
}

#comment-name:focus {
    outline: none;
} 
#comment-input:focus {
    outline: none;
    font-family: 'Owners-Regular', sans-serif;
}