/* Navigation styles */
#cssmenu {
  line-height: 1;
  background-color: rgba(0, 0, 0, 0.37);
  background-image: linear-gradient(to bottom, #333333 0%, #141414 100%);
  background-repeat: repeat;
  background-attachment: scroll;
  background-position: 0% 0%;
  border-bottom-width: 2px;
  border-bottom-style: solid;
  border-bottom-color: #141414;
  width: auto;
  height: auto;
  color: white;
}

#cssmenu ul {
  list-style: none;
  display: flex;
  padding: 0px;
  margin: 0px;
}

#cssmenu>ul>li {
  position: relative;
}

#cssmenu>ul>li>a {
  display: block;
  padding-top: 19px;
  padding-left: 20px;
  padding-bottom: 19px;
  padding-right: 20px;
  text-decoration: none;
}

#cssmenu a {
  font-family: "Times New Roman", Times, serif;
  font-size: 13pt;
  line-height: 18px;
  font-weight: bold;
  font-style: italic;
  color: white;
}

/* Dropdown styles */
#cssmenu ul li.has-sub ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: black;
  list-style: none;
}

#cssmenu ul li.has-sub ul a {
  display: block;
  text-decoration: none;
  padding: 10px;
}

#cssmenu ul li.has-sub ul a:hover {
  background-color: #663300
}

#cssmenu ul li.has-sub:hover ul {
  display: block;
}

#cssmenu us li.has-sub ul li {
  display: block;
}

#cssmenu a:hover ul {
  display: block;
}

/* Hamburger menu icon */
.hamburger {
  display: none;
  cursor: pointer;
  padding: 1rem;
  background: none;
  border: none;
  color: white;
}

.hamburger-line {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: white;
  transition: all 0.3s ease;
}

/* Mobile styles */
@media screen and (max-width: 600px) {
  .hamburger {
    display: block;
  }

  #cssmenu ul {
    position: fixed;
    left: -100%;
    top: 0;
    flex-direction: column;
    background-color: #2c3e50;
    width: 80%;
    height: 100vh;
    padding: 50px 0;
    transition: left 0.3s ease;
    overflow-y: auto;
  }

  #cssmenu ul.active {
    left: 0;
  }

  #cssmenu ul li.has-sub:hover ul {
    display: none;
  }
}