@import url(http://fonts.googleapis.com/css?family=Raleway:400,300,700);
html {
  height: 100%;
}

body {
  height: 100%;
  font-family: "Raleway", sans-serif;
  color: #F5F3EC;
  background: #333;
  margin: 0px;
  padding: 0p;
  line-height: 1;
}

#wrapper {
  position: relative;
  height: 100%;
  overflow: hidden;
  background-color: #3A393F;
  box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.8);
  z-index: 1;
  transition-property: transform;
  transition-duration: 0.5s;
  background: url("http://www.xbladex.com/Nav/background.jpg") no-repeat scroll center center/cover transparent;
}

header {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 55px;
  z-index: 2;
  /* background: none repeat scroll 0% 0% rgba(58, 57, 63, 0.6); */
  transition: #000 0.2s ease 0s;
}

#wrapper h1 {
  position: absolute;
  width: 90%;
  left: 50%;
  top: 15%;
  bottom: auto;
  right: auto;
  transform: translateX(-50%) translateY(-50%);
  text-align: center;
  font-weight: bold;
  color: #FFF;
  font-size: 1.925rem;
}
#wrapper.hide {
  transform: scale(0.6);
}

.nav_icon {
  padding: 25px 10px;
  width: 30px;
  display: block;
}
.nav_icon.close {
  position: absolute;
  right: 0px;
  top: 0px;
  display: block;
}
.nav_icon.close i:before, .nav_icon.close i:after {
  background: #3A393F;
}
.nav_icon i {
  position: relative;
  display: block;
  width: 30px;
  height: 4px;
  background: #fff;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.nav_icon i:before, .nav_icon i:after {
  position: absolute;
  background: #fff;
  content: "";
  width: 30px;
  height: 4px;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.nav_icon i:before {
  top: -8px;
}
.nav_icon i:after {
  top: 8px;
}
.nav_icon:hover i:before {
  top: -10px;
}
.nav_icon:hover i:after {
  top: 10px;
}
.nav_icon.close:hover i:before {
  top: -8px;
}
.nav_icon.close:hover i:after {
  top: 8px;
}
.nav_icon.active i {
  background: transparent;
}
.nav_icon.active i:before {
  -webkit-transform: rotate(45deg) translate(5px, 6px);
  -ms-transform: rotate(45deg) translate(5px, 6px);
  transform: rotate(45deg) translate(5px, 6px);
}
.nav_icon.active i:after {
  -webkit-transform: rotate(-45deg) translate(5px, -6px);
  -ms-transform: rotate(-45deg) translate(5px, -6px);
  transform: rotate(-45deg) translate(5px, -6px);
}

shadow_layer {
  position: fixed;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  background: none repeat scroll 0% 0% rgba(0, 0, 0, 0.4);
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: visibility 0s ease 0.5s, opacity 0.5s ease 0s;
}

.cd-shadow-layer.show {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

#main_nav {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: none repeat scroll 0% 0% #EEECF5;
  transform: translateY(-100%);
  transition-property: transform;
  transition-duration: 0.5s;
  z-index: 3;
}
#main_nav.show {
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.4);
  transform: translateY(0px);
}
#main_nav ul {
  list-style: none;
  position: absolute;
  width: 90%;
  left: 50%;
  top: 40%;
  bottom: auto;
  right: auto;
  transform: translateX(-50%) translateY(-50%);
}
#main_nav ul li {
  font-size: 30px;
  text-align: center;
  margin: 0px;
  padding: 0px;
}
#main_nav ul li a {
  text-decoration: none;
  text-align: center;
  font-weight: normal;
  color: #3A393F;
  font-size: 3.925rem;
  line-height: 6.925rem;
  position: relative;
  text-decoration: none;
}
#main_nav ul li a:before {
  content: "";
  position: absolute;
  transition: transform 0.5s ease;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: #3A393F;
  transform: scaleX(0);
}
#main_nav ul li a:after {
  content: "";
  position: absolute;
  transition: transform 0.5s ease;
}
#main_nav ul li a:hover:before {
  transform: scaleX(1);
}
