@import url("https://p.typekit.net/p.css?s=1&k=snu3hrf&ht=tk&f=35049.35050.35051.35052.35053.47072.47075.52200.52203.52208.52211.52216.52219&a=20164819&app=typekit&e=css");

@font-face {
    font-family:"navigo";
    src:url("https://use.typekit.net/af/c99c06/00000000000000003b9b01fd/27/l?subset_id=2&fvd=n3&v=3") format("woff2"),url("https://use.typekit.net/af/c99c06/00000000000000003b9b01fd/27/d?subset_id=2&fvd=n3&v=3") format("woff"),url("https://use.typekit.net/af/c99c06/00000000000000003b9b01fd/27/a?subset_id=2&fvd=n3&v=3") format("opentype");
    font-display:auto;font-style:normal;font-weight:300;font-stretch:normal;
}

@font-face {
    font-family:"navigo";
    src:url("https://use.typekit.net/af/9985f4/00000000000000003b9b01fe/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"),url("https://use.typekit.net/af/9985f4/00000000000000003b9b01fe/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"),url("https://use.typekit.net/af/9985f4/00000000000000003b9b01fe/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
    font-display:auto;font-style:normal;font-weight:400;font-stretch:normal;
}

@font-face {
    font-family:"navigo";
    src:url("https://use.typekit.net/af/9e5578/00000000000000003b9b01ff/27/l?subset_id=2&fvd=n5&v=3") format("woff2"),url("https://use.typekit.net/af/9e5578/00000000000000003b9b01ff/27/d?subset_id=2&fvd=n5&v=3") format("woff"),url("https://use.typekit.net/af/9e5578/00000000000000003b9b01ff/27/a?subset_id=2&fvd=n5&v=3") format("opentype");
    font-display:auto;font-style:normal;font-weight:500;font-stretch:normal;
}

@font-face {
    font-family:"navigo";
    src:url("https://use.typekit.net/af/df5f8f/00000000000000003b9b0200/27/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff2"),url("https://use.typekit.net/af/df5f8f/00000000000000003b9b0200/27/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff"),url("https://use.typekit.net/af/df5f8f/00000000000000003b9b0200/27/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("opentype");
    font-display:auto;font-style:normal;font-weight:700;font-stretch:normal;
}

@font-face {
    font-family:"navigo";
    src:url("https://use.typekit.net/af/fe8558/00000000000000003b9b0201/27/l?subset_id=2&fvd=n9&v=3") format("woff2"),url("https://use.typekit.net/af/fe8558/00000000000000003b9b0201/27/d?subset_id=2&fvd=n9&v=3") format("woff"),url("https://use.typekit.net/af/fe8558/00000000000000003b9b0201/27/a?subset_id=2&fvd=n9&v=3") format("opentype");
    font-display:auto;font-style:normal;font-weight:900;font-stretch:normal;
}

@font-face {
    font-family:"navigo";
    src:url("https://use.typekit.net/af/e2a6f1/00000000000000007735e7cd/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("woff2"),url("https://use.typekit.net/af/e2a6f1/00000000000000007735e7cd/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("woff"),url("https://use.typekit.net/af/e2a6f1/00000000000000007735e7cd/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i4&v=3") format("opentype");
    font-display:auto;font-style:italic;font-weight:400;font-stretch:normal;
}

@font-face {
    font-family:"navigo";
    src:url("https://use.typekit.net/af/9ac94f/00000000000000007735e7d0/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3") format("woff2"),url("https://use.typekit.net/af/9ac94f/00000000000000007735e7d0/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3") format("woff"),url("https://use.typekit.net/af/9ac94f/00000000000000007735e7d0/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=i7&v=3") format("opentype");
    font-display:auto;font-style:italic;font-weight:700;font-stretch:normal;
}

:root {
    --primary-size: 5vw;
    --secondary-size: 0.9vw;
    --text-size: 1vw;
    --pgh-size: 1.2vw;
    --title-size: 7vw;
    --name-size: 0.9vw;
    --job-size: 0.9vw;
    --email-size: 0.7vw;
    --work-size: 3vw;

    --line-height: 1.2em;
    --letter-spacing: 0.1em;

    --primary-color: white;
    --bg-color: black;
    --seen-color: #FF4F38;
    --disabled-color: rgba(255, 255, 255, 0.3);

    --light: 300;
    --regular: 400;
    --bold: 700;
    --black: 900;

    --font: "navigo", sans-serif;

    --logo: 6vw;
    --menu: 2vw;

    --padding: 1.5vw;
}

html body {
    font-family: var(--font);
    background: var(--bg-color);
    width: 100%;

    color: white;
}

video {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    overflow: hidden;
}

h1, h2, h3, h4, p, a {
    margin: 0;
    padding: 0;
    color: white;
    text-decoration: none;
}

.separator {
    height: 10vw;
}

/** NAVBAR **/

.navbar {
    width: 100%;
    padding: var(--padding);
    box-sizing: border-box;

    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: space-between;

    position: fixed;
    top: 0;
    left: 0;

    z-index: 10;
}

.logo {
    width: var(--logo);
}

.nav {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 5vw;
    padding-right: 15vw;
}

.work {
    cursor: pointer;
}

.social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    font-size: var(--secondary-size);
    font-weight: var(--regular);
    line-height: var(--line-height);
    letter-spacing: var(--letter-spacing);
    text-transform: uppercase;
}

.menu {
    width: var(--menu);
    position: fixed;
    top: var(--padding);
    right: var(--padding);
    filter: invert(100);
    transform: rotate(0);
    transition: transform 0.5s ease;
    cursor: pointer;

    z-index: 12;
}

/** CONTACT PAGE **/

.contact {
    width: 100%;
    height: 100vh;

    position: fixed;
    top: 120%;
    left: 0;

    transition: top 1s ease;

    z-index: 11;
}

.c-title {
    position: absolute;

    top: var(--padding);
    left: var(--padding);

    font-size: var(--title-size);
    font-weight: var(--bold);
    line-height: var(--line-height);

    text-transform: uppercase;

    margin: 0;
    padding: 0;

    transform: translateY(3vw);
    opacity: 0;
}

.c-logo {
    position: absolute;

    top: var(--padding);
    left: var(--padding);
    width: 30vw;
    transform: translateY(3vw);
    opacity: 0;
}

.c-paragraph {
    font-size: var(--pgh-size);
    font-weight: var(--light);

    width: 40vw;

    position: absolute;
    top: 50%;
    left: 33vw;
    transform: translateY(-40%);

    opacity: 0;
}

.c-link {
    font-size: var(--text-size);
    font-weight: var(--bold);
    text-decoration: underline 1px;
    text-underline-offset: 0.3vw;
}

.about {
    position: absolute;
    top: 50%;
    transform: translateY(-40%);
    right: var(--padding);
    opacity: 0;

    letter-spacing: var(--letter-spacing);
}

.about > div {
    margin-bottom: 1.4vw;
}

.a-name {
    font-size: var(--name-size);
    font-weight: var(--light);
}


.a-job {
    font-size: var(--job-size);
    font-weight: var(--light);
}

.a-mail {
    font-size: var(--email-size);
    font-weight: var(--light);
    letter-spacing: unset;
}

.c-social {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 12vw;

    font-size: var(--secondary-size);
    position: absolute;
    bottom: var(--padding);
    left: 33vw;
    transform: translateY(3vw);
    opacity: 0;
    text-transform: uppercase;
}

.copyright {
    position: absolute;
    bottom: var(--padding);
    left: var(--padding);

    font-size: var(--email-size);
    text-transform: uppercase;
    color: var(--disabled-color)
}

.copyright > a {
    color: var(--disabled-color)
}

.works {
    width: 100%;
    height: 100vh;
    background: #141414;

    position: fixed;
    top: 120%;
    left: 0;

    display: flex;

    transition: top 1s ease;

    z-index: 12;
}

.w-close {
    display: none;
    position: fixed;
    width: 2vw;
    filter: invert(100);
    transition: transform 0.5s ease;
    cursor: pointer;
    z-index: 6;
    right: 0;
    transform: rotate(45deg) translateY(var(--padding));
}

.w-projects {
    display: flex;
    padding: var(--padding);
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.w-list {
    width: 80%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.w-project {
    font-size: var(--work-size);
    font-weight: var(--black);
    line-height: 1.1;
    text-transform: uppercase;
    z-index: 10;
    width: fit-content;
}

.w-project:hover {
    text-shadow: 0.2vw 0.2vw #FF4F38;
}

.w-separator {
    font-size: var(--work-size);
    font-weight: var(--light);
    line-height: 1.1;
    text-transform: uppercase;
    z-index: 10;
    width: fit-content;
}

.w-bg {
    display: none;
    position: absolute;
}

.w-img {
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100vh;
}

.flex {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;

    z-index: 2;
    text-align: center;
}

.e-404 {
    font-size: var(--primary-size);
    font-weight: var(--black);
    text-transform: uppercase;
}

.e-404-sub {
    font-size: var(--secondary-size);
    font-weight: var(--regular);
    text-transform: uppercase;
    line-height: var(--line-height);
    letter-spacing: var(--letter-spacing);
}

.e-404-sub > a {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.reveal-loaded .reveal {
    opacity: 0;
}

.reveal-loaded .reveal-left {
    opacity: 0;
    transform: translateX(-300px);
}

.reveal-loaded .reveal-top {
    opacity: 0;
    transform: translateY(-100px);
}

.reveal-loaded .reveal-bottom {
    opacity: 0;
    transform: translateY(100px);
}

.reveal-loaded .reveal-visible {
    opacity: 1;
    transform: translateY(0px);
    transition: transform 3s cubic-bezier(0.5, 0, 0, 1), opacity 3s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-loaded .r-delay-1 {
    transition-delay: 0.1s;
}

.reveal-loaded .r-delay-2 {
    transition-delay: 0.2s;
}

.reveal-loaded .r-delay-3 {
    transition-delay: 0.3s;
}

@media screen and (max-width: 767px) {
    :root {
        --primary-size: 13vw;
        --secondary-size: 3.5vw;
        --text-size: 1vw;
        --pgh-size: 5vw;
        --title-size: 8vw;
        --name-size: 4vw;
        --job-size: 4vw;
        --email-size: 3.5vw;
        --work-size: 5vw;

        --line-height: 1.2em;
        --letter-spacing: 0.1em;

        --primary-color: white;
        --bg-color: black;
        --seen-color: #FF4F38;
        --disabled-color: rgba(255, 255, 255, 0.3);

        --light: 300;
        --regular: 400;
        --bold: 700;
        --black: 900;

        --font: "navigo", sans-serif;

        --logo: 25vw;
        --menu: 8vw;

        --padding: 5vw;
    }


    html body {
        font-family: var(--font);
        background: var(--bg-color);
        width: 100%;

        color: white;
    }

    video {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 0;
        overflow: hidden;
    }

    h1, h2, h3, h4, p, a {
        margin: 0;
        padding: 0;
        color: white;
        text-decoration: none;
    }

    .separator {
        height: 20vh;
    }

    /** NAVBAR **/

    .navbar {
        width: 100%;
        padding: var(--padding);
        box-sizing: border-box;

        display: flex;
        flex-direction: row;
        align-items: start;
        justify-content: space-between;

        position: fixed;
        top: 0;
        left: 0;

        z-index: 6;
    }

    .logo {
        width: var(--logo);
    }

    .nav {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        gap: 5vw;
        padding-right: 15vw;
    }

    .work {
        cursor: pointer;
        margin-top: 2.2vw;
    }

    .social {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;

        font-size: var(--secondary-size);
        font-weight: var(--regular);
        line-height: var(--line-height);
        letter-spacing: var(--letter-spacing);
    }

    .menu {
        width: var(--menu);
        position: fixed;
        top: var(--padding);
        right: var(--padding);
        filter: invert(100);
        transform: rotate(0);
        transition: transform 0.5s ease;
        cursor: pointer;

        z-index: 10;
    }

    /** CONTACT PAGE **/

    .contact {
        width: 100%;
        height: 100vh;

        background-image: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url(https://i.stack.imgur.com/sIIwU.gif);

        position: fixed;
        top: 120%;
        left: 0;

        transition: top 1s ease;

        z-index: 8;
        overflow-y: scroll;
    }

    .c-title {
        position: absolute;

        top: var(--padding);
        left: var(--padding);

        font-size: var(--title-size);
        font-weight: var(--bold);
        line-height: var(--line-height);

        text-transform: uppercase;

        margin: 0;
        padding: 0;

        transform: translateY(3vw);
        opacity: 0;
    }

    .c-logo {
        position: absolute;

        top: var(--padding);
        left: var(--padding);
        width: 30vw;
        transform: translateY(3vw);
        opacity: 0;
    }

    .c-paragraph {
        font-size: var(--pgh-size);
        font-weight: var(--light);

        width: 100vw;
        padding: 0 var(--padding);
        box-sizing: border-box;

        position: absolute;
        top: 60vh;
        left: 0;
        transform: translateY(0);

        opacity: 0;
    }

    .c-link {
        font-size: var(--pgh-size);
        font-weight: var(--bold);
        text-decoration: underline 1px;
        text-underline-offset: 0.3vw;
    }

    .about {
        position: absolute;
        top: 240vw;
        transform: translateY(0);
        left: var(--padding);
        right: unset;
        opacity: 0;

        letter-spacing: var(--letter-spacing);
    }

    .about > div {
        margin-bottom: 10vw;
    }

    .a-name {
        font-size: var(--name-size);
        font-weight: var(--light);
        line-height: 1.2;
    }


    .a-job {
        font-size: var(--job-size);
        font-weight: var(--light);
    }

    .a-mail {
        font-size: var(--email-size);
        font-weight: var(--light);
        letter-spacing: unset;
    }

    .c-social {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 3vw;

        font-size: var(--name-size);
        position: absolute;
        top: 320vw;
        bottom: unset;
        left: var(--padding);
        transform: translateY(-3vw);
        opacity: 0;
    }

    .c-social > div > a {
        padding-bottom: 3vw;
        font-size: var(--name-size);
    }

    .copyright {
        position: absolute;
        bottom: unset;
        top: 380vw;
        left: var(--padding);

        font-size: var(--email-size);
        text-transform: uppercase;
        color: var(--disabled-color)
    }

    .w-close {
        position: fixed;
        width: 8vw;
        filter: invert(100);
        transition: transform 0.5s ease;
        cursor: pointer;
        z-index: 6;
        right: 0;
        transform: rotate(45deg) translateY(var(--padding));
    }

    .works {
        width: 100%;
        height: 100vh;
    
        background: #141414;
    
        position: fixed;
        top: 120%;
        left: 0;
    
        display: flex;
    
        transition: top 1s ease;
    
        z-index: 12;
    }

    
    .w-projects {
        display: flex;
        padding: var(--padding);
        flex-direction: row;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        overflow-y: scroll;
    }
    
    .w-list {
        width: 80%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

    .w-project {
        font-size: var(--work-size);
        line-height: 1.1;
        text-transform: uppercase;
        white-space: pre-line;
        z-index: 10;
        width: fit-content;
        margin-bottom: 3vw;
    }

    .w-project:hover {
        text-shadow: 0.2vw 0.2vw #FF4F38;
    }

    .w-separator {
    font-size: var(--work-size);
    font-weight: var(--light);
    line-height: 1.1;
    text-transform: uppercase;
    z-index: 10;
    width: fit-content;
    margin-bottom: 3vw;
    }

    .w-bg {
        display: none;
        position: absolute;
    }

    .hide-sm {
        display: none;
    }
}

