html, body { height: 100%; }
body{
    margin:0;
    overflow: hidden;
}
.preloader{
    position: absolute;
    width:20%;
    height:20%;
    background-image: url(assets/preloader.svg);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    margin-top: 20%;
    animation: rotating 2s linear infinite;
}
@keyframes rotating {
    from {
      transform: rotate(0deg);
    }
    to {
      transform: rotate(360deg);
    }
  }
  
#buttonC2A{
    opacity:0;
    position: absolute;
    bottom: 19%;
    left: 50%;
    margin-bottom: 10%;
    margin-top: 3vh;
    width: 50%;
    height:5%;
    z-index: 50;
    transform: translateX(-50%);
    background-image: url(assets/button.svg);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    transition: opacity .3s ease-out;
    animation: scaling 1s ease-in-out infinite;
}
#advert{
    position: fixed;
    width:100%;
    height:100%;
    min-height: -webkit-fill-available;
    overflow: hidden;
    cursor: pointer;
    background-color: #cccaca;
}
#cards{
    position: absolute;
    height: 100%;
    display:flex;
    flex-direction: row;
    left:0px;
    transition: left .5s cubic-bezier(0.42, 0, 0.16, 1);
}
.card{
    position: relative;
    width:100vw;
    height:100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* background-color: black; */
    flex-direction: column;
}
#cards > div{
    background-size: auto 100%;
    background-position: center;
}
#cards > div:nth-child(1){
    background-image: url('assets/background.jpg');
}
#background-product{
    position: absolute;
    width:100%;
    height:100%;
    /* background-image: url('assets/photo-product.jpg'); */
    background-size: auto 100%;
    background-position: center;
}
#cards > div:nth-child(2){
    background-image: url('assets/photo-final.jpg');
}

#claim{
    opacity:0;
    position: absolute;
    width: 80%;
    left: 50%;
    top: 27%;
    height: 11%;
    margin-bottom: 10%;
    margin-top: 1vh;
    transform: translate(-50%, -50%);
    background-image: url(assets/mainText.svg);
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    transition: opacity .3s ease-out;
    z-index: 100;
}
#cards > div > video{
    position: absolute;
    height:100%;
    opacity:0;
    transition: opacity .5s ease-out;
}
#interface{
    position: absolute;
    width:100%;
    height:100%;
    pointer-events: none;
}
#logotype{
    position: absolute;
    width: 60%;
    height: 17%;
    left:50%;
    top: 50%;
    transform:translateX(-50%);
    background-image: url(assets/logotype.svg);
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 100;
    transition: transform 1s ease-in-out, top 1s ease-in-out, width 1s ease-in-out, height 1s ease-in-out;
}
#leftButton, #rightButton{
    margin-top: 20%;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
    pointer-events: auto;width:30%;
    height:50%;
    top:40%;
    opacity:0;
    pointer-events: auto;
    display: none;
    transform: translateY(-40%);
    transition: opacity .5s ease-out;
}
#leftButton{
    background-image: url(assets/arrowLeft.svg);
}
#rightButton{
    right:0;
    background-image: url(assets/arrowRight.svg);
    animation-iteration-count: 3;
    animation: rightLeft 1s ease-in-out infinite;
}
@keyframes rightLeft {
    0% {
        background-position: 30px;
    }

    50% {
        background-position: 50px;
    }

    100% {
        background-position: 30px;
    }
}
#closeButton{
    margin:3vh;
    position: absolute;
    width:5vh;
    height:5vh;
    right:0;
    background-image: url(assets/closeButton.svg);
    background-position: right top;
    background-repeat: no-repeat;
    pointer-events: auto;
}

.mainMessage{
    position: relative;
    /* top: 60vh; */
    /* left:10vw; */
    font-size: 4vh;
    /* font-family: BMWTypeNextTT-Light; */
    text-transform: uppercase;
    color:
    white;
    width:80vw;
    z-index: 20;
}
.mainButton{
    position: relative;
    /* top:75vh; */
    width:80vw;
    height:4vh;
    margin-bottom: 10%;
    margin-top: 6vh;
    background-image: url(assets/mainButton.svg);
    background-position: left top;
    background-repeat: no-repeat;
    z-index: 20;
}

@keyframes slideIn {
    0% {
        opacity:0;
        transform: translateY(80px);
    }

    100% {
        opacity:1;
        transform: translateY(0px);
    }
}

@keyframes scaleCenter {
    0% {
        transform: translate(0px,0px) rotate(0deg);
    }

    100% {
        transform: scale(1.5);
    }
}
.shoe{
    position: absolute;
    width:100%;
    height:90%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 70%;
    bottom: 0;
}
#shoe-gray{
    background-image: url(assets/shoe-gray.png);
}
#shoe-blue{
    background-image: url(assets/shoe-blue.png);
}
#shoe-red{
    background-image: url(assets/shoe-red.png);
}
#mainText{
    opacity:0;
    position: relative;
    width: 80%;
    height: 11%;
    margin-bottom: 10%;
    margin-top: 1vh;
    transform: translateY(350px);
    background-image: url(assets/mainText.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: opacity .2s ease-out, background-color .2s ease-out, transform 1.5s cubic-bezier(0, 0, 0, 1.01);
}
#handIcon{
    position: relative;
    width: 80%;
    height: 11%;
    background-image: url(assets/hand.svg);
    background-position: center center;
    background-repeat: no-repeat;
    animation: scaling 1s ease-in-out infinite;
    transition: opacity .3s ease-out;
}
@keyframes scaling {
    0% {
      transform: translateX(-50%) scale(1);
    }
    50% {
      transform: translateX(-50%) scale(0.9);
    }
    100% {
      transform: translateX(-50%) scale(1);
    }
  }

#description{
    pointer-events: none;
    opacity:0;
    position: absolute;
    width:100%;
    display: flex;
    height: 100%;
    bottom: 0;max-height:100%;
    background-color: rgba(0, 0, 0, 0.82);
    z-index: 20;
    color:
    white;
    /* font-family:'BMWTypeNextTT-Regular'; */
    overflow-y: scroll;
    transition: opacity .5s ease-out;
}
#description .text{
    display:flex;
    flex-direction: column;
    position: relative;
    margin:8vw;
    margin-bottom: 100px;
}
.btnLink{
    margin-top:20px;
    margin-bottom: 20px;
    position: relative;
    /* font-family: 'BMWTypeNextTT-Bold'; */
    padding: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

@media screen and (orientation:landscape) {
    #advert{
        display:none;
    }
}