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: flex;
    flex-direction: column;
    align-items: center;
    background: url('bg.jpg') bottom center / cover;
    overflow: hidden;
    visibility: hidden;
}

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

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

#btns {
    width: 80%;
    display: block;
    position: absolute;
    bottom: 10vh;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

#exit2 {
    width: 40%;
    display: block;
    margin-top: 20px;
}

.btn {
    width: 100%;
    display: block;
    transform: scale(0);
    margin-bottom: 10px;
}


/* 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'); */

#slideBox {
    position: absolute;
    width: 100%;
    height: 12vh;
    background: black url('drag.png') center center no-repeat;
    background-size: 40% auto;
    bottom: 4vh;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(200%);
}

#man {
    height: 10vh;
    width: 30px;
    aspect-ratio: 1/1;
    position: absolute;
    left: 10%;
    transform: translateY(200%)
}

#door {
    width: 70px;
    aspect-ratio: 1/1;
    position: absolute;
    right: 10%;
    transform: translateY(200%)
}

#finalFrame {
    width: 100%;
    height: 100%;
    background: #ff5a19;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#hero {
    width: 100%;
    height: 100%;
    position: absolute;
    background: url('hero.jpg') bottom center / cover;
    opacity: 0;
}

#elem {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    top: 15vh;
    width: 100%;
    align-items: center;
}

#logo {
    width: 60%;
    transform: translateY(-200%);
    position: absolute;
    top: 3vh;
}

#headline {
    width: 60%;
    margin-top: 20px;
    transform: scale(0);
}

#hashtag {
    width: 60%;
    margin-top: 20px;
    transform: scale(0);
}

#logos {
    width: 40%;
    position: absolute;
    bottom: 3vh;
    transform: translateY(200%);
}

#introText {
    width: 80%;
    margin-top: 25vh;
    transform: scale(0);
}

#swipeBox {
    width: 100%;
    height: 100vh;
    position: absolute;
}

#fingerBox {
    width: 80%;
    height: 10vh;
    position: absolute;
    bottom: 20vh;
}

#finger {
    width: 20%;
    aspect-ratio: 1/1;
    transform: scale(0);
}

#ins {
    position: absolute;
    bottom: 15vh;
    width: 80%;
}
#videoFrame {
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    visibility: hidden;
}

#videoBox {
    background: #000000;
    display: block;
    width: 90%;
    aspect-ratio: 1/1;
}

.playerContainer {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
}

#duration {
    position: absolute;
    top: 5px;
    right: 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: 100%;
    aspect-ratio: 1/1;
}

.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;
}

