.overlay {
  content: "";
  display: block;
  width: 0;
  height: 0;
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity .5s;
}

.overlay.open {
  width: 100%;
  height: 100%;
  opacity: 1;
}

#Res_Menu {
  height: 100%;
  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 {
  display: none;
  width: 36px;
  height: 28px;
  vertical-align: middle;
  cursor: pointer;
  position: fixed;
  top: 10px;
  right: 5px;
  z-index: 100;
  transform: translateX(0);
  transition: transform .5s;
}

.menu-trigger.active {
  transform: translateX(-200px);
}

.menu-trigger span {
  display: inline-block;
  box-sizing: border-box;
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #7F7F7F;
}

.menu-trigger.active span {
  background-color: #fff;
}

.menu-trigger span:nth-of-type(1) {
  top: 0;
}

.menu-trigger.active span:nth-of-type(1) {
  transform: translateY(12px) rotate(-45deg);
}

.menu-trigger span:nth-of-type(2) {
  top: 12px;
}

.menu-trigger.active span:nth-of-type(2) {
  opacity: 0;
}

.menu-trigger span:nth-of-type(3) {
  bottom: 0;
}

.menu-trigger.active span:nth-of-type(3) {
  transform: translateY(-12px) rotate(45deg);
}

#slide-menu {
  width: 200px;
  height: 100%;
  padding-top: 0;
  background: rgba(240, 240, 240, 0.8);
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10;
  transform: translate(250px);
  transition: all .5s;
}

#slide-menu.open {
  transform: translateZ(0);
}

#slide-menu li {
  padding: 0 20px;
  border-bottom: 1px solid #7F7F7F;
  text-align: left;
}

#slide-menu li>a {
  color: #000;
  position: relative;
  display: block;
  padding: 10px 0 10px 30px;
  vertical-align: middle;
  text-decoration: none;
  font-size: 15px;
}

#slide-menu li>a::before {
  left: 0;
  width: 6px;
  height: 6px;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
}


* {
  box-sizing: border-box;
}

#slide-menu .menu-list {
  list-style: none;
}

@media screen and (max-width:768px) {
  #Res_Menu {
    padding: 0;
    transition: all .5s;
  }

  .menu-trigger {
    display: block;
  }
}

@media screen and (max-width:480px) {
  #Res_Menu h1 {
    margin: 0;
    width: 60%;
    max-width: 289px;
  }

  #Res_Menu h1 img {
    width: 100%;
  }
}