@keyframes overlayIn {
  from {
    background-color: rgba(131, 131, 131, 0);
  }

  to {
    background-color: rgba(131, 131, 131, 0.5);
  }
}

.burgerMenu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
}

.burgerMenu .navbar {
  position: absolute;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  z-index: 40;
  transition-duration: 0.25s;
}

.burgerMenu .navbar.animation {
  animation: overlayIn 0.9s;
  animation-fill-mode: forwards;
}