
* {
  box-sizing: border-box;
  font-family: helvetica;
  margin: 0;
  padding: 0;
}

body {
  background-color: #000000;
}

#checkbox, .btn span:nth-child(2) {
  display: none;
}

.btn {
  display: block;
  background-color: #75955B;
  color: #fff;
  width: 3.4375em;
  height: 3.125em;
  line-height: 3.125em;
  padding: 0 1.25em;
  cursor: pointer;
  transition: width .3s ease-in-out;
  position: absolute;
  top: 0.625em;
  left: 0.625em;
  z-index: 1200;
}

.hamburguer {
  font-size: 2em;
  margin-left: -0.18em;
}

.sidebar {
  font-family: system-ui, sans-serif;
  background-color: #2B2E33;
  position: fixed;
  top: 0;
  left: 0;
  width: 15.625em;
  height: 100%;
  z-index: 1100;
  transform: translateX(-15.625em);
  transition: transform .3s ease-in-out;
  padding-top: 3.75em;
}

.sidebar ul {
  list-style: none;
}

.sidebar ul li a {
  display: block;
  padding: 0.9375em 1.25em;
  text-decoration: none;
  color: #BAB5BD;
  transition: background-color .2s;
}

.sidebar ul li a:hover,
.sidebar ul li a.active {
  background-color: #161920;
  color: #fff;
}

.sidebar ul li a:hover::before,
.sidebar ul li a.active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0.25em;
  height: 100%;
  background-color: #75955B;
}

#checkbox:checked ~ .sidebar {
  transform: translateX(0);
}

#checkbox:checked + .btn {
  width: 15.625em;
}

#checkbox:checked + .btn span:nth-child(2) {
  display: inline;
  margin-left: 0.625em;
  @media only screen and (max-width: 1170px) {
    display: block;
  }
}
