.burgerInput {
  position: absolute;
  opacity: 0;
  z-index: 50;
}

.burgerInput:checked+.burgerLabel>.burgerSpan {
  transform: rotate(45deg);
}

.burgerInput:checked+.burgerLabel>.burgerSpan::before {
  top: 0;
  transform: rotate(0deg);
}

.burgerInput:checked+.burgerLabel>.burgerSpan::after {
  top: 0;
  transform: rotate(90deg);
}

.burgerInput:checked~.navbar {
  right: 0;
}

.burgerLabel {
  position: absolute;
  margin: auto;
  width: 26px;
  z-index: 45;
}

.burgerLabel:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -12px;
  right: 0;
  display: block;
  margin: auto;
  background-color: var(--classy-dark);
  width: 50px;
  height: 50px;
  border-radius: 10px;
}

.burgerSpan {
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--classy-second-dark);
  transition-duration: 0.25s;
}

.burgerSpan::before,
.burgerSpan::after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--classy-second-dark);
  transition-duration: 0.25s;
}

.burgerSpan::before {
  top: -8px;
}

.burgerSpan::after {
  top: 8px;
}