.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 10%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
  white-space: nowrap;

}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 36px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

.overlay a:hover,
.overlay a:focus {
  color: #f1f1f1;
}

.menu-btn {
  position: fixed;
  top: 0;
  right: 1%;
  z-index: 5;
  width: 80px;
  height: 80px;
  justify-content: center;
  align-items: center;
  display: flex;
}

.menu_burger {

  width: 39px;
  height: 3px;
  background-color: white;
  border-radius: 3px;
  transition: all .5s ease-in-out;
}

.menu_burger::after,
.menu_burger::before {

  content: "";
  position: absolute;
  width: 39px;
  height: 3px;
  background-color: white;
  border-radius: 3px;
  transition: all .5s ease-in-out;
}

.menu_burger::after {
  transform: translatey(13px);
}

.menu_burger::before {
  transform: translatey(-13px);
}

.menu_burger.open::before {
  transform: rotate(45deg) translate(35px, -35px);
}

.menu_burger.open::after {
  transform: rotate(-45deg) translate(35px, 35px);
}

.menu_burger.open {
  transform: translatex(-50px);
  background: transparent;
}

@media only screen and (min-width: 980px) {
  .menu_burger {
    display: none;
  }
  .overlay {
    display: none !important;
  }
}