@font-face {
    font-family: "recoleta-bold";
    src: url('assets/font/recoleta-bold.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    color: rgba(255, 255, 255, 0.87);
    font-family: 'recoleta-bold', sans-serif;
    font-size: 16px;
    background-color: #222222;

    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
}

#app {
    width: 100%;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-bg {
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    filter: blur(10px);
    overflow: hidden;
    z-index: -1;
    min-height: 100dvh;
    min-width: 100dvw;
}

#game-container {
    background: #282828;
}

.bg1 {
    background-image: url(assets/images/1.jpg);
}

.bg2 {
    background-image: url(assets/images/2.jpg);
}

.no-scroll-element {
    touch-action: none;
    overflow: hidden;
    font-size: 16px;
    pointer-events: none !important;
    -webkit-user-select: none;
}

.fade-out {
    animation: fadeOut 1s forwards;
}

#videoContainer {
    position: relative;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
    background: #282828;
}

iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    border: 0;
}

.top-nav-container {
    position: absolute;
    width: 100dvw;
    height: 3rem;
    background-color: rgba(0, 0, 0, 0.2);
    /* outline: 1px solid blue; */
}

.top-nav-aspect-ratio-container {
    /* outline: 1px solid orange; */
    width: calc(9 / 16 * 100dvh);
    height: 3.125rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.top-nav {
    /* outline: 1px solid red; */
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
}

div#chapter-title-text {
    /* height: 40px;
    width: 190px; */
    aspect-ratio: 182 / 43;
    /* 110px */
    max-width: 6.875rem;
    /* 95px */
    min-width: 5.938rem;
    width: 12dvw;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

div.nav-btn {
    width: 13%;
    max-width: 2rem;
    height: 13%;
    max-height: 2rem;
    cursor: pointer;
}

div.nav-btn img {
    width: 100%;
    height: 100%;
}

@keyframes fadeOut {
    from {
        background-color: rgba(0, 0, 0, 0);
    }

    to {
        background-color: rgba(0, 0, 0, 1)
    }
}

@media screen and (max-width: 600px) {
    .top-nav-aspect-ratio-container {
        width: 100dvw;
    }
}