.menu-btn {
  position: relative;
  display: block;
  height: 48px;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
.menu-btn-icon {
  left: 50% !important;
  margin-top: -1px;
  margin-left: -12.5px;
}
.menu-btn-icon, .menu-btn-icon:before, .menu-btn-icon:after {
  position: absolute;
  top: 50%;
  left: 2px;
  height: 2px;
  width: 24px;
  background: #fff;
  transition: all 0.25s;
}
.menu-btn-icon:before {
  content: '';
  top: -7px;
  left: 0;
}
.menu-btn-icon:after {
  content: '';
  top: 7px;
  left: 0;
}
#menu-state:checked ~ .menu-btn .menu-btn-icon {
  height: 0;
  background: transparent;
}
#menu-state:checked ~ .menu-btn .menu-btn-icon:before {
  top: 0;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
#menu-state:checked ~ .menu-btn .menu-btn-icon:after {
  top: 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
#menu-state {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
}
#menu-state:not(:checked) ~ #menu.top {
  display: none;
}
#menu-state:checked ~ #menu.top {
  display: block;
}
#menu.top {
  background-color: rgb(126 41 23);
}
@media (min-width: 768px) {
  .menu-btn {
    position: absolute;
    top: -99999px;
  }
  #menu-state:not(:checked) ~ #menu.top {
    display: block;
  }
  #menu.top {
    background-color: inherit;
  }
}
