html, body { height: 100%; }
body{
    margin:0;
    overflow: hidden;
}
#buttonC2A{
    position: absolute;
    bottom: 0;
    right: 10%;
    margin-bottom: 10%;
    margin-top: 3vh;
    width: auto;
    z-index: 50;
}
#advert{
    position: fixed;
    width:100%;
    height:100%;
    min-height: -webkit-fill-available;
    overflow: hidden;
    cursor: pointer;
}
#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: flex-end;
    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/video_1.jpg');
}
#cards > div > video{
    position: absolute;
    height:100%;
    opacity:0;
    transition: opacity .5s ease-out;
}
#interface{
    position: absolute;
    width:100%;
    height:100%;
}
#logotype{
    position: absolute;
    width:40%;
    height:10%;
    left:50%;
    top: 9%;
    transform:translateX(-50%);
    background-image: url(assets/logotype.svg);
    background-size: contain;
    background-position: center top;
    background-repeat: no-repeat;
}
#leftButton, #rightButton{
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
    width:30%;
    height:50%;
    top:40%;
    opacity:0;
    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;
}

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

#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::before{
    content:'Znajdź Partnera BMW'
}
#buttonC2A::before{
    content: '';
}
.btnLink{
    margin-top:20px;
    margin-bottom: 20px;
    position: relative;
    width:70%;
    height:20px;
    font-family: 'BMWTypeNextTT-Bold';
    color:
    white;
    background-color: #1c69d4;
    padding: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

@font-face {
    font-family: 'BMWTypeNextTT-Bold';
    src: url('assets/BMWTypeNextTT-Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'BMWTypeNextTT-Light';
    src: url('assets/BMWTypeNextTT-Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'BMWTypeNextTT-Regular';
    src: url('assets/BMWTypeNextTT-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'BMWTypeNextTT-Thin';
    src: url('assets/BMWTypeNextTT-Thin.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@media screen and (orientation:landscape) {
    #advert{
        display:none;
    }
}