.topnav {
  overflow: hidden;
  background: rgba(246, 246, 246, 0);
  position: relative;
}

.topnav #myLinks {
  display: none;
}

.topnav a {
  color: #fff;
  padding: 26px 26px;
  text-decoration: none;
  font-size: 23px;
  display: block;
  background: rgba(255, 255, 255, 0);
}

.topnav a.icon {
  background: rgba(255, 255, 255, 0);
  display: block;
  position: absolute;
  left: 0;
  top: 0;
}

.topnav a:hover {
  background: rgba(255, 255, 255, 0);
  color: black;
}

.active {
  background-color: #fff;
  color: white;
}