.burger_btn {
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}

.burger_btn div {
  height: 2px;
  width: 25px;
  border-radius: 100px;
  background-color: rgb(var(--color-light) / 1);
  margin-bottom: 5px;
  transition: all 0.3s;
}

.burger_btn div:nth-child(3) {
  margin-bottom: 0;
}

.burger_btn.active div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger_btn.active div:nth-child(2) {
  transform: rotate(160deg);
  opacity: 0;
}

.burger_btn.active div:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}
