@keyframes nav-open {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0%);
  }
}

@keyframes nav-close {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes appear {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes disappear {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}


* {
  margin: 0;
  padding: 0;
  font-family: "Arial", sans-serif;
}

#main-container {
  position: absolute;
  width: 100vw;
}

#nav-logo {
  width: 45px;
  height: 45px;
  background-image: url("/logo.png");
  background-size: contain;
  background-repeat: no-repeat;
} 

nav {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  width: 100%;
  background-color: #111;
}

#nav-list {
  list-style: none;
  z-index: -1;
}

/* DELETE LATER AND REPLACE WITH JS **************************/
#nav-list li:first-child {
  color: #fff;
}

#nav-list li {
  display: inline-block;
  cursor: pointer;
  color: #ccc;
  font-size: 15px;
  text-align: center;
  margin: 0 15px 0 15px;
  padding: 0 5px 0 5px;
}

#nav-list li:hover {
  color: #fff;
}

#nav-button {
  display: none;
  cursor: pointer;
  font-size: 20px;
  padding: 20px;
  color: #fff;
}

#splash-screen {
  width: 100%;
  height: 100vh;
}

@media (max-width: 833px) {
  nav {
    justify-content: flex-start;
  }

  #nav-logo {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
  }

  #nav-list {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #111; 
  }

  #nav-list li {
    display: block;
    font-size: 20px;
    margin: 0 20px 0 20px;
    padding: 15px 0 15px 0;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255, .3);
  }

  #nav-list li:first-child {
    order: 2;
    margin-top: 20px;
  }

  #nav-list li:nth-child(2) {
    order: 3;
  }

  #nav-list li:nth-child(3) {
    order: 4;
  }

  #nav-list li:nth-child(4) {
    order: 5;
  }

  #nav-list li:last-child {
    order: 6;
  }

  #nav-list li:nth-child(5) {
    border: none;
    color: #777;
    background-color: #333;
    padding: 10px 0 10px 10px;
    margin-top: 20px;
    border-radius: 10px;
    order: 1;
    cursor: text;
  }

  #nav-list li:nth-child(5):hover {
    color: #aaa;
  }

  #nav-button {
    display: block !important;
  }
}
