@font-face {
    font-family: "Cupra";
    src: url("Cupra-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

html, body {
    margin: 0;
    padding: 0;
    font-size: 1vw;
    font-size: 1.9vh;
}

.banner {
    font-family: 'Cupra', sans-serif;
    font-weight: 400;
    width: 100vw;
    height: 100vh;
    position: relative;
    color: #fff;
    overflow: hidden;
    cursor: pointer;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    font-feature-settings: "kern";

    background-image: url(bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 49%;
}

.banner, .banner *, .banner:after, .banner:before {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

.banner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    padding: 4em 4em 3em 4em;
    padding: 4em;
}

.wrap {
    position: relative;
    grid-area: 1 / 1 / 2 / 2;
}

.video-wrap {
    position: absolute;
    width: 76em;
    height: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);

    pointer-events: none;
    opacity: 0;

    transition: opacity .4s ease;
}

.video-wrap::after {
    content: "";
    position: absolute;
    top: -2em;
    right: 1em;
    width: 1.1em;
    height: 1.1em;
    background-image: url(plus.svg);
    background-repeat: no-repeat;
    background-size: cover;
    transform: rotate(45deg);
    pointer-events: none;

    display: none;
}

.show.video-wrap::after {
    display: block;
}

@media (orientation: landscape) {
    .video-wrap::after {
        right: 0;
    }
}

.video-wrap.show {
    opacity: 1;
    pointer-events: auto;
}

.video-close {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-color: rgba(0,0,0,.9);
}

.video {
    position: relative;
    width: 100%;
    height: auto;
    background-image: url(blur.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.video::-webkit-media-controls-start-playback-button, .video::-webkit-media-controls {
    display: none !important;
    -webkit-appearance: none;
}

.madbtn {
    position: absolute;
    box-sizing: border-box;
    border-radius: 50%;
    cursor: pointer;
    /* width: 2em;
    height: 2em;
    max-width: 60px;
    max-height: 60px; */
    width: 1.1em;
    height: 1.1em;
    top: -2em;
    left: 1em;
    /* background-color: rgba(0,0,0,.4); */
    transition: opacity .1s ease;
    z-index: 9999;
}

.madbtn-sound:after,
.madbtn-replay:after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
}

.madbtn-icon {
    width: 40%;
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    fill: #fff;
}

.madbtn-play {
    display: none;
    width: 5em;
    height: 5em;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.madbtn-replay {
    display: none;
}

.madbtn-sound .madbtn-sound-icon {
    fill: #777;
}

.madbtn-sound-on .madbtn-sound-icon {
    fill: #fff;
}

.logo {
    width: 10.4em;
    height: auto;
    position: absolute;
    right: 0;
    bottom: 0;
}

.button {
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: #fff;
    color: #000;
    padding: 1em 3em;
    transition: all .1s ease;
}

.button:hover, .button:focus {
    background-color: #eee;
}

.copy-wrap {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.copy {
    font-size: 3.4em;
    margin-bottom: 3rem;
}

.hero {
    text-transform: uppercase;
    margin-bottom: .2em;
    line-height: 1.1;
}

.byline {
    font-size: 50%;
}

.grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: 1fr;
    grid-row-gap: 0em;
    /* grid-column-gap: .5em;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%); */

    position: relative;
    width: 22em;
    left: 50%;
    transform: translateX(-50%);
}

.color-1 { grid-area: 1 / 1 / 2 / 2; }
.color-2 { grid-area: 1 / 2 / 2 / 3; }
.color-3 { grid-area: 1 / 3 / 2 / 4; }
.color-4 { grid-area: 1 / 4 / 2 / 5; }
.color-5 { grid-area: 1 / 5 / 2 / 6; }
.color-6 { grid-area: 1 / 6 / 2 / 7; }

.color-1 { background-image: url(color-1-aurora-blue.webp); background-color: #12597f; }
.color-2 { background-image: url(color-2-rayleigh-red.webp); background-color: #a91618; }
.color-3 { background-image: url(color-3-geyser-silver.webp); background-color: #a4a6aa; }
.color-4 { background-image: url(color-4-quasar-grey.webp); background-color: #46484b; }
.color-5 { background-image: url(color-5-glacial-white.webp); background-color: #d5d6da; }
.color-6 { background-image: url(color-6-soft-mist-grey.webp); background-color: #7c7d81; }

/* .color-1 { background-color: #12597f; }
.color-2 { background-color: #a91618; }
.color-3 { background-color: #a4a6aa; }
.color-4 { background-color: #46484b; }
.color-5 { background-color: #d5d6da; }
.color-6 { background-color: #7c7d81; } */

.color {
    width: 3.2em;
    height: 3.2em;
    position: relative;
    margin: 0 auto;

    background-repeat: no-repeat;
    background-size: cover;
    transition: all .25s ease;

    border: 1px solid transparent;
}

.color:hover {
    /* transform: translateY(-.2em); */

    border: 1px solid #fff;
}

.color.active {
    /* transform: scale(1.18); */
    border: 1px solid #fff;
    opacity: 1;
}

.color:active {
    /* transform: scale(1.18) translateY(.2em); */
}

.item-wrap {
    position: absolute;
    top: 50%;
    top: calc(50% + 1.5em);
    top: calc(50% - 5em);
    left: 50%;
    transform: translate(-50%,-50%);
}

.item-wrap::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8em;
    width: 100%;
    height: 15em;
    background-image: url(car-shadow.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 50% 50%;
    animation: shadow 6s ease-in-out infinite;
}

.item {
    width: 56em;
    height: auto;
}

.it {
    animation: float 6s ease-in-out infinite;
}

.item-fg,
.item-ab {
    position: absolute;
    top: 0;
    left: 0;
    clip-path: url(#car-path);
    -webkit-clip-path: url(#car-path);
}

.item-ab {
    opacity: 0;
    transition: opacity .5s ease;
}

.item.active {
    opacity: 1;
}

.plus {
    position: absolute;
    top: 0;
    left: 0;
    width: 4.4em;
    height: 4.4em;
    background-image: url(plus.svg);
    background-repeat: no-repeat;
    background-size: 1.3em auto;
    background-position: 50% 50%;
    background-color: rgba(0,0,0,.4);
    border-radius: 5em;
    border: 1px solid #fff;
    transition: all .25s ease;
    overflow: hidden;
}

.plus-1 {
    left: 27em;
    top: .5em;
}

.plus-2 {
    left: 1em;
    top: 20em;

    left: 2em;
    top: 12.5em;

    /* top: 15em;
    left: 9em; */
}

.plus-3 {
    left: 34em;
    top: 18em;

    left: 37em;
    top: 7em;

    top: 4.5em;
    left: 47em;
}

.plus:hover, .plus:focus {
    background-color: rgba(23,104,155,.7);
}

@keyframes float {
	0% {
		transform: translatey(0em);
	}
	50% {
		transform: translatey(-2.4em);
	}
	100% {
		transform: translatey(0em);
	}
}

@keyframes shadow {
	0% {
		transform: scale(1);
        opacity: .8;
	}
	50% {
		transform: scale(0.8);
        opacity: .7;
	}
	100% {
		transform: scale(1);
        opacity: .8;
	}
}

@media (orientation: portrait) {
    html, body {
        font-size: 2.3vw;
        font-size: 2vw;
    }
    .banner {
        padding: 4em 3.5em 4.5em 3.5em;
    }
    .logo {
        top: 0;
    }
    .logo-to {
        left: 0;
    }
    .button {
        font-size: 1.3em;
        bottom: 3em;
        left: 50%;
        transform: translateX(-50%);
    }
    .video-wrap {
        width: 100%;
    }
    .video-close {
        height: 600%;
        top: -300%;
    }
    .madbtn,
    .video-wrap::after {
        font-size: 1.5em;
    }
    .item-wrap {
        top: calc(50% - 9em);
    }
    .it {
        font-size: .9em;
    }
    /* .item {
        width: 48em;
        height: auto;
    } */
    .port .item-fg,
    .port .item-ab {
        clip-path: none;
        -webkit-clip-path: none;
    }
    .copy-wrap {
        font-size: 1.2em;
        bottom: 13em;
    }
}

@media (orientation: portrait) and (min-aspect-ratio: 5/8) {
    html, body {
        font-size: 1.3vw;
        font-size: 1.6vw;
    }
}

@media (orientation: portrait) and (min-aspect-ratio: 5/6) {
    html, body {
        font-size: 1.3vw;
    }
    /* .bottom {
        background-color: red;
    } */
}

@media (min-aspect-ratio: 1/1) and (max-aspect-ratio: 10/6) {
    html, body {
        font-size: 1.7vh;
    }
    /* .bottom {
        background-color: green;
    } */
}

@media (min-aspect-ratio: 1/1) and (max-aspect-ratio: 10/7) {
    html, body {
        font-size: 1.2vw;
    }
    /* .bottom {
        background-color: pink;
    } */
}

.exit {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
}

.wrap {
    pointer-events: none;
}

.plus,
.grid {
    pointer-events: all;
}