nav {
    font-family: Ubuntu;
    font-weight: 400;
    z-index: 999999;
}

ul {
    list-style-type: none;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.3s ease-in-out;
}

nav ul a {
    position: relative;
}

nav ul a:not(.secondary-button)::before {
    content: "";
    height: 2px;
    width: 0%;
    background-color: var(--dark-color);
    border-radius: 4px;
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translate(-50%, 50%);
    transition: all 0.2s;
    opacity: 0;
}

nav ul a:hover::before {
    opacity: 1;
    width: 120%;
}

.additional-operations.mobile {
    display: none !important;
}

footer .footer-links a {
    position: relative;
    width: fit-content;
}

footer .footer-links a::before {
    content: "";
    height: 2px;
    width: 0%;
    background-color: var(--dark-color);
    border-radius: 4px;
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translate(-50%, 50%);
    transition: all 0.2s;
    opacity: 0;
}

footer .footer-links a:hover::before {
    opacity: 1;
    width: 100%;
}

.active-route {
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--dark-color);
}
a i {
    margin-left: 5px;
}

.logo {
    height: 42px;
    z-index: 999;
    position: relative;
}

.hamburger-menu {
    display: none;
    gap: 8px;
    flex-direction: column;
    z-index: 9999;
    margin-left: auto;
}

.hamburger-menu .stripe {
    border-radius: 4px;
    background-color: var(--dark-color);
    height: 4px;
    width: 36px;
}

.stripe {
    transition: all 0.3s;
}

.nav-content a {
    position: relative;
    z-index: 9999999;
}

nav .nav-content:has(input:checked) .hamburger-menu .stripe:first-child {
    transform: translateY(12px) rotate(45deg);
    transform-origin: center;
}

nav .nav-content:has(input:checked) .hamburger-menu .stripe:last-child {
    transform: translateY(-12px) rotate(-45deg);
    transform-origin: center;
}

nav .nav-content:has(input:checked) .hamburger-menu .stripe:nth-child(2) {
    opacity: 0;
}

@media (max-width: 1200px) {
    nav .nav-content:has(input:checked) .hamburger-menu .stripe:first-child {
        transform: translateY(10px) rotate(45deg);
        transform-origin: center;
    }

    nav .nav-content:has(input:checked) .hamburger-menu .stripe:last-child {
        transform: translateY(-10px) rotate(-45deg);
        transform-origin: center;
    }

    .hamburger-menu {
        gap: 6px;
    }

    .logo {
        height: 36px;
    }

    .additional-operations.mobile {
        margin-top: 15px;
        display: flex !important;
        flex-direction: column;
    }
    .nav-content a {
        font-size: 18px;
    }
    .mobile-space {
        padding-top: 120px;
        height: 120px;
    }
    .hamburger-menu {
        display: flex;
        z-index: 999991;
    }

    nav {
        min-height: 60px;
        position: sticky;
        top: 0;
        width: 100%;
        left: 0;
        background-color: white;
        padding-left: 10px !important;
    }

    nav.container {
        max-width: none !important;
    }

    nav > .nav-content {
        width: 100%;
    }
    nav .nav-content:has(input:checked) ul {
        right: 0%;
    }
    nav ul {
        z-index: 999990;
        position: fixed;
        right: -100%;
        display: flex;
        flex-direction: column;
        top: 0;
        width: 100%;
        background-color: white;
        justify-content: center;
        align-items: center;
        height: 100%;
    }
    .additional-operations {
        display: none !important;
    }
}
