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 #fff;
}

#contents {
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    background-color: gray;
    overflow: hidden;
    visibility: hidden;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

img {max-width: 100%;}

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

#exit {
    width: 50%;
    display: block;
    position: absolute;
    bottom: 10vh;
    transform: translateY(50vh);
}

/* 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: 50%;
    position: absolute;
    top: 4vh;
    transform: translateY(-40vh);
}

#game {
    position: absolute;
    width: 100vw;
    height:100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: url('frost_bg.jpg') center center / cover;
}

.candy {
    width: 18vw;
    aspect-ratio: 1/1;
    position: absolute;
    top: -20vh;
}

.gum, .mint {
    position: absolute;
    aspect-ratio: 1/1;
    top: 0;
    left: 0;
}

.gum {
    opacity: 0;
}

#intro {
    position: absolute;
    width: 100vw;
    height:100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: url('intro.png') center center / cover;
}

#introText {
    width: 100%;
    position: absolute;
    top: 15vh;
    transform: scale(0);
}

#startBtn {
    position: absolute;
    width: 50vw;
    bottom: 15vh;
    transform: scale(0);
}

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

#blast {
    width: 180vw;
    aspect-ratio: 100/74.4;
    transform: scale(0);
}

#hero {
    width: 80vw;
    position: absolute;
    transform: scale(0);
    transform-origin: bottom center;
}

#promoText {
    width: 80%;
    position: absolute;
    top: 18vh;
    transform: scale(0);
}

#scoreBox {
    width: 40vw;
    aspect-ratio: 2/1;
    background: #2c2d87;
    position: absolute;
    bottom: 0;
    border-radius: 20vw 20vw 0 0;
    text-align: center;
}

#score {
    height: 20vw;
    line-height: 20vw;
    font-size: 3em;
    color: #00aeef;
    padding: 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bolder;
}

/*
Video controls
*/


.playerContainer {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    /* padding-top: 56.25%; */
}

#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;
    aspect-ratio: 16/9;
    width: 100%;
}

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

/* VIDEO CONTAINERS */
#videoContainer, #videoContainer1 {
    position: relative;
    width: 100%;
}

#miniPlayer {
    position: absolute;
    width: 50%;
    bottom: 0;
    left: 50%;    
}

#videoBox {
    background: #002f69;
    display: block;
    width: 90%;
    aspect-ratio: 16/9;
    opacity: 0;
}


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