.menu-list {
  display: flex;
  flex-wrap: "wrap";
  justify-content: center;
  align-items: stretch;
}

.menu-list li.active {
  border-bottom: 6px solid hsl(47,99%,54%);
}

.menu-list li:hover {
  border-bottom: 6px solid hsl(47,99%,54%);
}



.menu-list li {
  display: flex;
  align-content: center;
  align-items: center;

  border-bottom: 6px solid transparent;
}

.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
}

.menu-toggle-container {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: hsl(47,99%,54%);
  position: absolute;
  height: 4px;
  width: 30px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

@media (max-width: 767px) {

  .menu-list li.active {
    border-bottom: 0px;
  }
  
  .menu-list li:hover {
    border-bottom: 0px;
  }

  .menu-toggle-container{
    display: block;
  }

  .menu-button-container {
    display: flex;
  }
  .menu {
    position: absolute;
    top: 0;
    margin-top: 50px;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .menu-list-container {
    position: absolute;
    margin-top: 100px;
    background-color: hsl(136,61%,26%);
  }

  .menu-list {
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding-bottom: 5px;
  }

  
  .menu-list li {
    width: 100%;
    display: flex;
    justify-content: center;
    border-top: 1px solid hsl(47,99%,54%);
  }
  
  .menu-list li:last-child {
    border-bottom: 1px solid hsl(47,99%,54%);
  }

  .menu-list li.active {
    border-top: 1px solid hsl(47,99%,54%);
  }

  .main-menu ul li.active a {
    font-weight: 900;
  }

  .menu-list.not-checked li {
    font-size: 0;
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 10s linear;
  }

  .menu-list li>a {
    width: 100%;
  }

  .menu-list.not-checked li>a {
    font-size: 0;
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 10s linear;
  }

}