/* this is for mobile */

nav {
  margin: 0;
  padding: 0;
}
/* position of nav box on mobile: */
nav ul {
  position:relative;
  top:-100;
  width:245px;
  display: flex;
  flex-direction: column;
  list-style-type: none;
  padding: 0;
  margin: 0 auto;
  margin-right:10px;
  display: none;
}

nav ul.opening {
  display: block;
  height: 15px;
}

nav li { border-bottom: none; }

nav li:last-child { border-bottom: none; }

nav a {
  color: #fff;
  background: #5f75fc; /*colors nav bg*/
  display: block;
  margin:0 auto;
  padding: .25em .5em .25em .5em;
  text-transform: uppercase;
  text-decoration: none;
  position:relative;
  z-index:1111;
}

nav a:hover, nav a:focus { background: #031aab; }

.site-nav--icon {
  font-size: 1em;
  margin-right: 1em;
  width: 1.1em;
  text-align: right;
  color: rgba(255,255,255,.4);
}


.menu-toggle {
  position: absolute;
  padding: 0.8em;
  top: 1em;
  right: .5em;
  cursor: pointer;
  z-index: 111;
  color: #000;
}

.hamburger, .hamburger::before, .hamburger::after {
  content: '';
  display: block;
  background: #be9e3e;/*x color*/
  height: 3px;
  width: 2em;
  border-radius: 3px;
  -webkit-transition: all ease-in-out 350ms;
  transition: all ease-in-out 350ms;
}

.hamburger::before {
  -webkit-transform: translateY(-7px);
  transform: translateY(-7px);
}

.hamburger::after {
  -webkit-transform: translateY(4px);
  transform: translateY(4px);
}

.open .hamburger {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.open .hamburger::before { display: none; }

.open .hamburger::after {
  -webkit-transform: translateY(-1px) rotate(-90deg);
  transform: translateY(-1px) rotate(-90deg);
}

/* this is for desktop */
@media (min-width: 1000px) {

.menu-toggle { display: none; }

nav a {
  color: #fff;
  background: none;
  }

nav ul {
  width:750px;
  margin:0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  position:relative;
  top:-71px;
  left: 100px;
}

nav li {
  flex: auto;
  border: none;
}

nav li a {
  padding: .5em 2em .5em 2em;
  margin: 0;
  border: none;
  background-color: none;
  font-size:11px;
}

nav a:hover,  nav a:focus { background-color: #be9e3f; }

nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  text-align: center;
  margin-top:4px;
}

}


