@font-face {
    src: url('../fonts/Unbounded-Light.woff2') format("woff2");
    font-family: 'Unbounded';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Unbounded', Helvetica, Arial, sans-serif;
    background-color: #000;
    font-weight: 300;
    font-size: 16px;
    margin: 0;
    padding: 0;
    color: #fff;
    cursor: none;
}

a {
    text-decoration: inherit;
    color: inherit;
}

#wave {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 33.33vh;
    left: 0;
    background-size: contain;
    z-index: 1;
    pointer-events: none;
    filter: grayscale(100%) brightness(3);
    -webkit-filter: grayscale(100%) brightness(3);
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}

header {
    width: 100%;
    height: 33.33vh;
    height: 33.33svh;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    position: fixed;
    top: 0;
    left: 0;
    padding: 2.5cqw 0;
    z-index: 300;
}

header .logo {
    width: 10vw;
    float: left;
    margin-right: auto;
}

@media (min-width: 320px) and (max-width: 480px) {

    header {
        height: 25vh;
        height: 25svh;
		border: 1px solid red;
        background-color: #000;
    }

    header .logo {
        width: 150px;
        float: none;
        margin: 0 auto;
        margin-top: 2.5rem;
    }

}

header .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right;
}

main {
    margin-right: auto;
    overflow-y: scroll;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
}

section {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
    justify-content: center;
    text-align: center;
    row-gap: 5rem;
    padding: 2.5cqw 0;
    margin: 0 auto;
    max-width: 100%;
    width: 80vw;
    height: 100vh;
    height: 100svh;
    z-index: 200;

    container-type: inline-size;

    /* Scroll Snap */
    scroll-snap-align: center;
}

@media (min-width: 320px) and (max-width: 480px) {

    section {
        width: 100vw;
    }

}

h1,
h2 {
    font-weight: 300;
    line-height: normal;
    text-transform: uppercase;
    margin: 0;
    position: relative;
    z-index: 20;
}

sup {
    font-size: 2cqw;
    vertical-align: super;
}

#cursor {
    position: fixed;
    z-index: 99;
    left: 0;
    top: 0;
    pointer-events: none;
    will-change: transform;
    mix-blend-mode: difference;
}

@media (hover: hover) and (pointer: fine) {
    .cursor__circle {
        width: 64px;
        height: 64px;
        margin-top: -50%;
        margin-left: -50%;
        border-radius: 50%;
        border: solid 1px rgba(227, 222, 193, 0.64);
        transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1),
            background-color 0.3s cubic-bezier(0.25, 1, 0.5, 1),
            border-color 0.3s cubic-bezier(0.25, 1, 0.5, 1),
            width 0.3s cubic-bezier(0.25, 1, 0.5, 1),
            height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    }

    #cursor.arrow .cursor__circle {
        width: 128px;
        height: 128px;
        background-color: #073099;
        border-color: #073099;
    }

    #cursor.subtle .cursor__circle {
        opacity: 0.16;
    }

    #cursor.overlay .cursor__circle {
        width: 48px;
        height: 48px;
        background-color: rgba(227, 222, 193, 0.16);
        border-color: transparent;
    }
}

.entry h1 {
    font-size: 4cqw;
}

.contacts h2 {
    font-size: 4cqw;
}

@media (min-width: 320px) and (max-width: 480px) {

    .entry h1 {
        font-size: 6cqw;
    }

    .contacts h2 {
        font-size: 6cqw;
    }

}

.contacts i {
    font-family: Arial;
    font-style: normal;
}

.o-title {
    margin: 0;
    perspective: 600px;
    -webkit-perspective: 600px;
}

.o-title.is-inview .o-title_line {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
}

