:root {
    --primary-color: #1EFDD8;
    --secondary-color: rgb(35, 47, 221);
    --highlight-color: #ABFD1E;
    --highlight-gradient: linear-gradient(145deg, rgba(171, 253, 30, 0) 0%, rgba(171, 253, 30, 0.6) 20%, rgba(171, 253, 30, 1) 100%);
    --white: #ffffff;
    --transparent-bg: rgba(255, 255, 255, .5);
    --bg: rgb(25, 25, 32);
    --bg-light: rgb(44, 46, 145);
    --font-size-base: 1.5rem;
    --font-size-small: 1rem;
    --font-size-big: 3.5rem;
    --color-text: var(--bg);

    --spacing: 20px;
    --smaller-viewport: 900px;
}

/* manrope-300 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 300;
    src: url('./fonts/manrope-v15-latin-300.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* manrope-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    src: url('./fonts/manrope-v15-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* manrope-700 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 700;
    src: url('./fonts/manrope-v15-latin-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


body {
    display: flex;
    justify-content: center;
    flex-direction: column-reverse;
    font-size: 100%;
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    border: 0;
    margin: 0;
    padding: 0 5%;
}

.background {
    background: url(img/bg.png) no-repeat;
    position: fixed;
    inset: 0;
    z-index: -100;
    background-size: cover;
}

.logo {
    position: fixed;
    bottom: 30px;
    left: 5%;
}

nav {
    position: fixed;

    &.mod_navigation {
        width: 100%;
        left: 0;
        bottom: 0;
        text-align: center;
        overflow: hidden;
        bottom: -100%;
        transition: all 0.4s ease;
        background: rgba(25, 25, 32, .6);
        display: flex;
        justify-content: center;
        align-items: flex-end;
        z-index: 1;

        & ul {
            padding: 0;
            margin-bottom: 180px;

            & li {
                list-style-type: none;
                display: block;

                &.active {

                    & a,
                    & span {
                        color: var(--primary-color);
                    }
                }

                & a,
                & span {
                    font-size: var(--font-size-big);
                    padding: 40px;
                    display: inline-block;
                    text-decoration: none;
                }
            }
        }
    }

    &.legal {
        font-size: var(--font-size-small);
        right: 5%;
        bottom: 50px;

        a {
            padding-right: 20px;
            text-decoration: none;
        }
    }
}

.mobile-menu-open nav.mod_navigation {
    bottom: 1px;
    height: 100%;
}

/* burger-nav */
.burger-nav {
    z-index: 5000;
    position: fixed;
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 50px;
    left: calc(50vw - 30px);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    span {
        pointer-events: none;
        display: block;
        width: 43px;
        background-color: var(--white);
        transition: all 0.2s ease-in-out;
        position: absolute;

        &:nth-child(1) {
            top: 5px;
            border-radius: 120px 120px 0 0;
            height: 12px;
        }

        &:nth-child(2) {
            top: 22px;
            height: 8px;
        }

        &:nth-child(3) {
            top: 35px;
            border-radius: 0 0 120px 120px;
            height: 12px;
        }
    }

    &:hover,
    body.mobile-menu-open & {
        span:nth-child(1) {
            top: 0;
        }

        span:nth-child(3) {
            top: 40px;
        }
    }
}

/* \ burger-nav */

article {
    display: flex;
    height: 100vh;
    text-align: center;
    justify-content: center;
    color: var(--white);
    align-items: center;
    flex-direction: row-reverse;

    &:nth-child(odd) {
        flex-direction: row;

        div {
            right: -30px;

            .fade-in & {
                right: 0;
                opacity: 1;
            }
        }
    }

    &:nth-child(even) {
        div {
            left: -30px;

            .fade-in & {
                left: 0;
                opacity: 1;
            }
        }
    }

    & div {
        max-width: 50vw;
        transition: all 1s ease-in-out .2s;
        position: relative;
        opacity: .7;
        overflow: hidden;
    }

    &:after {
        content: '';
        flex-grow: 1;
        order: 0;
    }
}

.squiggle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 5vw;
    width: 90vw;
    max-width: 1000px;
    height: 380vw;
    z-index: -1;
    overflow: visible;
}

.button,
button {
    display: inline-block;
    background: var(--highlight-gradient);
    border: none;
    padding: 30px;
    font-size: var(--font-size-base);
    color: var(--color-text);
    clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 60%, 90% 0);
}

a,
.mod_navigation span {
    color: var(--white);
}

h1 {
    font-size: 2.75rem;
    font-weight: 300;
    margin-top: 0;
}

h2 {
    font-size: 2.75rem;
    font-weight: 300;
    margin-top: 0;
}

p {
    font-size: var(--font-size-base);
}

.expand {
    transform-box: fill-box;
    transform-origin: center;
    transition: all 2s ease-in-out 2s;
    transform: scale(2) rotate3d(0, 1, 0, 60deg);
}

[class^="svg-elem-"] {
    &:hover {
        animation-play-state: paused;
    }
}