* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

li {
  font-size: 20px;
  list-style: none;
  margin-top: 15px;
  font-weight: 600;
}

.hamburger-menu input[type="checkbox"] {
  position: absolute;
  display: block;
  top: 15px;
  left: 15px;
  width: 40px;
  height: 32px;
  z-index: 5;
  opacity: 0;
}

.hamburger-lines {
  width: 40px;
  height: 32px;
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-lines .line {
  display: block;
  height: 6px;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.733);;
  border-radius: 10px;
}

.menu-items {
  padding: 60px 50px;
  height: 100vh;
  width: 400px;
  transform: translateX(-110%);
  transition: transform 0.5s ease-in-out;
  background-color: rgba(0, 0, 0, 0.733);
}

.hamburger-menu input[type="checkbox"]:checked ~ .menu-items {
  transform: translateX(0%);
  color: #f4f4f4;
}

.hamburger-menu input[type="checkbox"]:checked ~ .hamburger-lines .line{
  background-color: #e6dcdcfd;
}

.hamburger-lines .line-1{
  transform-origin: 0% 0%;
  transition: transform 0.3s ease-in-out;
}

.hamburger-lines .line-3{
  transform-origin: 0% 100%;
  transition: transform 0.3s ease-in-out;
}

.hamburger-menu input[type="checkbox"]:checked ~ .hamburger-lines .line-1{
  transform: rotate(45deg);
}
.hamburger-menu input[type="checkbox"]:checked ~ .hamburger-lines .line-2{
  display: none;
}
.hamburger-menu input[type="checkbox"]:checked ~ .hamburger-lines .line-3{
  transform: rotate(-45deg);
}