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

#contents {
    width: 100%;
    height: 100%;
    position: absolute;
    display: block;
    background-color: gray;
    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%;
    left: 25%;
    display: block;
    position: absolute;
    bottom: 5%;
    transform: translateY(400%);
}    

/* 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 {
    position: absolute;
    top: 0;
    width: 20%;
    left: 40%;
}

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

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

#can {
    width: 20%;
    position: absolute;
    bottom: 0;
    left: 40%;
}

#btn {
    position: absolute;
    width: 30%;
    bottom: 1%;
    left: 35%;
    animation: pop 1s ease-in-out infinite;
}

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

#promoPage {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('blur.jpg') center center / cover;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    visibility: hidden;
    opacity: 0;
}

#lastText {
    position: absolute;
    top: 15%;
    opacity: 0;
}

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

#packshot {
    position: absolute;
    width: 30%;
    bottom: 20%;
    transform-origin: bottom center;
    transform: scale(1, 0);
}

@keyframes pop {
    0%{transform: scale(1);}
    50%{transform: scale(1.3)}
    100%{transform: scale(1)}
}