@font-face {
    font-family: "snext";
    src: url("snext-light.woff") format("woff");
    font-weight: 100;
    font-style: normal;
    font-display: block;
}

/* @font-face {
    font-family: "snext";
    src: url("snext-regular.woff") format("woff");
    font-weight: 300;
    font-style: normal;
    font-display: block;
} */

@font-face {
    font-family: "snext";
    src: url("snext-bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: block;
}

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

.banner {
    font-family: 'snext', sans-serif;
    font-weight: 300;
    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";
}

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

.bottom {
    background: rgb(234,234,234);
    background: linear-gradient(180deg, rgba(234,234,234,1) 0%, rgba(215,215,215,1) 100%);
}

.tint {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 65%, rgba(0,0,0,.25) 100%);
}

.video {
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background-color: #000;
    background-image: url(blur.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    object-fit: cover;
    object-position: 50% 50%;
}

.copy {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 4em;
}

.copy-2 {
    font-size: 3.6em;
    color: #1a1a18;
    color: #000;
}

.hero {
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.05;
}

.copy-2 .btn {
    margin-top: 1.8em;
}

.byline {
    font-weight: 100;
    text-transform: uppercase;
    margin-top: .2em;
    font-size: 56%;
}

.lc {
    text-transform: lowercase;
}

.btn {
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: 2.4em;
    display: inline-block;
    padding: .9em 2.2em;
    border-radius: 5em;
    color: #fff;
    background-color: #3e9922;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn:hover, .btn:focus {
    background-color: #388a1f;
}

.logo {
    width: auto;
    height: 100%;
    height: calc(100% + 6em);
    position: absolute;
    top: 0;
    right: 0;
    background-image: url(logo-flag.png);
    background-size: cover;
    background-repeat: no-repeat;

    width: 20vw;
    object-fit: contain;
    object-position: top right;
    background-size: contain;
    background-position: top right;

    pointer-events: none;
}

.logo-iv {
    width: 6em;
    height: auto;
    position: absolute;
    bottom: 0;
    left: 0;
}

.disc {
    font-weight: 100;
    position: absolute;
    bottom: 0;
    right: 6em;
    line-height: 1.5;
    font-size: .75em;
}

.wrap {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    width: 100%;
    height: 100%;
    padding: 6em 6em 5em 6em;
    padding: 4em;
    padding: 5.5em 4.5em 3em 4.5em;
}

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

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

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

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

.grid {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    grid-template-rows: 1fr;
    grid-column-gap: 1em;
    grid-row-gap: 0em;
    position: relative;
    top: -2em;
    width: 40em;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: auto;
}

.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-7 { grid-area: 1 / 7 / 2 / 8; }
.color-8 { grid-area: 1 / 8 / 2 / 9; }
.color-9 { grid-area: 1 / 9 / 2 / 10; }

.color {
    width: 3.2em;
    height: 3.2em;
    border-radius: 4em;
    position: relative;
    margin: 0 auto;
    box-shadow: 1em 1em 1em #000;
    box-shadow: inset 0 0 1.5em rgba(0,0,0,.15);
}

.color,
.color::after {
    border: .28em solid #fff;
    transition: all .2s ease;
}

.color::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 27.6%, rgba(255, 255, 255, 0.3) 53.79%, rgba(255, 255, 255, 0) 58.48%);
}

.color::before,
.color::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    height: 100%;
    border-radius: 4em;
}

.color::after {
    width: calc(100% - .7em);
    height: calc(100% - .7em);
    border-color: transparent;
}

/* .color:hover.color::after,
.color.active.color::after {
    border-color: #fff;
} */

.color.active.color::after {
    border-color: #fff;
    transition: all .5s ease;
}

.color:hover,
.color.active {
    transform: scale(1.18);
}

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

.color-1 {
    background-color: #CEE933;
}

.color-2 {
    background-color: #E7952D;
}

.color-3 {
    background-color: #E0E0E2
}

.color-4 {
    background-color: #F7F8F8;
}

.color-5 {
    background-color: #6A6C76;
}

.color-6 {
    background-color: #3F403F;
}

.color-7 {
    background-color: #08389F;
}

.color-8 {
    background-color: #3F85CD;
}

.color-9 {
    background-color: #C72F30;
}

/* trans */

.copy {
    pointer-events: none;
}

.copy,
.btn,
.it {
    opacity: 0;
    transform: translateY(3em);
    transform: translateY(10%);
}

.btn {
    transform: translateY(30%);
}

.animate .copy,
.animate .btn,
.animate .it {
    transition: all .5s ease;
}

.show-1 .copy-1,
.show-2 .copy-2 {
    opacity: 1;
    transform: translateY(0%);
    pointer-events: auto;
}

.show-1 .copy-1 .btn,
.show-2 .copy-2 .btn,
.show-2 .it {
    opacity: 1;
    transform: translateY(0%);
}

.show-2 .it {
    transition-delay: .12s;
}

/* color trans */

.ct {
    opacity: 0;
    transform: translateY(25%);
}

.animate .ct {
    transition: all .4s ease;
}

.show-2 .ct,
.show-2 .ct {
    transform: translateY(0%);
    opacity: 1;
}

.show-2 .ct-2 {
    transition-delay: .05s;
}

.show-2 .ct-3 {
    transition-delay: .1s;
}

.show-2 .ct-4 {
    transition-delay: .15s;
}

.show-2 .ct-5 {
    transition-delay: .2s;
}

.show-2 .ct-6 {
    transition-delay: .25s;
}

.show-2 .ct-7 {
    transition-delay: .3s;
}

.show-2 .ct-8 {
    transition-delay: .35s;
}

.show-2 .ct-9 {
    transition-delay: .4s;
}

@media (orientation: portrait) {
    html, body {
        font-size: 2.3vw;
        font-size: 2vw;
    }
    .video {
        background-image: url(blur-p.jpg);
    }
    .wrap {
        padding: 8em 3em 3.6em 3em;
    }
    .logo {
        height: 100%;
        width: 16em;
    }
    .disc {
        font-size: .95em;
        width: 40%;
        text-align: right;
        right: 0;
    }
    .copy {
        width: calc(100% - 16rem);
    }
    .copy-1 .hero {
        font-size: 110%;
    }
    .copy-2 .hero {
        margin-top: 6rem;
        font-size: 90%;
    }
    .hero br {
        display: none;
    }
    .btn {
        font-size: 1.4rem;
    }
    .item-wrap {
        top: calc(50% + 8em);
    }
    .item {
        width: 56em;
    }
    .item-fg,
    .item-ab {
        /* transition: none; */
        clip-path: none;
        -webkit-clip-path: none;
    }
    .grid {
        grid-template-columns: repeat(5, 1fr);
        grid-template-rows: repeat(2, 1fr);
        width: 30em;
        top: -.5em;
    }
    .color {
        /* font-size: 1.3em; */
        width: 4.2em;
        height: 4.2em;
        margin: 1em auto;
    }
    .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: 2 / 1 / 3 / 2; }
    .color-7 { grid-area: 2 / 2 / 3 / 3; }
    .color-8 { grid-area: 2 / 3 / 3 / 4; }
    .color-9 { grid-area: 2 / 4 / 3 / 5; }

    .color-6,
    .color-7,
    .color-8,
    .color-9 {
        left: 3.2rem;
    }
}

@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;
    } */
}