@charset "utf-8";
/* CSS Document */
#menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  float: right;
}
#menu li {
  float: left;
}
#menu li a, .dropbtn {
  display: inline-block;
  color: #888075;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  transition: color 0.3s ease; /* Smooth transition for color changes */
}
#menu li a:hover, .dropdown:hover .dropbtn {
  color: #23a3a8;
}
#menu li.dropdown {
  display: inline-block;
}
#menu .dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease-in-out; /* Smooth transition for opacity and transform */
}
#menu .dropdown-content a {
  color: #888075;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  position: relative;
}
#menu .dropdown-content a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #23a3a8;
  transition: width 0.3s ease;
}
#menu .dropdown-content a:hover::after {
  width: 100%; /* Adjust this value to change the length of the border */
}
#menu .dropdown:hover .dropdown-content {
  display: block;
  opacity: 1; /* Ensure opacity transition is visible */
  border-radius: 5px;
}