/* The navigation menu */
.navbar {
  overflow: hidden;
  background-color: rgba(0,0,0,0.7);
  border-radius: 10px;
  font-family: road_rage;
  width: 90%;
  margin-left: 70px;
  transition-duration: 2s;  
}

.navbar-mid{
  overflow: hidden;
  font-family: road_rage;
}

/* Navigation links */
.navbar a {
  float: left;
  font-size: 12px;
  color: red;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* The subnavigation menu */
.subnav {
  float: left;
  overflow: hidden;
}

/* Subnav button */
.subnav .subnavbtn {
  font-size: 12px;
  border: none;
  outline: none;
  color: red;
  padding: 14px 16px;
  background-color: inherit;
  font-family: inherit;
  margin: 0;
  transition: 0.9s;  
}

/* Add a yellow background color to navigation links on hover */
.navbar a:hover, .subnav:hover .subnavbtn {
  background-color: yellow;
}

/* Style the subnav content - positioned absolute */
.subnav-content {
  display: none;
  position: absolute;
  text-align: center;
  left: 0;
  background-color: red;
  margin-top: 5px;
  margin-left: 80px;
  width: 100%;
  z-index: 1;  
  transition: 0.7s;
}

/* Style the subnav links */
.subnav-content a {
  float: left;
  color: white;
  text-decoration: none;  
}

/* Add a grey background color on hover */
.subnav-content a:hover {
  background-color: yellow;
  color: black;
}

/* When you move the mouse over the subnav container, open the subnav content */
.subnav:hover .subnav-content {
display: block;
width: 35%;
border-radius: 10px;
}
