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

@font-face {
    font-family: "greycliff-cf";
    src: url("https://use.typekit.net/af/c268bf/00000000000000007735fa4e/31/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"), url("https://use.typekit.net/af/c268bf/00000000000000007735fa4e/31/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"), url("https://use.typekit.net/af/c268bf/00000000000000007735fa4e/31/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
    font-display: auto;
    font-style: normal;
    font-weight: 400;
    font-stretch: normal;
}

/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after {
    box-sizing: border-box;
}

/* 2. Remove default margin */
*:not(dialog) {
    margin: 0;
}

/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) {
    html {
        interpolate-size: allow-keywords;
    }
}

body {
    /* 4. Add accessible line-height */
    line-height: 1.3;
    /* 5. Improve text rendering */
    -webkit-font-smoothing: antialiased;
}

/* 6. Improve media defaults */
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

/* 7. Inherit fonts for form controls */
input, button, textarea, select {
    font: inherit;
}

/* 8. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

/* 9. Improve line wrapping */
p {
    text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}

/*
  10. Create a root stacking context
*/
#root, #__next {
    isolation: isolate;
}


html {
    background-color: #000;
    color: #f8f9fa;
    font-size: 1.5rem;
    font-family: "greycliff-cf", sans-serif;
}

body {
    /*min-height: 100vh;*/
    display: grid;
    place-content: center;
    /*padding: 0 2rem;*/


}

.menu-container {
    margin: 4rem auto 0 auto;
    width: 100%;
}

.menu {

    ul {
        display: flex;
        flex-direction: row;
        gap: 1.5rem;
        justify-content: flex-end;

        @media screen and (max-width: 60rem) {
            justify-content: space-evenly;
        }
        padding-inline-start: 0;

    }

    li {

        list-style-type: none;

        &.passive {
            color: #adb5bd;
        }

        a {
            color: #adb5bd;
            text-decoration: none;

            &.active {
                color: #f8f9fa;
            }

            &:hover {
                color: #f8f9fa;
            }
        }
    }
}

main {
    margin: 1rem auto 10rem auto;
    display: flex;
    flex-direction: column;
    width: 1190px;

    @media screen and (max-width: 60rem) {
        width: initial;
    }

}

.about {
    text-align: center;
    margin: 2.2rem auto 0 auto;
    font-size: 1.2rem;
    position: relative;

    @media screen and (max-width: 40rem) {
        font-size: 1rem;
    }

    p {
        &::selection {
            color: #000;
            background-color: #22E57A;
        }

        a, span {
            color: #22E57A;
            text-decoration: none;
            cursor: pointer;

            &::selection {
                color: #f8f9fa;
            }
        }
    }

    #copied {
        font-size: .7rem;
        padding: .7rem .2rem;
        border-radius: 5px;
        display: none;
        position: absolute;
        right: 0;
        color: #22E57A;
    }

    .contact {
        display: flex;
        flex-direction: row;
        gap: 1rem;
        padding-inline-start: 0;

        li {
            list-style-type: none;

            a {
                color: #22E57A;
            }
        }
    }

}

.showreel {
    margin-block-start: 3rem;

    video {
        margin: 0 auto;
    }

}

.works {
    margin: 5rem 0 8rem 0;
}


.video-list {
    gap: 2.5rem;
    columns: 2;

    @media screen and (max-width: 60rem) {
        columns: auto;
    }
}

.video-list {
    video {
        max-height: 100vh;
        max-width: 100vw;
        width: 500px;

        margin-block-end: 2rem;
    }
}