.o-title_line {
    display: block;
    font-size: inherit;
    opacity: 0;
    -webkit-transform: translateY(100%) rotateX(-80deg);
    transform: translateY(100%) rotateX(-80deg);
    -webkit-transform-origin: center top;
    transform-origin: center top;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transition: opacity 1s cubic-bezier(.215, .61, .355, 1), -webkit-transform 1s cubic-bezier(.215, .61, .355, 1);
    transition: opacity 1s cubic-bezier(.215, .61, .355, 1), -webkit-transform 1s cubic-bezier(.215, .61, .355, 1);
    transition: opacity 1s cubic-bezier(.215, .61, .355, 1), transform 1s cubic-bezier(.215, .61, .355, 1);
    transition: opacity 1s cubic-bezier(.215, .61, .355, 1), transform 1s cubic-bezier(.215, .61, .355, 1), -webkit-transform 1s cubic-bezier(.215, .61, .355, 1);
}

.o-title.is-inview .o-title_line:first-child {
    transition-delay: .4s
}

.o-title.is-inview .o-title_line:nth-child(2) {
    transition-delay: .5s
}

.o-title.is-inview .o-title_line:nth-child(3) {
    transition-delay: .6s
}

.o-title.is-inview .o-title_line:nth-child(4) {
    transition-delay: .7s
}

.o-title_line span {
    display: inline-block;
    font-size: inherit;
    min-width: 0.05em;
}


.container {
    padding-left: 2.5cqw;
    padding-right: 2.5cqw;
}

@media (min-width: 320px) and (max-width: 480px) {

    .container {
        padding-left: 24px;
        padding-right: 24px;
    }

}

.underline {
    position: relative;
    text-decoration: none;
    transition: color 0.5s;
}

.underline:hover:before {
    left: 0;
    width: 100%;
    transition: 0.5s;
}

.underline:before {
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    content: "";
    transition: 0.5s;
    background-color: #EEE;
}

@keyframes noise {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scaleX(-2);
    }

    50% {
        transform: scale(-1);
    }

    75% {
        transform: scaleY(-1);
    }
}

.noise {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: .30;
    pointer-events: none;
    background: transparent url('../images/noise.png') repeat 0 0;
    background-size: 200px 200px;
    background-repeat: repeat;
    animation: noise .2s steps(1) infinite;
    transform-origin: 50% 50%;
    overflow: hidden;
    z-index: 999;
}

.contacts__wrap {
    display: flex;
    flex-wrap: wrap;
    row-gap: 2.5rem;
}

.contacts__block:first-child {
    margin-right: 8cqw;
}

.contacts__block address {
    font-size: 4cqw;
    font-style: normal;
    text-transform: uppercase;
    color: white;
}

.contacts__block address p {
    margin-bottom: 1.5rem;
}

.c-scrolldown {
    width: 1px;
    height: 60px;
    position: fixed;
    top: 50vh;
    right: 5vw;
    overflow: hidden;
    z-index: 999999;
}

.c-scrolldown .c-line {
    width: 100%;
    height: 100%;
    display: block;
    background: linear-gradient(to bottom, white 50%, rgba(255, 255, 255, 0) 50%);
    background-position: 0 -60px;
    background-size: 100% 200%;
    animation: scrolldown 2.2s cubic-bezier(0.76, 0, 0.3, 1) forwards infinite;
}

@keyframes scrolldown {
    0% {
        background-position: 0 -60px;
    }

    75% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 60px;
    }
}

@media (min-width: 320px) and (max-width: 480px) {

    .c-scrolldown {
        width: 1px;
        height: 40px;
        position: fixed;
        top: 60vh;
        right: 0;
        left: 0;
        margin: 0 auto;
        overflow: hidden;
        z-index: 999999;
    }

    .c-scrolldown .c-line {
        width: 100%;
        height: 100%;
        display: block;
        background: linear-gradient(to bottom, white 50%, rgba(255, 255, 255, 0) 50%);
        background-position: 0 -40px;
        background-size: 100% 200%;
        animation: scrolldown 2.2s cubic-bezier(0.76, 0, 0.3, 1) forwards infinite;
    }

    @keyframes scrolldown {
        0% {
            background-position: 0 -40px;
        }
    
        75% {
            background-position: 0 0;
        }
    
        100% {
            background-position: 0 40px;
        }
    }

}