﻿@font-face {
    font-family: 'Proxima-Nova-Extra-Condensed';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url(../fonts/Proxima-Nova-Extra-Condensed-800.woff2) format('woff2');
}

@font-face {
    font-family: 'Proxima-Nova-Extra-Condensed';
    font-style: italic;
    font-weight: 800;
    font-display: swap;
    src: url(../fonts/Proxima-Nova-Extra-Condensed-800-italic.woff2) format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(../fonts/Poppins-400.woff2) format('woff2');
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(../fonts/Poppins-500.woff2) format('woff2');
}


:root {
    --yellow: #fcbe00;
    --anthracite: #2f2f29;
    --anthracite-10: rgba(47, 47, 41, .1);
    --anthracite-60: rgba(47, 47, 41, .6);
    --white: #fff;
    --white-10: rgba(255, 255, 255, .1);
    --white-50: rgba(255, 255, 255, .5);
    --black: #000;
    --red: #ef413d;
    --basecolor: var(--yellow);
    --fontbody: 'Poppins', sans-serif;
    --fontheader: 'Proxima-Nova-Extra-Condensed', sans-serif;
    --transition-default: all .3s linear;
    --transition-bg: background-color 1s ease-in;
    --transition-bg-all: all 1s ease-in;
}

* {
    margin: 0;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    display: none;
}


html {
    font-size: 62.5%;
    height: 100%;
}

body {
    font-family: var(--fontbody);
    font-size: 1.5rem;
    line-height: 3rem;
    font-weight: 400;
    color: var(--anthracite);
    -webkit-backface-visibility: visible !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 6rem;
    background-color: var(--basecolor);
}

    body:not(.preload) {
        transition: var(--transition-bg);
    }

    body.menu--open,
    body.splash--open {
        overflow: hidden;
    }

@media(max-width: 991px) {
    section + section {
        margin-top: 8rem;
    }

    section.block--dark,
    section.block--dark + .block__images--fill {
        position: relative;
    }

        section + section.block--dark:not(.block__spacer.block--dark):before,
        section + section.block__logos--dark:before,
        section.block--dark + .block__images--fill:before {
            content: "";
            width: 100%;
            height: 8rem;
            position: absolute;
            top: -8rem;
            left: 0;
            background-color: var(--anthracite);
        }


        section.block--dark + section.block--dark:before {
            /*
            height: 1rem !important;
            top: -1rem !important;
            */
        }

        section.block__separator + section.block--dark:before {
            content: none;
        }

    body:not(.body--home) section:first-of-type {
        margin-top: 8rem;
    }
}

@media(min-width: 992px) {
    body {
        padding-top: 10rem;
    }

    main {
        position: fixed;
        top: 0;
        left: 0;
        /*  note vh and vw switched  */
        width: 100vh;
        height: 100vw;
        /*    */
        transform-origin: top left;
        transform: rotate(-90deg) translateX(-100vh);
        overflow-x: hidden;
        overflow-y: scroll;
        /*   scroll-snap-type: y mandatory; */
    }

    article {
        display: flex;
        flex-direction: row;
        width: fit-content;
        height: fit-content;
        transform-origin: top left;
        transform: rotate(90deg) translateY(-100vh);
    }

    section {
        /*width: 100vw;*/
        height: 100vh;
        /*   scroll-snap-align: start; */
        /*overflow-y: hidden;*/
    }

        section:last-of-type {
            margin-right: 6rem;
        }
}

