#menu {
  background: #a6120e;
  background: linear-gradient(to bottom, #a6120e, #a6120e);
  color: #fdfdfd;
  padding-left: 0px;
  padding-top: 0px;
  border-radius: 0;
  border-bottom: 1px solid #bababa;
  display: flex;
  flex-direction: column;
  justify-content:space-between;
  align-items: center;
}
#menu ul, #menu li {
  margin: 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1px;
}
#menu ul {
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
}
#menu li {
  float: left;
  display: inline;
  position: relative;
}
#menu a {
  display: block;
  line-height: 40px;
  padding: 0 5px;
  text-decoration: none;
  color: #fdfdfd;
  font-size: 9.5pt;
  border-radius: 8px;
}

@media screen and (max-width: 380px) {
  #menu a {
    padding: 0 3px;
    font-size: 8.5pt;
  }
}
#menu a.dropdown-arrow:after {
  content: "\25BE";
  margin-left: 5px;
}
#menu li a:hover {
  color: #474747;
  background: #fdfdfd;
}
#menu a.active,
#menu a.active:hover {
  color: #474747;
  background: #fdfdfd;
}
#menu input {
  display: none;
  margin: 0;
  padding: 0;
  height: 52px;
  width: 100%;
  opacity: 0;
  cursor: pointer
}
#menu label {
  display: none;
  line-height: 52px;
  text-align: center;
  position: absolute;
  left: 35px
}
#menu label:before {
  font-size: 1.6em;
  content: "\2261";
  margin-left: 20px;
}
#menu ul.sub-menus{
  height: auto;
  overflow: hidden;
  width: 170px;
  background: #474747;
  position: absolute;
  z-index: 99;
  display: none;
}
#menu ul.sub-menus li {
  display: block;
  width: 100%;
}
#menu ul.sub-menus a {
  color: #fdfdfd;
  font-size: 12pt;
}
#menu li:hover ul.sub-menus {
  display: block
}
#menu ul.sub-menus a:hover{
  background: #fdfdfd;
  color: #474747;
}
