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

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

#contents {
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    background: url('bg.jpg') center center no-repeat;
    background-size: cover;
    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: 40%;
    display: block;
    position: absolute;
    bottom: 8%;
    left: 30%;
    transform: translateY(30vh);
}

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

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

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




/* START STYLING HERE */

#videoBox {
    background: #002f69;
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    position: relative;
    margin-top: 10vh;
}

#logo {
    position: absolute;
    top: 3%;
    width: 30%;
}

#headline {
    position: absolute;
    width: 100%;
    top: 15%;
}

@media only screen and (orientation: landscape) {
    #adContainer {max-width: 100%;}
    #rotate {display: block;}
    /* #logo, #headline {display: none;}
    #videoBox { width: 100%; margin-left: 0; margin-top: 0%; height: auto; position: absolute; height: 100%;}
    #exit {left: 50%; z-index: 100; bottom: 3%; transform: translateX(-50%); visibility: hidden;}
    #duration {right: auto !important; left: 10px;} */
  }

.overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    background: url('tap.svg') bottom center no-repeat;
    background-size: 70%;
    background-position: center 80%;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;    
    visibility: hidden;
    flex-wrap: wrap;
    gap: 0;

}

.btn {
    width: 30%;
    margin: 5%;
}

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

#title {
    width: 100%;
    transform: scale(0);
    aspect-ratio: 640/100;
}
#finalImg {
    margin-top: 5vh;
    transform: scale(0);
}

#tap {
    position: absolute;
    bottom: 1vh;
}

#exitAll {
    width: 40%;
    display: block;
    position: absolute;
    bottom: 6vh;
    transform: translateY(20vh);
}

#title1, #title2 {
    position: absolute;
    opacity: 0;
}

#final {
    background:   rgba(0, 0, 0, 0.7) !important;
    opacity: 0;
}