.overlay {
  content: "";
  display: block;
  width: 0;
  height: 0;
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
  opacity: 0;
}

.overlay.open {
  width: 100%;
  height: 100%;
  opacity: 1;
}

#Res_Menu {
  height: 100%;
  min-height: 100vh;
  background: #fff;
  transition: all .5s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#Res_Menu h1 {
  text-align: center;
  font-weight: 500;
}

#Res_Menu>p {
  text-align: center;
}

.menu-trigger {
  background: linear-gradient(to right, rgb(00, 58, 148), rgb(00, 158, 232));
  border-radius: 10px;
  display: none;
  width: 60px;
  height: 60px;
  vertical-align: middle;
  cursor: pointer;
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1000;
  transform: translateX(0);
  transition: all .3s;
}

.menu-trigger.active {
  background: transparent;
  transform: translateX(-270px);
  transition: all .3s;
}

.menu-trigger span {
  display: inline-block;
  box-sizing: border-box;
  margin: auto;
  position: absolute;
  left: 0;
  right: 0;
  width: 26px;
  height: 1px;
  background-color: #fff;
}

.menu-trigger.active span {
  background-color: #fff;
  width: 40px;
  height: 3px;
  top: 20px;
  left: 40px;
}

.menu-trigger span:nth-of-type(1) {
  top: 20px;
}

.menu-trigger.active span:nth-of-type(1) {
  top: 3px;
  transform: translateY(12px) rotate(-45deg);
}

.menu-trigger span:nth-of-type(2) {
  top: 30px;
}

.menu-trigger.active span:nth-of-type(2) {
  opacity: 0;
}

.menu-trigger span:nth-of-type(3) {
  top: 40px;
}

.menu-trigger.active span:nth-of-type(3) {
  top: 28px;
}

.menu-trigger.active span:nth-of-type(3) {
  transform: translateY(-12px) rotate(45deg);
}

#slide-menu {
  width: 250px;
  height: 100%;
  background: linear-gradient(to right, rgb(00, 58, 148), rgb(00, 158, 232));
  opacity: 0.9;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
  transform: translate(250px);
  transition: all .5s;
}

#slide-menu.open {
  transform: translateZ(0);
}

#slide-menu li {
  border-bottom: 1px solid #fff;
  text-align: center;
}

#slide-menu li a {
  display: block;
  color: #fff;
  padding: 15px;
}

* {
  box-sizing: border-box;
}

#slide-menu .menu-list {
  list-style: none;
}

@media screen and (max-width:768px) {

  .menu-trigger {
    display: inline-block;
  }

}