* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

nav {
    background: #1e40af;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 60px;
    /* position: sticky; */
    top: 0;
    z-index: 100;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar {
    width: 37px;
    height: 37px;
    /* background-color: var(--secondary); */
    /* background-color: gray; */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    /* border: 1px black solid; */
}

.user-avatar img {
    color: white;
}

.hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

.logo {
    align-items: center;
    display: inline-flex;
    font-size: 1.5rem;
    font-weight: 700;
    /* border: red 1px solid; */
}

.logo img {
    height: 50px;
    width: auto;
    margin-right: 10px;
}

.nav-links {
    list-style-type: none;
    display: flex;
    gap: 25px;
}

.nav-links li {
    /* list-style-type: none; */
    display: flex;
    justify-content: center;
    align-items: center;
    /* gap: 25px; */
}

.nav-links a {
    border-radius: 12px;
    display: flex;
    padding: 12px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.profiles-menu {
    width: 50px;
    height: auto;
}

.nav-links a:hover {
    background-color: #eef2ff;
    color: black;
    /* border: black 1px solid; */
    /* padding: 14px; */
}

.active {
    /* display: flex; */
    border: white 1px solid;
    color: black;
}

.active2 {
    /* padding: 1px; */
    /* background-color: white; */
    justify-content: center;
    align-items: center;
    display: flex;
    text-decoration: none;
    color: white;
    /* top: 0.5%;
    right: 4%; */
    /* position: absolute; */
}

.active2:hover {
    background-color: transparent;
}

.active3 {
    /* list-style-type: none; */
    border: white 1px solid;
    border-radius: 12px;
    display: flex;
    padding: 12px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.active3:hover {
    background-color: white;
    color: black;
}

.active4 {
    display: none;
}

.active4 a {
    display: none;
}

.login-pro {
    /* border: white 1px solid; */
    border-radius: 120px;
    width: 37px;
    height: 37px;
}

footer {
    background: #1e3a8a;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

footer p {
    font-size: 0.9rem;
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    nav {
        position: sticky;
        flex-direction: column;
        gap: 10px;
    }

    .hamburger {
        display: block;
        position: absolute;
        top: 20%;
        left: 5%;
    }

    .nav-links {
        position: absolute;
        top: 65px;
        left: 20px;
        background: rgb(255, 255, 255);
        flex-direction: column;
        width: 200px;
        padding: 15px;
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
        display: none;
        /* hidden by default */
    }

    .nav-links li {
        margin-bottom: 10px;
        /* border-bottom: 1px black solid; */
        /* padding: 15px; */
        /* background-color: #2563eb; */

    }

    .nav-links a {
        color: #0d47c3;
    }

    .nav-links.show {
        display: flex;
        animation: fadeDown 0.3s ease;
    }

    .active3 {
        display: none;
        /* opacity: 100%; */
    }

    .active2 {
        display: none;
    }

    .active4 {
        display: flex;
    }

    .active4 a {
        display: flex;
    }
}