body {
    margin: 0;
    padding: 0;
}

#adContainer {
    width: 100%;
    height: 100vh;
    max-width: 600px;
    position: absolute;
    overflow: hidden;
    display: block;
    background: url('loading.png') center center no-repeat black;
}

#contents {
    width: 100%;
    height: 100%;
    position: absolute;
    display: block;
    background-color: gray;
    overflow: hidden;
    visibility: hidden;
}

img {
    max-width: 100%;
    display: block;
    overflow: hidden;
}

#close {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 10px;
    right: 10px;
    display: block;
    z-index: 1000;
    background-image: url('close.png');
    transform: scale(0);
}

#forward {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 10px;
    right: 10px;
    display: block;
    z-index: 1000;
}

#exit {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
}

/* LANDSCAPE CONTROL */
#rotate {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background: url('rotation.png') center center no-repeat black;
    display: none;
}


@media only screen and (orientation: landscape) {
    #adContainer {
        max-width: 100%;
    }

    #rotate {
        display: block;
    }
}

/* START STYLING HERE */
/* @import url('video.css');
@import url('carousel.css'); */

#intro {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: absolute;
    background: black;
}

#videoContainer {
    height: 100vh;
    aspect-ratio: 9/16;
    background: black;
}

/*
Video controls
*/


.playerContainer {
    position: relative;
    width: auto;
    height: 100%;
    aspect-ratio: 9/16;
}

#duration,
#durationPop {
    position: absolute;
    top: 5px;
    left: 5px;
    color: beige;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 0.7em;
    text-align: center;
}

.player {
    position: absolute;
    top: 0;
    width: auto;
    height: 100%;
    aspect-ratio: 9/16;
}

.playerPop {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: 1/1;
    background: black;
}

.control {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 30px;
    visibility: hidden;
}

.sound {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 30px;
    height: 30px;
    visibility: hidden;
}

video {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
}

#mainContent {
    width: 100vw;
    height: 100vh;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #000;
    opacity: 0;
    visibility: hidden;
}

#heroBlock {
    width: 100vw;
    height: 100vh;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    /* background: linear-gradient(0deg, rgba(214, 213, 211, 1) 0%, rgba(214, 213, 211, 1) 50%, rgba(191, 204, 215, 1) 51%, rgba(139, 164, 181, 1) 100%); */
    background: rgb(176, 165, 145);
    background: linear-gradient(180deg, rgba(176, 165, 145, 1) 49%, rgba(212, 211, 209, 1) 50%, rgba(212, 211, 209, 1) 53%);
}

#hero {
    width: 100%;
    aspect-ratio: 64/73;
    background: url('hero.jpg') center center / cover;
    position: relative;
}

#logo {
    width: 40%;
    position: absolute;
    top: 2vh;
    transform: scale(0);
}

#logoLight {
    position: absolute;
    width: 100%;
    top: 0;
    opacity: 0;
}

.spot {
    width: 7%;
    aspect-ratio: 1/1;
    background: url('spot.png') center center / cover;
    position: absolute;
    transform: scale(0);
}

#spot1 {
    top: 51%;
    left: 15%;
}

#spot2 {
    top: 49%;
    left: 41%;
}

#spot3 {
    top: 40%;
    left: 47%;
}

#spot4 {
    top: 33%;
    left: 55%;
}

#spot5 {
    top: 40%;
    left: 75%;
}

#spot6 {
    top: 63%;
    left: 71%;
}

#headline {
    width: 100%;
    position: absolute;
    top: 3%;
    transform: scale(0);
}

#btnHolder {
    position: absolute;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    bottom: 8vh;
}

#btnHolderPop {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 5vh;
}

#popCont {
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    z-index: 1000;
}

#arrow {
    width: 7vw;
    aspect-ratio: 1/1;
    position: absolute;
    top: 3vw;
    left: 3vw;
}

#headlinePop {
    width: 90%;
}

#ins {
    width: 100%;
    transform: scale(0);
}

#book,
#find {
    width: 50%;
    margin-top: 2vh;
    transform: scale(0);
}

#bookPop,
#findPop {
    width: 50%;
    margin-top: 2vh;
    /* transform: scale(0); */
}

#explore {
    width: 50%;
    position: absolute;
    bottom: 5vh;
    transform: scale(0);
}

.pop {
    animation: popAnim 1s infinite ease-in-out;
}

@keyframes popAnim {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

#popElem {
    width: 80%;
    background: #000;
    aspect-ratio: 1/1;
    margin-top: 2vh;
    position: relative;
}

#videoHolderPop {
    width: 100%;
    background: #000;
    aspect-ratio: 1/1;
    position: absolute;
    visibility: hidden;
    top: 0;
}

#imgPop {
    width: 100%;
    background: #000;
    aspect-ratio: 1/1;
    position: relative;
    visibility: hidden;
}

.featImg {
    width: 100%;
    background: #000;
    aspect-ratio: 1/1;
    position: absolute;
    top: 0;
    visibility: hidden;
}