/*Styles for menu -f reuired*/
/*navagation*/
.menu {
    display: block;
    position: fixed;
    top: 0;
    z-index: 2;
    width: 100%;
    background-color: white;
    padding-top: .5rem;
    padding-bottom: .5rem;
    border-top: 5px solid var(--corporate-trim);
    border-bottom: 5px solid var(--corporate-trim);
}


.menu::before {
    content:  "";
    position: absolute;
    top:0;left: 0;bottom: 0; right: 0;
    background-color: var(--corporate-25);
    z-index: -1;
}

/* Enhanced styling if backdrop-filter is supported */
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .menu {
        background-color: rgba(255, 255, 255, 0.6); /* translucent white */
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); /* slightly more depth */
    }
}



.nav {
    padding: 1rem;
}

.menu-list{
    margin-left: 1rem;
}

.menu-list summary {
    list-style-type: none;
    background: url("../../public/images/menu-closed.webp") no-repeat 0px 50%;
    font-weight: 700;
    padding-left: 50px;
    
}

.menu-list[open] summary {
    background: url("../../public/images/menu-open.webp") no-repeat 0px 50%;
}

.menu-list summary:hover {
    cursor: pointer;
}

.nav-list {
    list-style: none;
    margin-top: 5px;
    margin-left: 4rem;
}

.nav-list li {
    margin-bottom: 5px;
}
.nav-list a {
    text-decoration: none;
}

.selected {
    font-weight: bold;
}
