/**************
* Megacoreup Game Studio
* Copyright 2019, Megacoreup Game Studio Ltd.
* Author: Alyse Webb;

/***************************
Nav (adapted from: https://codepen.io/mutedblues/pen/MmPNPG)
**************************/

.nav img {
	height: 38px;
  width: auto;
	float: left;
}

.nav .container {
	padding-top: 1em;
	padding-bottom: 1em;
}

.nav {
  background: rgba(23, 23, 23, 0.98);
  position: fixed;
  width: 100%;
  z-index: 100;
  top: 0;
  transition: top 0.2s ease-in-out;
  -webkit-transition: top 0.2s ease-in-out;
}

.nav-up {
    top: -64px;
}

.nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

.nav li {
	margin: 0;
}

.nav li a {
  display: block;
  text-align: right;
  text-decoration: none;
  padding: 15px 0 15px 0;
  font-size: 20px;
  color: white;
  transition: 0.3s ease;
  font-weight: normal;
  text-transform: capitalize;
  color: #D4D4D4;
}

.nav li a:hover,
.nav .menu-btn:hover {
  color: #99C93C; /*zemind green*/
}

.nav li a.active {
	color: #fff;
}

/* menu */

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

/* menu icon */

.nav .menu-icon {
  cursor: pointer;
  float: right;
  padding: auto;
  position: relative;
  user-select: none;
  top: auto;
  display: inline-block;
  padding: 15px 0 15px 0;
}

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

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

.nav .menu-icon .navicon:before {
  top: 5px;
}

.nav .menu-icon .navicon:after {
  top: -5px;
}

/* menu btn */

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

.nav .menu-btn:checked ~ .menu {
  max-height: 300px;
}

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

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

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

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

@media (min-width: 950px) {
	.nav ul {
		display: flex;
	}
	.nav li {
		float: right;
		justify-content: flex-end;
		margin-left: 40px;
	}
	.nav li a {
		padding: 0;
	}
	.nav .menu {
		clear: none;
		float: right;
		max-height: none;
	}
	.nav .menu-icon {
		display: none;
	}
}

.nav.light li a {
	color: rgb(23, 23, 23);
}

.nav.light .menu-icon .navicon,
.nav.light .menu-icon .navicon:before,
.nav.light .menu-icon .navicon:after {
	background: rgb(23, 23, 23);
}

.nav.light li a:hover,
.nav.light .menu-btn:hover {
  color: #99C93C; /*zemind green*/
}

.nav.light {
	background: rgba(255, 255, 255, 0.95);
}

.nav.light svg .st1 {
	fill: rgb(23, 23, 23);
}

@media (min-width: 950px) {
	.nav.transparentNav {
		background: transparent;
	}
}
