#navigation {
  width: 100%;
  background: #8b0000;
}

nav {
  background-color: #8b0000;
  margin: 0 auto;
}

.menu {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: flex-start;
  flex-wrap: nowrap;
}

.menu-item {
  min-width: 120px;
  max-width: 120px;
  box-sizing: border-box;
}

.menu ul {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, 120px);
  grid-auto-flow: row;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  font-weight: bolder;
  font: 14px Courier;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 99;
}

.menu ul li {
  display: block;
  position: relative;
  height: 36px;
}

.menu ul li {
  border-right: 1px solid #111;
}

.menu ul li:first-child {
  border-left: 1px solid #111;
}

.menu li ul {
  display: none;
  flex-wrap: nowrap;
  flex-direction: column;
  align-content: flex-start;
  align-items: flex-start;
  justify-content: flex-start;
  top: 100%;
  left: 0;
}

.menu ul li a,
.menu ul li a:visited {
  display: block;
  padding: .75em 1.25em;
  text-decoration: none;
  white-space: nowrap;
  color: #fff;
  border-top: none;
  border-bottom: none;
  margin: 0;
}

.menu ul li:hover > a {
  text-decoration: none;
  color: #fff;
  background-color: #222;
  border-top: none;
  border-bottom: none;
}

.menu li:hover > ul {
  display: flex;
}

.menu li:hover a {
  background-color: #8b0000;
}

.menu a:hover {
  background-color: #222;
  transition: 0.2s all linear;
}
