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: block;
    background: url('bg-main.jpg') center bottom / cover;
    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');
}

#exit {
    width: 50%;
    display: block;
    position: absolute;
    bottom: 5%;
    left: 25%;

    transform: scale(0);
}

/* 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: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    
}

#glassContainer {
    width: 50%;
    position: absolute;
    left: 25%;
    overflow: hidden;
    bottom: 10%;
    aspect-ratio: 0.72;
}

#glass {
    position: absolute;
    top: 0;
    left: 0;
}

#milkCont {
    position: absolute;
    width: 90%;
    height: 70%;
    top: 10%;
    left: 5% ;
    overflow: hidden;
}

#fillMilk {
    width: 1000%;
    aspect-ratio: 6.5;
    position: absolute;
    right: 0;
    top: 73%;
}

#milkFinish {
    width: 400%;
    aspect-ratio: 2.31;
    position: absolute;
    left: -200%;
    top: 73%;
    transform: translateY(20%);
}

#tap {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#milKFlow {
    width: 10%;
    height: 75%;
    position: absolute;
    left: 45%;
    bottom: 17%;
    border-radius: 10px;
    overflow: hidden;
}

#milkSpill {
    position: absolute;
    width: 100%;
    bottom: 0;
    transform: translateY(-105%);
}

#milkPack {
    position: absolute;
    width: 80%;
    left: 10%;
    transform: translateY(-100%) rotate(-45deg);
    transform-origin: top left;
}

#tapText {
    position: absolute;
    top: 20%;
    left: 0;
    width: 100%;
    transform: scale(0);
}

#warn {
    position: absolute;
    width: 80%;
    left: 10%;
    top: 30%;
    transform: scale(0);
}

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

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

#btns {
    position: absolute;
    width: 80%;
    display: flex;
    left: 10%;
    top: 25%;
    justify-content: space-between;

}

.btn {
    width: 40%;
    transform: scale(0);
}


#packshotBox {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: translateX(-100%);
    overflow: hidden;
    
}

#packshot, .packshot {
    width: 35%;
}

.packshot {
    margin-left: auto;
    margin-right: 5%;
    margin-top: auto;
    margin-bottom: 10%;
}

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

#swipe {
    position: absolute;
    bottom: 0;
    width: 100%;
    opacity: 0;
}

#packshotContents {
    width: auto;
    height: 100%;
    position: absolute;
    left: 0;
    display: block;
    overflow: hidden;
    top: 0;
}

.content {
    width: 100%;
    height: 100%;
    overflow: hidden;
    float: left;
    top: 0;
    display: block;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}


#logo {
    position: fixed;
    width: 30%;
    left: 35%;
    top: 5%;
    transform: translateY(-200%);
}

#tryagain {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}