nav:not(.nav-pagination) {
    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;
    white-space: nowrap;
}

nav ul a:not(.secondary-button, .primary-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%;
}

.error-page {
    text-align: center;
    min-height: calc(100dvh - 200px);
}
.error-page h1 {
    font-weight: 600;
    color: var(--violet-color);
    font-size: 7rem;
}

.error-page p {
    font-size: 1.25rem;
    margin-bottom: 25px;
}
.error-page .white-message {
    border-radius: 25px;
    background-color: white;
    min-width: 400px;
}
.error-page .primary-button {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.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;
    padding-right: 5px;
}

.hamburger-menu .stripe {
    border-radius: 3px;
    background-color: var(--dark-color);
    height: 3px;
    width: 25px;
}

.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(7px) rotate(45deg);
        transform-origin: center;
    }

    nav .nav-content:has(input:checked) .hamburger-menu .stripe:last-child {
        transform: translateY(-9px) rotate(-45deg);
        transform-origin: center;
    }

    .hamburger-menu {
        gap: 5px;
        margin-bottom: 0px;
    }

    .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:not(.nav-pagination) {
        min-height: 60px;
        position: fixed;
        top: 0;
        width: 100vw;
        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:not(.pagination) {
        padding-left: 0 !important;
        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;
    }
}

.additional-operations a:first-of-type {
    position: relative;
}

.additional-operations .notifications-counter {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    background-color: var(--pink-color);
    color: #f4e8ff;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
}


@media (max-width: 980px) {
    a.primary-button.only-icon {
        padding: 0px !important;
        min-width: initial !important;
        width: 34px !important;
        height: 34px !important;
    }

    a.primary-button.only-icon .svg-icon {
        width: 17px;
        height: 17px;
    }

    a.primary-button.only-icon i {
        font-size: 16px;
    }

    nav a {
        font-weight: 800;
        font-size: 16px !important;
    }
}