* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
}

html,
body {
    width: 100%;
    background-color: #121212;
    color: #F5F5F5;
}

@font-face {
    font-family: ba2n;
    src: url(/fonts/ba2n.ttf);
    font-display: swap;
}

@font-face {
    font-family: ba4n;
    src: url(/fonts/ba4n.ttf);
    font-display: swap;
}

@font-face {
    font-family: bu4n;
    src: url(/fonts/bu4n.ttf);
    font-display: swap;
}

.underline-hover {
    position: relative;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.underline-hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1.5px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.underline-hover:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav {
    width: 100%;
    position: fixed;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    font-family: ba2n;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 1px;
    z-index: 999;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-links sup {
    font-size: 0.55em;
    vertical-align: super;
    margin-right: 0.2rem;
}

.char-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.char {
    display: inline-block;
}

.cap {
    border-bottom: 2px solid currentColor;
    pointer-events: none;
}


.work-wrapper {
    width: 100%;
    min-height: 200vh;
    padding: 10rem 2rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 200px;
    font-family: ba2n;
}

.work-wrapper span {
    font-family: ba4n;
}

.headline {
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.headline h1 {
    font-weight: 200;
}

.include {
    width: 100%;
    display: grid;
    grid-template-columns: 30% 40%;
    gap: 20px;
}

.include div h2 {
    font-size: 2rem;
}

.include .line {
    width: 100%;
    border-top: 1px solid;
    height: 0;
}

.include div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.one {
    margin-top: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.vid-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70%;
    height: 100%;
    position: relative;
}

.vid-wrapper p,
.vid p {
    position: absolute;
    top: 30px;
    left: 30px;
    background-color: #1a1a1a;
    padding: 6px 16px;
    border: 0.2px solid #1a1a1a;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    z-index: 90;
}

.one video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.one .text {
    width: 40%;
    display: grid;
    grid-template-columns: 30% 40% 30%;
    font-weight: 600;
    align-items: flex-end;
    padding: 1rem;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.two-y {
    gap: 4rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}


.two-y .vid {
    position: relative;
}

video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.two-y h2 {
    margin-left: 80%;
}

.work-wrapper h2 {
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.four {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.four .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.four h2 {
    margin-right: 50%;
}

.three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.three h2 {
    margin-left: 60%;
}

.three .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.two {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.three-y {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.two-y2 {
    display: grid;
    grid-template-columns: 40% 60%;
}

.left {
    grid-template-columns: 60% 40% !important;
    gap: 2rem;
}

.y2-wrap {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 2rem;
    font-size: 1.2rem;
    font-weight: 800;
}

.line-wrap {
    display: block;
    overflow: hidden;
}

.line {
    display: block;
    transform-origin: bottom left;
}


@media (max-width: 750px) {

    .nav .profile,
    .nav .cap {
        display: none;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
    }

    .nav {
        font-size: 0.8rem;
        padding: 1.5rem 1rem;
    }

    .work-wrapper {
        padding: 7rem 1rem 2rem;
        gap: 3rem;
    }

    .headline {
        height: auto;
        text-align: center;
        font-size: 1.2rem;
    }

    .headline h1 {
        line-height: 1.1;
    }

    .include {
        display: flex;
        justify-content: space-between;
        /* flex-direction: column; */
        /* gap: 2rem; */
        /* width: 60%; */
    }

    .include div h2 {
        font-size: 1.3rem;
    }

    .one {
        margin-top: 2rem;
        gap: 1rem;
    }

    .vid-wrapper {
        width: 100%;
    }

    .vid-wrapper p,
    .vid p {
        top: 15px;
        left: 15px;
        font-size: 10px;
        padding: 5px 12px;
    }

    .one .text {
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 0;
        font-size: 0.6rem;
    }

    .two,
    .two-y,
    .two-y2,
    .three,
    .three-y,
    .four,
    .left {
        display: flex !important;
        flex-direction: column;
        gap: 2rem;
    }

    .y2-wrap {
        gap: 2rem;
    }

    .two h2,
    .two-y h2,
    .three h2,
    .four h2 {
        margin: 0;
        padding-top: .5rem;
    }

    img,
    video {
        width: 100%;
        height: auto;
        display: block;
    }

    .work-wrapper h2 {
        font-size: .75rem;
        letter-spacing: .5px;
    }

    .footer {
        flex-direction: column;
        gap: 1rem;
        align-items: start;
        font-size: 0.8rem;
        padding: 1rem;
    }
}
