.topnav {
  max-width: 100%;
  height: 100%;
  margin: auto;
  overflow: hidden;
  background-color: #f8f9fa;
}

.topnav a {
  color: #000;
  text-align: center;
  padding: 12px 12px;
  text-decoration: none;
  font-size: 14px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: #04AA6D;
  color: white;
}
