.wrapper {
  height: 100%;
  overflow-x: hidden;
  position: relative;
}
.overlay {
  content: "";
  display: block;
  width: 0;
  height: 0;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity .5s;
}
.overlay.open {
  width: 100%;
  height: 100%;
  opacity: 1;
}
main {
  height: 100%;
  min-height: 100vh;
  padding: 0 50px;
  background-color: #eee;
  transition: all .5s;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
main.open {
  transform: translateX(-250px);
}
main h1 {
  text-align: center;
  font-weight: 500;
}
main p {
  text-align: center;
}
.menu-trigger {
  display: flex;
  width: 36px;
  height: 28px;
  vertical-align: middle;
  cursor: pointer;

  position: fixed;
  top: 25px;
  left: calc(15%);
  z-index: 100;
/*   transform: translateX(0);
  transition: transform .5s;
 */}
 @media screen and (max-width: 750px) {
  .menu-trigger {
    left: 10px;
  }
}

/* .menu-trigger.active {
  transform: translateX(-250px);
}
 */.menu-trigger span {
  display: inline-block;
  box-sizing: border-box;
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #fff;
  transition: all .5s;
}
.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);
}

nav {
  width: 250px;
  height: 100%;
  padding-top: 100px;
  background-color: rgba(0,188,134, 0.8);
  position: fixed;
  top: 0;
  left: 0px;
  z-index: 10;
  transform: translate(-500px);
  transition: all .5s;
}
nav.open {
  transform: translateZ(0);
}
nav ul li {
  color: #fff;
  padding: 20px 0;
  width: 80%;
  border-bottom: 1px solid #fff;
  list-style-type: none;
  padding-left: 10px;
}

nav ul li ul li {
  color: #fff;
  font-size: 0.8em;
  padding: 10px 0;
  width: 100%;
  border-bottom: 1px solid #fff;
  list-style-type: none;
  padding-left: 0px;
}

nav ul li ul li:last-child {
  color: #fff;
  font-size: 0.8em;
  padding: 10px 0 0;
  width: 100%;
  border-bottom: none;
  list-style-type: none;
  padding-left: 0px;
}

nav a {
  color: #fff;
  text-decoration: none;
  display: block;
}


.menu-trigger {
  transform: translateX(0);
}
.menu-trigger.active {
  transform: translateX(-250px);
}