@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;
    /* height: calc(100dvh - 20px);
    height: calc(100dvh - 2rem);*/
    /* width: calc(100dvw - 15dvw); */
    overflow: hidden;
    /* flex will ignore width */
    display: flex;
    justify-content: center;
    align-items: start;
}

.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;
}

.c1-bg1 {
    background-image: url(assets/images/chapter1/1.jpg);
}

.c1-bg2 {
    background-image: url(assets/images/chapter1/2.jpg);
}

.c1-bg3 {
    background-image: url(assets/images/chapter1/3.jpg);
}

.c1-bg4 {
    background-image: url(assets/images/chapter1/4.jpg);
}

.c1-bg5 {
    background-image: url(assets/images/chapter1/5.jpg);
}

.c2-bg1 {
    background-image: url(assets/images/chapter2/1.jpg);
}

.c2-bg2 {
    background-image: url(assets/images/chapter2/2.jpg);
}

.c2-bg3 {
    background-image: url(assets/images/chapter2/3.jpg);
}

.c2-bg4 {
    background-image: url(assets/images/chapter2/4.jpg);
}

.c3-bg1 {
    background-image: url(assets/images/chapter3/1.jpg);
}

.c3-bg2 {
    background-image: url(assets/images/chapter3/2.jpg);
}

.c3-bg3 {
    background-image: url(assets/images/chapter3/3.jpg);
}

.c4-bg1 {
    background-image: url(assets/images/chapter4/1.jpg);
}

.c4-bg3 {
    background-image: url(assets/images/chapter4/4.jpg);
}

.c4-s1 {
    background-image: url(assets/images/chapter4/scenario1.jpg);
}

.c4-s2 {
    background-image: url(assets/images/chapter4/scenario2.jpg);
}

.c4-s3 {
    background-image: url(assets/images/chapter4/scenario3.jpg);
}

.c4-s4 {
    background-image: url(assets/images/chapter4/scenario4.jpg);
}

.c4-s5 {
    background-image: url(assets/images/chapter4/scenario5.jpg);
}

.c6-bg1 {
    background-image: url(assets/images/endsurvey/BG1.jpg);
}

.c6-bg2 {
    background-image: url(assets/images/endsurvey/BG2.jpg);
}


#videoContainer {
    position: relative;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
}

iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    border: 0;
}

/***** EXPERIMENT START *****/

#intro-text {
    font-size: 4rem;
    font-weight: bold;
}

/* nav.chapter-nav {
    outline: 1px solid purple;
    /* height: 100dvh; * /
    background-color: beige;

    display: flex;
    flex-direction: column;
    /* width: calc(100dvw - 2rem); * /
    height: calc(100dvh - 2rem);
    padding: 1rem;
    gap: 1rem;
    flex-shrink: 0;
    width: calc(15dvw - 2rem);
    min-width: calc(6rem - 2rem);

    button {
        margin: 0 auto;
    }
} */

nav.chapter-nav {
    position: absolute;
    z-index: 2;
}

.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%;
}

.mute-btn {
    width: 13%;
    max-width: 1.75rem;
    height: 13%;
    min-height: 1.75rem;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    cursor: pointer;
}

div.mute-btn img {
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 600px) {
    .top-nav-aspect-ratio-container {
        width: 100dvw;
    }
}