.navbar {
    background-color: white;
    font-size: 1rem;
    font-weight: lighter;

    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.navbar-menu {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-evenly;
}

.navbar a {
    text-decoration: none;
    color: black;
    transition: color 0.3s ease;
    cursor: pointer;
}

.navbar a:hover {
    color: rebeccapurple;
}

.dropdown {
    position: relative;
}

.dropdown > a::after {
    content: ' ▼';
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;    
    padding: 50px;
    z-index: 1000;
    background-color: white;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-content a {
    display: block;
    padding: 0.2rem;
    padding-bottom: 0.5rem;
    color: black;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: white;
}

.dropdown:hover .dropdown-content {
    display: block;
    min-width: 10rem;
    opacity: 1;
    padding: 0.2rem;
    transform: translateY(0) translateX(-0.2rem);
}

