body {
    margin: 0;
    padding: 0;
    font-size: 1em;
}

* {
    box-sizing: border-box;
}

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

#contents {
    width: 100%;
    height: 100%;
    position: absolute;
    display: block;
    background: url('bg-main.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('050-cancel.svg');
    background-size: cover;
}

#exit {
    width: 50%;
    display: block;
}

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

#logo {
    width: 40%;
    position: absolute;
    left: 30%;
    top: 2%;
}

.flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#intro {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: url('bg-start.png') center center / cover;
}

#introText {
    width: 90%;
    transform: scale(0);
}

#btnStart {
    width: 50%;
    transform: scale(0);
}

#quiz1, #quiz2, #quiz3, #quiz4 {
    visibility: hidden;
}

.quiz {
    width: 100%;
    height: 100%;
    background: url('bg-quiz.png') center center / cover;
    position: absolute;
    top: 0;
    left: 0;
}

#timer {
    width: 30%;
    aspect-ratio: 1/1;
    position: absolute;
    bottom: 2%;
    background: #fef8f3;
    border: #f85a33 3px solid;
    border-radius: 50%;
    left: 35%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(120%);
}

#time {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2.5em;
    font-weight: bolder;
    color: #f85a33;
    text-align: center;
}

.qImg {
    width: 80%;
    margin-top: -10vh;
    transform: scale(0);
}

.btnHolder {
    width: 70%;
}

.btnHolder div {
    transform: scale(0);
}


#promoTitle {
    width: 80%;
    margin-top: -5vh;
}

#promoHero {
    width: 100%;
}

#promoSub {
    width: 80%;
}

#promoPage {
    visibility: hidden;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#promoTitle, #promoHero, #promoSub, #exit {
    transform: scale(0);
}