.navbar-container {
    margin-top: 0;
    width: 100%;
    height: fit-content;
    max-height: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: blueviolet;
}

.navbar-item, .dropdown-menu {
    margin: 0;
    border: none;
    outline: none;
    background-color: transparent;
    border-radius: 7px;
    height: fit-content;
}

.navbar-item a, .dropdown-menu a {
    color: white;
    text-decoration: none;
    padding: 14px 16px;
    float: left;
    border-radius: 7px;
}

.dropdown-menu:hover > a{
    background-color: darkgray;
}
.navbar-item a:hover, .dropdown-menu a:hover{
    background-color: black;
}
.dropdown-menu {
    position: relative;
}

.dropdown-menu:hover .dropdown-content {
    display: block;
}

.dropdown-content {
    border-radius: 7px;
    display: none;
    position: absolute;
    background-color: rebeccapurple;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    top: 100%; 
    left: 0;
    width: fit-content;
}

.dropdown-item {
    box-sizing: border-box;
    width: 100%;
}
.dropdown-item a{
    box-sizing: border-box;
    display: block; /* Make each link fill the container */
    width: 100%; /* Ensure the anchor tags inside fill the width of the dropdown content */
}