* body {
    /* background: url('https://firebasestorage.googleapis.com/v0/b/codepen-files.appspot.com/o/transparent_Drop_Down_navigation.jpg?alt=media&token=eba64422-ae24-4a30-8a90-f8fd771856d8') center; */
    background-size: cover;
    min-height: 100vh;
    font-family: 'Helvetica Neue', sans-serif;
}

nav {
    text-align: center;
}


.menu>li {
    float: left;
    color: peachpuff;
    width: 140px;
    height: 40px;
    line-height: 40px;
    background: rgba(0, 0, 0, 0.8);
    cursor: pointer;
    font-size: 17px;
}

.sub-menu {
    transform: scale(0);
    transform-origin: top center;
    transition: all 300ms ease-in-out;
}


.sub-menu li {
    font-size: 14px;
    background: rgba(0, 0, 0, 0.8);
    padding: 8px 0;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    /*display: none;*/
    transform: scale(0);
    transform-origin: top center;
    transition: all 300ms ease-in-out;
}

.sub-menu li:last-child {
    border-bottom: 0;
}


.sub-menu li:hover {
    background: black;
}


.menu>li:hover .sub-menu li {
    /*display: block;*/
    transform: scale(1);
}


.menu>li:hover .sub-menu {
    transform: scale(1);
}

/* Dropdown hidden by default */
.dropdown {
    display: none;
    position: absolute;
    background-color: #fff;
    list-style: none;
    padding: 10px;
    margin: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Show dropdown on hover */
.has-children:hover>.dropdown {
    display: block;
}

.site-mobile-menu .dropdown {
    display: none;
    /* Hidden by default */
    position: relative;
    /* Ensure proper positioning */
}

.site-mobile-menu .dropdown.open {
    display: block;
    /* Show dropdown when open */
}

.site-mobile-menu .has-children>a {
    position: relative;
    /* For click interaction */
    cursor: pointer;
    /* Indicate clickable links */
}

.site-mobile-menu .has-children>a::after {
    content: "▼";
    /* Optional: Add an arrow indicator */
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #333;
}