/* burgermenu */
.burgermenu {
  background-color: #003399;
  display: block;
  border: none;
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  bottom: 1rem;
  cursor: pointer;
  margin: 1rem;
  width: 4rem;
  height: 3rem; 
} 

.container-lines {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 3rem;
  height: 2rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.line1,
.line2,
.line3,
.line1active,
.line2active,
.line3active {
  width: 3rem;
  height: 0.4rem;
  background: white;
}


.line1active,
.line2active,
.line3active {
  position: absolute;
}

.line1 {
  top: 18%;
}

.line2 {
  top: 43%;
}

.line3 {
  top: 66%;
}

.line1,
.line3 {
  transform: rotate(0deg);
  transition:
    transform 0.2s ease-in-out,
    top 0.2s ease-in-out;
}

.line2 {
  transition: opacity 0.2s ease-in-out;
}

/* active */
.line1active {
  top: 43%;
  transform: rotate(45deg);
  transition:
    top 0.2s ease-in-out,
    transform 0.2s ease-in-out;
}

.line2active {
  top: 43%;
  transition: opacity 0.2s ease-in-out;
  opacity: 0;
}

.line3active {
  top: 43%;
  transform: rotate(-45deg);
  transition:
    top 0.2s ease-in-out,
    transform 0.2s ease-in-out;
}
