.navbar {
    display: flex;
    position: fixed;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    left: 0;
    right: 0;
    height: auto;
    top: 0;
    border-bottom-right-radius: 1rem;
    border-bottom-left-radius: 1rem;
    gap: 2rem;
    z-index: 999;
    transition: background-color 0.15s ease;

}

#mainMenu.scrolled {
    background-color: white;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15);
}

#mainMenu.scrolled .links-nav ul li a {
    color: #333;
}


.hamburger {
    display: none;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 1000;
    color: white;
    font-size: 1.5rem;
    transition: color 0.35s ease;
}

#mainMenu.scrolled .hamburger:not(.active) {
    color: #000;
}

@media (max-width: 675px) {
    .hamburger.scrolled-hamburger:not(.active) {
        color: #000 !important;
    }
}

.hamburger.active {
    color: #000 !important;
}

@media (max-width: 675px) {
    .hamburger {
        display: block;
    }

    .links-nav {
        position: fixed;
        top: -100%;
        left: 0;
        width: 100%;
        background: white;
        transition: top 0.35s ease;
        padding: 20px 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        z-index: 10;
        text-align: center;
        border-bottom-right-radius: 1rem;
        border-bottom-left-radius: 1rem;
    }

    .links-nav.active {
        top: 0;
    }

    .links-nav ul {
        flex-direction: column;
        padding: 0;
        margin: 0;
    }

    .links-nav ul li a {
        color: #000000 !important;
        font-size: 1.1rem;
    }
}

ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 1.5rem;
    padding-left: 0px;
}

.logo {
    width: 100%;
    height: auto;
    filter: brightness(1000);
}

a,
li {
    text-decoration: none;
    list-style: none;
    color: white;
    font-family: Montserrat;
    font-size: 1.125rem;
    transition: color 3s;
    transition: transform 0.3s ease;
}

li:hover {
    transform: translateY(-2px);
}