
body{
  margin:0;
  padding:0;
  -webkit-box-sizing:border-box;
  box-sizing:border-box;
  color: #fff;
  position: relative;
  transform: translateX(0px);
  transition: transform 800ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
  overflow-x: hidden;
}

/*----------------- button ---------*/
.button {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  background:transparent;
  width:50px;
  height:40px;
  overflow:hidden;
  cursor:pointer;
}

.button:hover{
  cursor:pointer;
}

.button > .line{
  display:block;
  width:80%;
  height:2px;
  background:#fff;
  margin:6px auto;
}

.button .line:nth-child(1), .button .line:nth-child(3){
  -webkit-transform:rotate(0deg) translateY(0);
  -moz-transform:rotate(0deg) translateY(0);
  ttransform:rotate(0deg) translateY(0);
    -webkit-transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition:         all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55); 
}

.button .line:nth-child(2){
  -webkit-transform:translateX(0);
  -moz-transform:translateX(0);
  transform:translateX(0);
   -webkit-transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition:         all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55); 
}


/*-------------- the close button ---------*/

.close .line:nth-child(1) {
  -webkit-transform:rotate(45deg) translateY(10px);
  -moz-transform:rotate(45deg) translateY(10px);
  transform:rotate(45deg) translateY(10px);
  
}

.close .line:nth-child(3) {
  -webkit-transform:rotate(-45deg) translateY(-10px);
  -moz-transform:rotate(-45deg) translateY(-10px);
  transform:rotate(-45deg) translateY(-10px);
}

.close .line:nth-child(2){
  -webkit-transform:translateX(-100px);
  -moz-transform:translateX(-100px);
  transform:translateX(-100px);
}


/*---------------- menu -----------*/
.menu {
  position: absolute;
  top: 100px;
  left: 0;
  bottom: 0;
  width: 75%;
  height: 100vh;
  overflow:hidden;
  padding-left: 10%;
  -webkit-transform: translateX(-150%);
  transform: translateX(-150%);
transition: transform 500ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition-delay: .1s;
}

.menu nav ul {
  margin: 0;
  padding: 20px 0;
  list-style: none;
}

.menu nav ul li {
  margin: 0;
  padding: 0;
}

.menu nav ul li a{
  color:#000;
  text-decoration:none;
  display: block;
  font-size: 18px;
  padding: 10px 20px 10px 0;
  -webkit-transform:translateX(0px);
  transform:translateX(0px);
    -webkit-transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition:         all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.menu nav ul li a:hover{
  background: rgba(1,1,1,.3);
  -webkit-transform:translateX(20px);
  transform:translateX(20px);
}

.nav__div, .nav__link {
  color: #000;
  margin-bottom: 10px;
}

/*-- class of show and hide the menu --*/
body.nav_is_visible {
  transform: translateX(75%);
}

body.nav_is_visible .menu {
  transform: translateX(-100%);
}


/*----------------- content ---------------*/
.content {
  position: absolute;
  margin: 0 auto;
  padding: 30px 20%;
  font-size: 18px;
  transform: translateX(100%);
transition: color 1s ease 1s, background 0.5s ease 1s, transform 1000ms cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.3s;
}

.content  h1 {
  font-size: 60px;
 
}

.content  p {
  margin-bottom: 100px;
  line-height: 2.4;
}

.content .wrapper{
   -webkit-transform:translateX(300%);
  transform:translateX(300%);
      -webkit-transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition: all 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.home_is_visible .home .wrapper,
.aboutus_is_visible .aboutus .wrapper,
.clients_is_visible .clients .wrapper,
.contactus_is_visible .contactus .wrapper{
  -webkit-transform:translateX(0);
  transform:translateX(0);
}

.home_is_visible {
  background-color: #fff
}

/*--------------- effect ---------------*/
.home_is_visible .home, 
.aboutus_is_visible .aboutus, .clients_is_visible .clients, .contactus_is_visible .contactus {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  z-index:5000;
}


.home_is_visible .home {
  color: white;
  background: #ff9800;
}


.aboutus_is_visible .aboutus {
  color: white;
  background: #9c27b0;
}


.clients_is_visible .clients {
  color: white;
  background: #ff5722;
}

.contactus_is_visible .contactus {
  color: white;
  background: #3f51b5;
}
