.navbar {
    background-color: #FFFECE;
    padding: 0px;
    margin: 0px;
    overflow: visible;
    border-radius: 16px;
    border: 1px solid #5a590075;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;

    align-items: center;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.navbar a {
    color: rgb(77, 71, 0);
    text-decoration: none;
    padding: 32px;
    display: block;
    text-align: center;
    transition-duration: 0.2s;
}

.navbar a:hover {
    background-color: rgb(255, 251, 0);
}

.navbar li {
    float: left;
}

.logo img {
    float: left;
    width: auto;
    height: 10vh;
}

/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    background-color: #FFFECE; /* Matching your navbar color */
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    box-sizing: border-box;
    z-index: 1001;
    border-radius: 0 0 12px 12px;
    border: 1px solid #5a590075;
    overflow: hidden;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: rgb(77, 71, 0);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: rgb(255, 251, 0);
}

/* Ensure the li float doesn't break the dropdown */
.navbar li.dropdown {
    float: left;
}