/* Start hamburger icon */
.header .menu-icon {
  position: absolute;
  left: 50%;
  top: 35px;
  transform: translateX(-50%);
  cursor: pointer;
}
.header .menu-icon {
  left: auto;
  right: 7em;
  top: calc(5em + 15px);
  transform: none;
}
.mobile .header .menu-icon {
	right: unset;
	margin: 0 auto;
	position: relative;
	width: 35px;
	display: block;
	top: 35px;
}
.header .menu-icon .nav-icon {
  background: #fff;
  display: block;
  width: 35px;
  height: 9px;
  position: relative;
  transition: background .2s ease;
}
.header .menu-icon .nav-icon {
  position: absolute;
  z-index: 10;
}
.header .menu-icon .nav-icon::before,
.header .menu-icon .nav-icon::after {
  background: #fff;
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 11px;
  transition: all .5s ease;
}
.header .menu-icon .nav-icon::after {
  top: -11px;
}
/* End hamburger icon */

.header .menu-btn { /* hiding checkbox */
  display: none;
}
/* Start close button when menu is open */
.header .menu-btn:checked~.menu-icon .nav-icon {
  background: transparent;
}
/* Styling hamburger menu close X */
.header .menu-btn:checked~.menu-icon .nav-icon::before {
  transform: rotate(-45deg);
  top: 0;
  background-color: rgb(25, 30, 35);
}
.header .menu-btn:checked~.menu-icon .nav-icon::after {
  transform: rotate(45deg);
  top: 0;
  background-color: rgb(25, 30, 35);
}
.header .menu-btn:checked~.menu-icon .nav-icon::before {
  background-color: rgb(255, 255, 255);
}
.header .menu-btn:checked~.menu-icon .nav-icon::after {
  background-color: rgb(255, 255, 255);
}
/* End close button */

/* Menu Wrapper */
.menu-wrapper {
  width: 100%;
  height: 100%;
  max-height: 100vh;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
}
.mobile .menu-wrapper {
  width: 100%;
  height: auto;
}
.menu-wrapper.dark {
  background-color: transparent;
}

/* Navigation ul */
.header .menu {
  background: rgb(25, 30, 35);
  width: 0vw;
  max-width: 700px;
  height: 100vh;
  overflow: hidden;
  position: absolute;
  right: 0;
  margin: 0;
  padding: 8em 0;
  list-style: none;
  display: flex;
  flex-basis: 100%;
  flex-wrap: wrap;
  justify-content: space-around;
}
.mobile .header .menu {
  width: 100vw;
  max-width: 100vw;
  right: auto;
  left: auto;
}
.header .menu li {
  flex-basis: 100%;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  border-top: none;
  border-bottom: 1px solid rgba(255,255,255,1);
}
.header .menu li:last-child {
  border-bottom: 1px solid rgba(255,255,255,0);
}
.header ul a {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  color: rgb(255, 255, 255);
  font-family: "Cera", sans-serif;
  font-size: calc(21px + 8 * ((100vw - 320px) / 880));
  font-style: normal;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  padding-left: 1em;
  align-self: center;
}
.header ul a:hover {
  background-color: rgba(25, 30, 35, 1);
  color: rgb(255, 255, 255);
}
.header ul a:hover {
  background-color: rgb(255, 255, 255);
  color: rgb(25, 30, 35);
}
/* Menu function */
.header .menu { /* Menu is closed */
  transform: translateX(50vh);
  transition: all 1s ease;
}
.header .menu-btn:checked~.menu {/* Menu is open */
  transform: none;
  width: 50vw;
}
.mobile .header .menu { /* Menu is closed */
  transform: translateX(0vh);
  transform: translateY(-100vh);
  transition: all 1s ease;
}
.mobile .header .menu-btn:checked~.menu {/* Menu is open */
  transform: none;
  width: 100vw;
}