@font-face { 
    font-family: "QuadratSerial-Light"; 
    src: url("/assets/fonts/QuadratSerial Light.woff2") format("woff2"); 
    font-style: normal; 
    font-weight: 100;
}

html, body {
    margin: 0;
    height: 100dvh;
    width: 100dvw;
    font-family: "QuadratSerial-Light"; 
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smooting: grayscale;
    text-rendering: optimizelegibility;
}

.overlay-layer {
    text-align: center;
    background: #3E4041;
    background: linear-gradient(180deg, #444647 0%, #919095 50%, #ddddd8 100%);
    animation: overlayFade 2s ease-in forwards 3s;
    animation-play-state: running;
    position: fixed;
    z-index: 1;
    height: 100%;
    width: 100%;
    display: flex;
    overflow: hidden;
    pointer-events: none;
}

.overlay-layer h1 {
    margin: auto;
    z-index: 2;
}

.base-layer {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    background: linear-gradient(180deg, #444647 0%, #919095 50%, #ddddd8 100%);
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.base-layer .content-wrapper {
    display: flex;
    justify-content: space-between;
    margin: auto 0;
    padding: 0 25px;
    width: 100%;
}

h1 {
    color: #FFF;
    font-size: 23px;
    line-height: 30px;
    font-weight: 500;
}

@keyframes skyShift {
    0% {
        background-position: 0% 0%;
        filter: brightness(0.55);
    }
    50% {
        background-position: 0% 30%;
        filter: brightness(0.85);
    }
    100% {
        background-position: 0% 100%;
        filter: brightness(1);
    }
}

@keyframes overlayFade {
    0% {
        opacity: 1;
    }
    70% {
        opacity: 0.35;
    }
    100% {
        opacity: 0;
    }
}

.audio-prompt {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.45);
    color: #f3efe9;
    border-radius: 24px;
    font-size: 14px;
    letter-spacing: 0.2px;
    backdrop-filter: blur(6px);
    z-index: 3;
    transition: opacity 3s ease, visibility 3s ease;
    text-align: center;
}

.audio-prompt.hidden {
    opacity: 0;
    visibility: hidden;
}

@media screen and (max-width: 767px) {
    .base-layer .content-wrapper {
        flex-direction: column;
        align-items: start;
        gap: 8px;
    }

    .base-layer .content-wrapper img {
        height: 35px;
    }

    h1 {
        font-size: 20px;
    }

    .overlay-layer h1 {
        max-width: 58%;
    }

    h1 span {
        height: 36px;
    }
}