@font-face {
    font-family: 't';
    src: url(fonts/t.woff2);
}

@font-face {
    font-family: 'MaelstromSansBold';
    src: url(fonts/MaelstromSansBold.woff2);
}

@font-face {
    font-family: 'jw';
    src: url(fonts/jw.woff2);
}

@font-face {
    font-family: 'Horizon Outlined';
    src: url(fonts/horizon_outlined.otf);
}

@font-face {
    font-family: 'Horizon';
    src: url(fonts/horizon.otf);
}

@font-face {
    font-family: 'GrifinitoMRegular';
    src: url(fonts/GrifinitoMRegular.woff2);
}

@font-face {
    font-family: 'GraphikRegularItalic';
    src: url(fonts/GraphikRegularItalic.woff2);
}

@font-face {
    font-family: 'GraphikRegular';
    src: url(fonts/GraphikRegular.woff2);
}

@font-face {
    font-family: 'Coign37B';
    src: url(fonts/Coign37B.woff2);
}

@font-face {
    font-family: "CaslonGraComD";
    src: url(fonts/CaslonGraComD.woff2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: jw;
}

.logo, .menu-logo {
    position: fixed;
    top: 2em;
    left: 2em;
}

.logo a {
    text-decoration: none;
    text-transform: uppercase;
    font-family: Horizon;
    font-size: 25px;
    font-weight: lighter;
    color: black;
}

.menu-logo a {
    text-decoration: none;
    text-transform: uppercase;
    font-family: Horizon;
    font-size: 25px;
    font-weight: lighter;
    color: white;
}

.menu-toggle {
    position: fixed;
    top: 1.5em;
    right: 2em;
    width: 120px;
    height: 60px;
    background-color: #0f0f0f;
    border-radius: 8em;
    transition: width 0.5 cubic-bezier(0.075, 0.82, 0.165, 1);
    transform-origin: right;
    cursor: pointer;
    z-index: 12;
}

.menu-toggle.opened {
    width: 60px;
}

.menu-copy {
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
    color: #fff;
    transition: left 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
    z-index: 10;
}

.menu-copy p {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 12px;
    margin: 0;
    padding: 0;
}

.menu-toggle:hover .menu-copy {
    left: 20px;
}

.menu-toggle.opened .menu-copy {
    opacity: 0;
}

.menu-toggle-icon {
    position: absolute;
    right: 0;
    width: 60px;
    height: 60px;
    border-radius: 100%;
    clip-path: circle(10% at 50% 50%);
    background-color: white;
    transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
    z-index: 20;
    overflow: hidden;
}

.menu-toggle:hover .menu-toggle-icon {
    clip-path: circle(35% at 50% 50%);
}

.menu-toggle.opened .menu-toggle-icon {
    clip-path: circle(50% at 50% 50%);
    transform: scale(1.125);
}

.hamburger {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
    opacity: 0;
}

.menu-toggle:hover .hamburger, .menu-toggle.opened .hamburger {
    top: 50%;
    opacity: 1;
}

.menu-bar {
    position: absolute;
    width: 15px;
    height: 1.5px;
    background-color: #000;
    transition-property: transform;
    transition: all 250ms ease-out;
}

.menu-bar[data-position="top"] {
    transform: translateY(-3px);
}

.menu-bar[data-position="bottom"] {
    transform: translateY(3px);
}

.menu-toggle.opened .menu-bar[data-position="top"] {
    transform: translateY(0) rotate(45deg) scaleX(1.05);
}

.menu-toggle.opened .menu-bar[data-position="bottom"] {
    transform: translateY(0) rotate(-45deg) scaleX(1.05);
}

.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    background-color: #0f0f0f;
    pointer-events: none;
    transform-style: preserve-3d;
    perspective: 1000px;
  clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
  z-index: 10;
}

.col {
    flex: 1;
}

.col-2 {
    flex: 2;
}

.col {
    position: relative;
    height: 100%;
    padding: 10em 2em 2em 2em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.link {
    position: relative;
    transform: translateY(30px);
    opacity: 0;
}

.link a {
    text-decoration: none;
    color: #fff;
    font-size: 100px;
    font-family: jw;
    font-weight: 300;
    letter-spacing: -1.5px;
    line-height: 100%;
}

.socials {
    width: 50%;
    display: flex;
    gap: 2em;
}

.socials .sub-col {
    flex: 10;
}

.socials .sub-col p {
    position: relative;
    color: #fff;
    transform: translateY(30px);
    opacity: 0;
    text-transform: uppercase;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 400;
}

.header h1 {
    color: #fff;
    text-transform: uppercase;
    font-family: t;
    font-size: 200px;
    font-weight: lighter;
    line-height: 100%;
    height: 170px;
}

.header h1 span {
    position: relative;
    display: inline-block;
    transform: scale(0.75) translateY(500px) rotateY(90deg);
    transform-origin: bottom;
}

@media (max-width: 900px) {
    .col-1 {
        flex: 12;
        align-items: flex-start;
    }

    .link a {
        font-size: 30px;
    }

    .video-wrapper {
        padding: 0.4em;
    }

    .socials {
        width: 100%;
        flex-direction: column;
        gap: 8em;
    }

    .header h1 {
        font-size: 150px;
        height: 120px;
    }
}
