/*@import url(https://fonts.googleapis.com/css?family=Raleway:400,800,200);*/
html,
body {
  height: 100%;
  font-family:  sans-serif, Tahoma, Helvetica;
  overflow:auto;
  overflow:initial;
}

* {
  box-sizing: border-box;
}

body {
  font-family:  sans-serif, Tahoma, Helvetica;
  /*perspective-origin: 0% 50%;*/
  /*perspective: 800px;*/
  background: transparent;
  overflow: hidden;
  font-size: 13px;
}

nav,
main {
  transition: transform 150ms ease-out;
}

nav {
  z-index: 100;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 16em;
  /* background-color: #353441; */
  background-color: black;
  transform: translateX(-16em);
}
nav.menu-active {
  transform: translateX(0);
}
nav.menu-hover {
  transform: translateX(-15em);
}
nav h1 {
  z-index: 100;
  display: block;
  position: absolute;
  top: 0;
  right: -60px;
  height: 61px;
  width: 60px;
  line-height: 60px;
  font-size: 0.8em;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
  text-transform: uppercase;
  text-align: center;
  background-color: #353441;
  cursor: pointer;
  margin: 0;
}
nav h1:hover {
  color: #353441;
  background: #fff;
}
nav ul {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-y: auto;
}
nav li {
  display: inline-block;
  padding: 0 1em;
  width: 100%;
  height: 50px;
  color: #ffffff;
  line-height: 50px;
  background-color: black;
  cursor: pointer;
}
nav li:nth-of-type(2n) {
  background-color: #3a3947;
}
nav li:hover {
  background: #e8e8e8;
  color:#353441;
  font-weight:normal;
}

main {
  z-index: 0;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  overflow: hidden;
  background-color: #f2f2f2;
  /*transform-origin: 0% 50%;*/
  overflow-y: auto;
  font-size: 20px;
}
main:after {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(to right, transparent, rgba(33, 33, 45, 0.5));
  visibility: hidden;
  opacity: 0;
  transition: opacity 150ms ease-out, visibility 0s 150ms;
}
main.menu-active {
  border-radius: 0.001px;
  transform: translateX(16em) rotateY(15deg);
}
main.menu-active:after {
  visibility: visible;
  opacity: 1;
  transition: opacity 150ms ease-out, visibility 0s;
}
main.menu-hover {
  border-radius: 0.001px;
  transform: translateX(1em) rotateY(1deg);
}
main section {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  padding: 1em 4em;
  max-width: 680px;
  overflow: auto;
  background-color: rgba(255, 255, 255, 0.5);
}



/* section h1 {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 2em;
}
section p {
  display: inline-block;
  margin: 16px 0;
} */

#btnMenu{
  font-size: 35px;
  background-color: #ffed00;

  border-left: 1px solid white;
  color: black;
  height: 70px;
}
#btnMenu.open{
  left: 16em;
}
#btnMenu i.fa{
  vertical-align: bottom;
}