ul.menu {

    padding: 0;

}

#top-bar {
    list-style: none;
    display: inline-flex;
    justify-content: space-between;
    margin: 0;
    position:relative;
}



header #top-bar li a {

    font-size: medium;
    
    
}



header #top-bar li{
  height:100%;
  display:flex;
  align-items: center;
  position:relative;
}

/* Show sub-menu when parent is hovered */
#top-bar .menu-item-has-children:hover .sub-menu {
    display: block;
}

/* Style the sub-menu */
#top-bar .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    padding: 0 2em;
    background-color: #5366a3;
    width: max-content;
}

.footer-menu {
    list-style: none;
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-left: 0;
}

footer .sub-menu {
    list-style: none;
    padding-left: 0;
}

footer li a {
    font-weight: bold;
}

.sub-menu li {
    margin: 1em 0;
}

.sub-menu li a{
    margin: 1em 0;
    font-weight:normal;
}

footer .sub-menu li {
    margin: 0;
}

/* Hamburger Menu Icon */

.toggle-wrapper {
    position: sticky;
    top: 0;
    z-index: 998;
    background: #fff;
    width: 100%;
    padding: 0.5em 1em;
}

.toggle-wrapper::before {
    content: '';
    background: #fff;
    position: absolute;
    top: 0;
    left: 0;
    right:0;
    bottom:0;
    mix-blend-mode: multiply;
    box-shadow: #000 0em 0.3em 0.3em;
    opacity:0.5;
}

.hamburgler {
  display: block;
  width: 30px;
  height: 15px;
  cursor: pointer;
  margin: 0.5em auto 1em auto;
  padding: 0;
  position:relative;
  z-index:999;
}

.hamburgler .bun {
  background-color: #000;
  display: block;
  height: 3px;
  position: absolute;
  width: 100%;
  transition: transform 0.3s ease;
}

.hamburgler .bun.top {
  top: 0;
}

.hamburgler .bun.bottom {
  bottom: 0;
}

.toggle-nav .bun.top {
  transform: translateY(17px) rotate(45deg);
}

.toggle-nav .bun.bottom {
  transform: translateY(5px) rotate(-45deg);
}


/* Menu Toggle Animation */


/* Mobile Menu */
.mobile-menu {
    display: none;
    position: sticky;
    top: 55px;
    left: 0;
    width: 100%;
    padding: 20px 20px;
    z-index: 998;
    color: #000;
    background-color: #fff;
}

.mobile-menu::before {
    content: '';
    background: #fff;
    position: absolute;
    top: 55px;
    top: 0;
    left: 0;
    right:0;
    bottom:0;
    mix-blend-mode: multiply;
    box-shadow: #000 0em 0.3em 0.3em;
    opacity:0.5;
    z-index: -1;
}

.toggle-nav .mobile-menu {
  display: block;
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
  padding-left: 0;
}

.mobile-menu li {
    padding: 1em 0;
    border-bottom: 1px solid #eee;
}

.mobile-menu li:last-child {
    border-bottom: none;
}

.mobile-menu ul a{
  color:#000;
}

@media only screen and (max-width: 719px) {

  #Menu-Nav{
    display:none!important;
  }

  #top-bar{
    display:none!important;
  }

  .footer-menu li {
    width: 100%;
    margin: 1em 0;
  }

  .footer-menu .sub-menu li{
    margin: 0.5em 0;
}

  .footer-menu{
    margin-top:2em;
  }

}

#Menu-Nav{
  top:50%;
  transform:translateY(-50%);
  z-index:1;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  justify-content: start; 
  border-radius:1em;
  background-color:#fff;
  padding:0;
  margin-left: 2%;
  position: fixed;
  overflow:hidden;
  z-index: 2;
  box-shadow: #383838 0em 0 0.3em;
}

#Menu-Nav a{
padding: 1rem;
font-weight: bold;
font-size: large;
letter-spacing: 3px;
}


.hidden {
  display:none!important;
}

.visible {
  display: block; /* Show the div */
}