.menu-overlay .nav ul li a:after {
  content: '';
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: #01cab8;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  position: absolute;
  z-index: 5;
  -webkit-transition-duration: 500ms;
  transition-duration: 500ms;
}
.menu-overlay .nav ul li a:hover:after {
  width: 70px;
  background-color: white;
}

.menu {
  position: absolute;
  top: 15px;
  right: 30px;
  height: 50px;
  width: 50px;
  z-index: 100;
}

.menu-link {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 2;
}

.hamburger-icon {
  position: absolute;
  width: 35px;
  height: 27px;
  margin: auto;
  left: 0;
  top: 0;
  right: 0;
  bottom: 1px;
}
.hamburger-bar {
  background-color: #ffffff;
  height: 3px;
  width: 100%;
  border-radius: 2px;
  position: absolute;
  left: 0;
  transition: all 0.25s ease-in-out;
}
.hamburger-bar-2 {
  top: 0;
  bottom: 0;
  margin: auto;
}
.hamburger-bar-3 {
  bottom: 0;
}
.menu.open .hamburger-bar-1 {
  transform: translateY(12px) translateY(-50%) rotate(45deg);
}
.menu.open .hamburger-bar-2 {
  opacity: 0;
}
.menu.open .hamburger-bar-3 {
  transform: translateY(-15px) translateY(50%) rotate(-45deg);
}

.menu-overlay {
  background-color: #142958;
  color: #ffffff;
  height: 100%;
  width: 30%;
  position: fixed;
  transition: opacity 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  z-index: 1;
  /*opacity: 0;*/
  visibility: hidden;
  padding: 30px;
  right: -30%;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.menu-overlay h3 {
  font-family: 'Charm', cursive !important;
  margin: 20px 0;
  font-size: 38px;
}

.menu-overlay ul {
  display: grid;
  text-align: center;
}

.menu-overlay.open {
  /*opacity: 1;*/
  visibility: visible;
  right: 0%;
}

.menu-overlay a {
  display: inline-block;;
  position: relative;
  color: #ffffff;
  margin: 10px 0;
  font-weight: 300;
  padding: 10px 0;
}

.menu-overlay a:hover {
  color: #ffffff;
  text-decoration: none;
}

.menu-overlay p {
  text-align: center;
  color: #fff;
  margin-top: 40px;
}

.menu-overlay p a {
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 900px) {
  .menu {
    right: 25px;
  }
  .menu-overlay {
    width: 100%;
    right: -100%;
  }
  .menu-overlay a {
    margin: 5px 0;
  }
}