#navigation {
  z-index: 2;
  position: absolute;
  top: 0;
  width: 90vw;
  height: 10vh;
  padding: 0vh 5vw 0vh 5vw;
  button {
    display: none;
  }
}
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  text-align: center;
  align-content: center;
  height: 100%;
}

li {
  display: inline-block;
  font-size: x-large;
  margin: 0 50px 0 50px;
}

li a {
  display: block;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  border-radius: 10px;
}

/* Change the link color to #111 (black) on hover */
li a:hover {
  background-color: rgba(5, 5, 30, 0.543);
}

#active {
  border: solid 3px;
  border-color: rgb(0, 106, 71);
}

@media (max-width: 700px) {
  #navigation {
    top: -254px;
    height: 254px;
    background-color: rgb(142, 154, 178);
    li {
      display: block;
      font-size: x-large;
      margin: 0 50px 0 50px;
    }
    a {
      border: solid black 2px;
      margin-top: 10px;
      margin-bottom: 10px;
    }

    button {
      display: inline-block;
      width: 100px;
      height: 50px;
      position: absolute;
      top: 100%;
      left: 50%;
      rotate: 180deg;
      transform: translateX(50%);
      background-color: transparent;
      border: transparent;
      color: rgba(0, 0, 0, 0.569);
    }
    button:hover {
      color: black;
      background-color: grey;
    }
    i::before {
      font-size: 50px;
    }
  }
}

@keyframes slide_nav_down {
  to {
    top: 0px;
  }
}
@keyframes slide_nav_up {
  from {
    top: 0px;
  }
  to {
    top: -254px;
  }
}
