.header__nav {
    display: flex;
    gap: var(--space-5);
    align-items: center;
}

/* link style */
.nav-link {
    display: flex;
    gap: 5px;
    align-items: center;
    position: relative;
    text-decoration: none;
    color: var(--color-text);
    font-size: 16px;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;

    width: 0;
    height: 2px;

    background: var(--color-text-underline);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* =========================
   MOBILE MENU
========================= */

.header__nav-wrapper {
    display: flex;
}

@media (max-width: 992px) {

    .header__nav-wrapper {
        position: fixed;
        right: 0;

        top: var(--header-height);
        height: calc(100vh - var(--header-height));

        background: var(--color-primary-third);
        backdrop-filter: blur(12px);

        display: none;
        flex-direction: column;
        align-items: center;

        gap: 30px;
        z-index: var(--burger-nav-menu);
        width: 100%;
    }

    .header__nav-wrapper.open {
        display: flex;
    }

    .header__nav {
        flex-direction: column;
        gap: 20px;
    }

    .nav-link{
        font-size: 30px;
    }

    .header__right {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    /* burger */
    .header__burger {
        display: flex;
        flex-direction: column;
        gap: 5px;

        width: 28px;
        height: 22px;

        background: transparent;
        border: 0;
        cursor: pointer;
    }

    .header__burger span {
        height: 2px;
        width: 100%;
        background: #111;
        transition: 0.3s;
    }

    /* animation */
    .header__burger.active span:nth-child(1) {
        transform: rotate(45deg) translateY(10px);
    }

    .header__burger.active span:nth-child(2) {
        opacity: 0;
    }

    .header__burger.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-10px);
    }
}