@media(max-width: 991px) {
    main {
        max-width: 100vw;
        overflow: hidden;
    }
}

    a, button {
        text-decoration: none;
        transition: var(--transition-default);
    }

    .richtext a:not(.button) {
        font-weight: 500;
        color: var(--front);
        background-image: linear-gradient(var(--anthracite-60), var(--anthracite-60));
        background-position: 100% calc(100% - 2px);
        background-repeat: no-repeat;
        background-size: 100% 2px;
        display: inline-block;
    }

        .richtext a:not(.button):hover {
            background-size: 0% 2px;
        }

    .block--dark .richtext a:not(.button) {
        background-image: linear-gradient(var(--white-50), var(--white-50));
    }

    .button__wrapper + .button__wrapper {
        margin-top: 2rem;
    }

    .button {
        padding: 1rem;
        border: none;
        border-radius: .5rem;
        outline: none;
    }

    .button--dark {
        display: inline-flex;
        padding: 1.2rem 2.4rem;
        border: none;
        border-radius: .4rem;
        background-color: var(--anthracite);
        color: var(--white);
        font-size: 1.6rem;
        line-height: 2rem;
        font-weight: 500;
    }

        .button--dark:hover {
            color: var(--white);
            box-shadow: .6rem .6rem rgba(0, 0, 0, .2);
        }

    .block--dark .button--dark {
        background-color: var(--white);
        color: var(--anthracite);
    }

        .block--dark .button--dark:hover {
            color: var(--anthracite);
            box-shadow: .6rem .6rem rgba(255, 255, 255, .3);
        }

    .button--arrow {
        display: inline-flex;
        padding: 0 0 0 3.6rem;
        border: none;
        color: var(--anthracite);
        font-size: 1.6rem;
        line-height: 2rem;
        font-weight: 500;
        background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.75 12H20.25' stroke='%232f2f29' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M13.5 5.25L20.25 12L13.5 18.75' stroke='%232f2f29' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
        background-repeat: no-repeat;
        background-position: 0 50%;
    }

        .button--arrow:hover {
            color: var(--anthracite);
            background-position: .3rem 50%;
        }

    .block--dark .button--arrow {
        color: var(--white);
        background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.75 12H20.25' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M13.5 5.25L20.25 12L13.5 18.75' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
    }

        .block--dark .button--arrow:hover {
            color: var(--white);
        }

    @keyframes pulse {
        0% {
            transform: scale(1);
        }

        70% {
            transform: scale(.9);
        }

        100% {
            transform: scale(1);
        }
    }

    .iframe__container {
        position: relative;
        overflow: hidden;
        padding-top: 56.25%;
    }

        .iframe__container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
        }

    h1, h2, h3, h4, h5, h6 {
        letter-spacing: 0;
    }

    h1 {
        font-family: var(--fontheader);
        text-transform: uppercase;
        font-size: 12rem;
        line-height: 9.81rem;
        margin-bottom: 4rem;
    }

    h2 {
        font-size: 2.4rem;
        margin-bottom: 2rem;
    }


        h2.h2--header {
            font-size: 1.5rem;
            line-height: 3rem;
            font-weight: 500;
            position: absolute;
            top: 8rem;
            left: 8rem;
            padding: .8rem 2.4rem;
            border-radius: 4rem;
            border: .2rem solid var(--black);
            margin: 0 2rem 0 0;
        }

    .block--dark .h2--header.h2--header {
        border-color: var(--white);
    }

    h3 {
        font-family: var(--fontheader);
        text-transform: uppercase;
        font-size: 11rem;
        line-height: 9rem;
        font-weight: 500;
        margin-bottom: 4rem;
    }

        h3 span.text--outline {
            font-family: var(--fontheader);
            font-style: italic;
        }

    section:hover h3 span.text--outline,
    .splash h3 span.text-outline {
        /*
    background-color: transparent;
    background-image: linear-gradient(-70deg, var(--anthracite) 5%, var(--anthracite-10) 53%, var(--anthracite) 91%);
    animation: ani 20s linear infinite;
    */
    }

    h4 {
        font-size: 2rem;
        line-height: 4rem;
        font-weight: 500;
    }

    @media(max-width: 991px) {
        h1 {
            font-size: 5rem;
            line-height: 1;
            margin-bottom: 2.4rem;
        }

        h2.h2--header {
            position: relative;
            top: unset;
            left: unset;
            margin-bottom: 1.6rem;
            display: inline-block;
            margin-bottom: 3rem;
        }

        h3 {
            font-size: 4rem;
            line-height: 1;
            margin-bottom: 2.4rem;
        }

            h3 span.text--outline {
                -webkit-text-stroke: 3px transparent;
                animation: none !important;
            }

            h3 br {
                display: none;
            }
    }

    @keyframes ani {
        0% {
            background-position: 400% 0;
        }

        100% {
            background-position: 0 0;
        }
    }

    .button--backtohome {
        position: absolute;
        top: 4rem;
        left: 8rem;
        font-weight: 500;
        color: var(--anthracite);
        display: flex;
        align-items: center;
        padding: 0;
    }

        .button--backtohome:hover {
            color: var(--anthracite);
        }

        .button--backtohome svg {
            margin-right: .8rem;
            transition: var(--transition-default);
        }

        .button--backtohome:hover svg {
            transform: translateX(-.3rem);
        }

    @media(max-width: 991px) {
        .button--backtohome {
            top: 7.6rem;
            left: 1.6rem;
        }
    }

    .block--dark {
        background-color: var(--anthracite);
        color: var(--white);
    }

    section:has(>.sticker) {
        position: relative;
    }

    .sticker {
        position: absolute;
        z-index: 0;
    }

        .sticker > img {
            margin-left: -50%;
            margin-top: -50%;
        }

    .sticker--mobile {
        display: none;
    }

    @media(max-width: 991px) {
        .sticker--desktop {
            display: none;
        }

        .sticker--mobile {
            display: block;
        }
    }
