@charset "UTF-8";
/* Body */


* { outline: none; }


#nav-container {
	position: absolute;
	top: 0vh;
	left: 0vw;
  height: 100vh;
  width: 100%;
  pointer-events: none;
	z-index: 100;
}

@media screen and (max-width: 1100px) {
	#nav-container {
		visibility: hidden;
  position: fixed;
  height: 100vh;
  width: 100%;
  pointer-events: none;
}
	}


#nav-container .bg {
  position: absolute;
  top: 35px;
  left: 0;
  width: 100%;
  height: calc(100% - 35px);
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s, visibility 0s;
  background: black;
}
#nav-container:focus-within .bg {
 visibility: visible;
 opacity: .6;
}

#nav-container * { visibility: visible; }

.button {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  border-radius: 0;
  height: 35px;
  width: 50px;
  cursor: pointer;
  pointer-events: auto;
  margin-left: 25px;
	margin-top: 0px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

.icon-bar {
  display: block;
  width: 100%;
  height: 3px;
  background: #aaa;
  transition: .3s;
}

.icon-bar + .icon-bar { margin-top: 5px; }
 #nav-container:focus-within .button {
 pointer-events: none;
}
#nav-container:focus-within .icon-bar:nth-of-type(1) {
 transform: translate3d(0, 8px, 0) rotate(45deg);
}
#nav-container:focus-within .icon-bar:nth-of-type(2) {
 opacity: 0;
}
#nav-container:focus-within .icon-bar:nth-of-type(3) {
 transform: translate3d(0, -8px, 0) rotate(-45deg);
}

#nav-content {
  margin-top: 35px;
	padding: 20px;
  width: 90%;
  max-width: 300px;
  position: absolute;
  top: 0;
  left: 0;
  height: calc(100% - 70px);
	background-color: black;
  pointer-events: auto;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  transform: translateX(-100%);
  transition: transform .3s;
  will-change: transform;
  contain: paint;
}

#nav-content ul {
  height: 100%;
  display: flex;
  flex-direction: column;
	line-height: 10px;
}

#nav-content li a {
  padding: 10px 5px;
  display: block;
  text-transform:  none;
  transition: color .1s;
}

#nav-content li a:hover { color: white; }

#nav-content li:not(.small) + .small { margin-top: auto; }

.small {
  display: flex;
  align-self: center;
}

.small a {
  font-size: 12px;
  font-weight: 400;
  color: #CCC;
}

.small a + a { margin-left: 15px; }
 #nav-container:focus-within #nav-content {
 transform: none;
}


a, a:visited, a:focus, a:active, a:link {
  text-decoration: none;
  outline: 0;
}

a {
  color: currentColor;
  transition: .2s ease-in-out;
}


ul {
  padding: 0;
  list-style: none;
}

