﻿/* menu */
header .menu {
  clear: both;
  max-height: 0;
  transition: max-height 0.2s ease-out;
}
/* menu icon */
header .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: right;
  padding: 28px 20px;
  position: relative;
  user-select: none;
  position: absolute;
  right: 10px;
  z-index: 20;
}
header .menu-icon .navicon {
  background: #fff;
  display: block;
  height: 2px;
  position: relative;
  transition: background 0.2s ease-out;
  width: 18px;
}
header .menu-icon .navicon:before,
header .menu-icon .navicon:after {
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all 0.2s ease-out;
  width: 100%;
}
header .menu-icon .navicon:before {
  top: 5px;
}
header .menu-icon .navicon:after {
  top: -5px;
}
/* menu btn */
header .menu-btn {
  display: none;
}
header .menu-btn:checked ~ .menu {
  max-height: 320px;
}
header .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent;
}
header .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg);
}
header .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg);
}
header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0;
}
#home,
#homel {
  position: absolute;
  top: 16px;
  left: 16px;
}
#home h1,
#homel h1 {
  margin: 0;
  font-size: 15px;
  font-family: "futura_m";
  line-height: 15px;
}
#home h2,
#homel h2 {
  margin: 0;
  font-size: 15px;
  font-family: "futura_m";
  line-height: 22px;
  line-height: 15px;
}
#menu {
  cursor: pointer;
  width: 30px;
  height: 30px;
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 999;
}
#menu svg {
  width: 30px;
  height: 30px;
}
#menu.hide {
  display: none;
}
#theme {
  cursor: pointer;
  width: 20px;
  height: 20px;
  position: absolute;
  right: 80px;
  top: 17px;
  z-index: 50;
}
#theme svg {
  fill: #ffffff;
  width: 30px;
  height: 30px;
}
#theme.hide {
  display: none;
}
#nav {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 10;
  opacity: 0;
  height: 0;
  display: none;
}
#nav.show {
  opacity: 1;
  height: 110vh;
  animation: show 0.2s;
  animation-fill-mode: forwards;
  display: inline;
}
#nav.show #close {
  position: absolute;
  width: 50px;
  height: 50px;
  top: 25px;
  right: 25px;
  transform: rotate(45deg);
  z-index: 7;
  cursor: pointer;
}
#nav.show #close #cl {
  width: 10px;
  position: absolute;
  height: 50px;
  margin-left: 20px;
  top: 0;
  left: 0;
  animation: close 1s;
  animation-delay: 0s;
}
#nav.show #close #clb {
  width: 50px;
  position: absolute;
  top: 0;
  left: 0;
  height: 10px;
  margin-top: 20px;
  animation: closeb 1s;
}
#nav.show h1 {
  margin: 25px 0 0 25px;
  font-size: 1.4em;
  animation: fadeIn 0.5s;
  animation-delay: 0.2s;
  opacity: 0;
  animation-fill-mode: forwards;
}
#nav.show h2 {
  margin: 0 0 0 25px;
  font-family: 'Roboto', sans-serif;
  font-size: 1.2em;
  animation: fadeIn 0.5s;
  animation-delay: 0.2s;
  opacity: 0;
  animation-fill-mode: forwards;
}
#nav.show ul {
  float: left;
  margin: 150px 0 0 25px;
  padding: 0;
  animation: fadeIn 0.5s;
  animation-delay: 0.2s;
  opacity: 0;
  animation-fill-mode: forwards;
}
#nav.show ul li {
  float: left;
  clear: both;
  font-size: 1.6em;
  list-style: none;
  height: 50px;
  text-transform: uppercase;
}
#nav.show ul li:hover {
  cursor: pointer;
}
/* mobile landscape */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
  #nav.show ul {
    margin: 100px 0 0 25px;
  }
  #nav.show ul li {
    font-size: 1em;
    list-style: none;
    height: 25px;
    text-transform: uppercase;
  }
}