nav {
  background-color: transparent;
  margin: 5px 0;
  text-align: center;
}

.nav-item {
  display: inline-block;
  margin:0 30px;
  position: relative;
  width:200px;
}

.nav-item > a {
  display:block;
}

.menu-btn {
  width:100%;
  color: #fff;
  padding: 10px 0;
  font-size: 20px;
  font-weight: bold;
  border:0;
  border-bottom: solid 2px #808080;
  border-radius:5px;
  font-family:inherit;
  cursor: pointer;
  transition: all .5s linear; /* button colour */
}

.menu-btn span {
  display:block;
  font-size: 12px;
}

.nav-item:hover .menu-btn {
  color:#fff;
  background-color: var(--blue) !important;
}

.nav-item:hover .menu-btn span {
  text-transform: uppercase;
}

.nav-item:hover .menu-content {
 width: 100%;
 height: 100%;
 overflow: visible;
 opacity: 1;
}

.menu-content {
 width: 0;
 height: 0;
 overflow: hidden;
 position: absolute;
 left: 0;
 z-index: 99;
 opacity: 0;
 transition: opacity .5s linear; /* drop down menu */
}

.nav-item:nth-of-type(1) .menu-btn {
  background-color: #FF790A;
}

.nav-item:nth-of-type(2) .menu-btn {
  background-color: #90B804;
}

.nav-item:nth-of-type(3) .menu-btn {
  background-color: #B95621;
}

.nav-item:nth-of-type(4) .menu-btn {
  background-color: #E34519;
}

.nav-item:nth-of-type(5) .menu-btn {
  background-color: #6736A2;
}

.menu-content a {
  display: block;
  color:#1C5E9D; /* drop down */
  background-color: #96BFEA;
  padding: 12.5px 0;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: all .5s linear;
  /* drop down menu colour transition */
}

.menu-content a:hover {
  color:#fff;
  background-color: #1C5E9D;
  text-transform: uppercase;
}