html {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Helvetica", sans-serif;
}

h1 {
  text-transform: uppercase;
  font-family: "Montserrat", "Helvetica", sans-serif;
  font-weight: bold;
  font-size: 50px;
}

section {
  position: relative;
  min-height: 100%;
}

header {
  position: relative;
  min-height: 100%;
  background-color: black;
}

header h1 {
  line-height: 1;
  text-align: center;
  margin: -25px 0 0;
  position: absolute;
  top: 50%;
  width: 100%;
  color: white;
  text-shadow: 2px 0 0.5px rgba(0,255,255,0.8), -2px 0 0.5px rgba(255,0,0,0.8);
}

#nav {
  color: white;
  text-transform: uppercase;
  font-size: 80%;
  position: fixed;
  max-width: 22%;
  height: 100%;
  padding: 2em;
  z-index: 1;
  right: 0;
}

#nav a {
  color: white;
  text-decoration: none;
  text-shadow: 0 0 1px black;
}

#nav .toggle {
  padding: 0 0 1em;
  position: relative;
  display: block;
  z-index: 999;
  float: right;
  font-size: 24px;
}

#nav .toggle.hide {
  display: none;
}

@keyframes open-nav {
  0% {
    width: 22px;
    background: transparent;
  }
  100% {
    width: 22%;
    /* background: rgba(6, 49, 73, 0.93); */
    background: rgba(30, 30, 30, 0.93);
  }
}

#nav:target {
  width: 22%;
  /* background: rgba(6, 49, 73, 0.93); */
  background: rgba(30, 30, 30, 0.93);
  animation: open-nav 0.5s ease-out;
}

#nav:target .show {
  display: none;
}

#nav:target .toggle.hide {
  display: block;
}

@keyframes open-nav-menu {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#nav:target ul {
  animation: open-nav-menu 0.5s ease-out;
  display: block;
  list-style-type: none;
  margin: 0;
  padding: 50px 20px;
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

#nav ul {
  display: none;
}

#nav li {
  padding: 10px 10px;
}
