a {
  color: white;
}

.header{
  background-color: black;
  position: absolute;
  width: 100%;
  z-index: 3;
  padding: 0px 20px 0px 0px;
  top: -4px;
}

.header ul{
  margin: 0;
  padding: 0;
  list-style-type: none;
  overflow: hidden;
  background-color: black;
}

.header ul a{
  display: block;
  padding: 0px;
  text-decoration: none;
  font-size: 18px;
}


.header h2{
  float: left;
  display: block;
  font-size: 2rem;
  padding: 10px 20px;
  font-size: 60px;
  text-decoration: none;
}

.header a h2:hover{
  color: rgb(247, 90, 0);
}

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

.header .menu-icon{
  padding: 28px 20px;
  position: relative;
  float: right;
  cursor: pointer;
  margin-top: 11px;
}

.header .menu-icon .nav-icon{
  background: white;
  display: block;
  height: 2px;
  width: 18px;
  position: relative;
  transition: background .2s ease-out;
}

.header .menu-icon .nav-icon:before{
  background: white;
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  transition: all .2 ease-out;
  top: 5px;
}

.header .menu-icon .nav-icon:after{
  background: white;
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  transition: all .2 ease-out;
  top: -5px;
}

.header .menu-btn{
  display: none;
}

.header .menu-btn:checked ~ .menu{
  max-height: 240px;
}

.header .menu-btn:checked ~ .menu-icon .nav-icon{
  background: transparent;
}

.header .menu-btn:checked ~ .menu-icon .nav-icon:before{
  transform: rotate(-45deg);
  top: 0;
}

.header .menu-btn:checked ~ .menu-icon .nav-icon:after{
  transform: rotate(45deg);
  top: 0;
}

@media (min-width: 48em){
  .header li{
    float:left;
  }
  .header li a{
    padding: 0px 20px;
  }
  .header .menu{
    clear: none;
    float: right;
    max-height: none;
  }
  .header .menu-icon{
    display: none;
  }
}

@media (width: 1024px){
  .header li a{
    padding: 0px 8px;
  }
}