/* basics */
#nav {
  z-index: 2000;
  position:fixed;
  width: 100%;
  margin: 0 auto;
  /* background: #000000; */
}

.wrapper {
  width: 100%;
  margin: 0 auto;
}

nav {
  margin: 0;
  padding: 0;
}

nav ul {
  display: flex;
  flex-direction: column;
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: none;
}

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

nav li {
  border-bottom: 4px solid #173d5f;
}

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

nav a {
  /*font-family: 'Bebas Neue';*/
  font-weight: bold;
  font-style: normal;
  letter-spacing: .15rem;
  color: #ffffff;
  background: #000000;
  display: block;
  padding: 2.7rem 1rem 2.7rem 2.7rem;
  text-transform: uppercase;
  text-decoration: none;
  font-size:2.5rem;
}
        .nav-sup {
        	margin-left:0.8rem;
        	color:#ffffff;
          font-size:1rem;	
        }

nav a:hover,
nav a:focus {
  color:#ffffff;
  text-decoration:none;
  background: #111;
}


/* hamburger menu toggler */
.menu-toggle {
	display:none;
  position: absolute;
  padding: 0.8em;
  top: 40px;
  right: 40px;
  cursor: pointer;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  content: '';
  display: block;
  background: #EBEBD3;
  box-shadow: 5px 7px 0px #444444;
  height: 8px;
  width: 5em;
  margin-top:8px;
  margin-bottom:8px;
  border-radius: 3px;
  -webkit-transition: all ease-in-out 350ms;
  transition: all ease-in-out 350ms;
}

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

.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);
}

.nav_mobile_logo {
	display: none;
	background:#000000;
	width:100%;
	box-sizing: border-box;
	padding: 20px 0px 20px 15px;
}
.nav_mobile_logo_img {
	width:50vw;
}

@media screen and (max-width: 950px) and (pointer: coarse) {
	.nav_mobile_logo {
		display: block;
	}
  .menu-toggle {
    display: block;
  }
}

/* horizontal navigation in the media queries */
@media (min-width: 951px) {

  .menu-toggle {
    display: none;
  }

	nav a {
	  font-size: 1rem;
	}
        .nav-sup {
        	margin-left:0.2rem;
        	color:#ffffff;
          font-size:0.5rem;	
        }

  nav ul {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
  }

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

  nav li a {
    padding: 0.5em 1em 0.5em 1em;
    margin: 0;
    border: none;
    background-color: #000000;
  }

  nav a:hover,nav a:focus {
      background-color: rgba(0,0,0,1);
  }

  nav {
    display: none;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    background-color: #000000;
  }

}