body {
  margin: 0;
  font-family: Helvetica, sans-serif;
  background-color: #fff;
}

a {
  color: #666;
}

/* header */

.header {
  background-color: #fff;

  width: 100%;
  z-index: 3;
}

.header ul {

  padding: 0;
  height: 40px;
  list-style: none;
  overflow: hidden;
  background-color: #fff;
  float: right;

  z-index: 888;
}
  .header li {
    float: left;
  }

.header li a {
  display: block;
  padding: 2px 20px;
  text-decoration: none;
  font-size: 1.5em;
}

.header li a:hover,
.header .NSmenu-btn:hover {

}

.header .logo {
  display: block;
  float: left;
  text-transform: uppercase;
  font-size: 1.5em;

  padding: 10px 20px;
  text-decoration: none;
  color: #666;
}

/* menu */

.header .NSmenu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}

/* menu icon */

.header .NSmenu-icon {
  cursor: pointer;
  display: inline-block;
  float: right;
  padding: 28px 20px;
  position: relative;
  user-select: none;
    z-index: 999;
}

.header .NSmenu-icon .navicon {
  background: #666;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}

.header .NSmenu-icon .navicon:before,
.header .NSmenu-icon .navicon:after {
  background: #666;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.header .NSmenu-icon .navicon:before {
  top: 5px;
}

.header .NSmenu-icon .navicon:after {
  top: -5px;
}

/* menu btn */

.header .NSmenu-btn {
  display: none;
    z-index: 999;

}

.header .NSmenu-btn:checked ~ .NSmenu {
  max-height: 240px;
    z-index: 888;
}

.header .NSmenu-btn:checked ~ .NSmenu-icon .navicon {
  background: transparent;
}

.header .NSmenu-btn:checked ~ .NSmenu-icon .navicon:before {
  transform: rotate(-45deg);
}

.header .NSmenu-btn:checked ~ .NSmenu-icon .navicon:after {
  transform: rotate(45deg);
}

.header .NSmenu-btn:checked ~ .NSmenu-icon:not(.steps) .navicon:before,
.header .NSmenu-btn:checked ~ .NSmenu-icon:not(.steps) .navicon:after {
  top: 0;
}

/* 48em = 768px */

@media (min-width: 240em) {
  .header li {
    float: left;
  }
  .header li a {
    padding: 20px 30px;
  }
  .header .NSmenu {
    clear: none;
    float: right;
    max-height: none;
  }
  .header .NSmenu-icon {
    display: none;
      z-index: 999;
  }
}