.topnav {
  overflow: hidden;
  width:100%;
  border-left:2px solid;
  border-right:2px solid;
  border-bottom:2px solid;
  }
.topnav2 {
  overflow: hidden;
  border-left:2px solid;
  border-right:2px solid;
  border-bottom:2px solid;
  height:50px;
}
.topnav button {
  float: left;
  display: block;
  text-align: center;
  padding: 5px 5px;
  text-decoration: none;
  font-size: 17px;
  background: cornsilk;
}


.topnav .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 17px;    
  outline: none;
  padding: 5px 5px;
  font-family: inherit;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.2);
  z-index: 1;
  margin-top:34px;
  background-color:palegoldenrod;
}

.dropdown-content button {
  float: none;
  padding: 5px 5px;
  text-decoration: none;
  display: block;
  width:200px;
  text-align: left;
  background:palegoldenrod;
}
.topnav button:hover {
	background-color:red;
	color:white;
}
.dropdown button:hover {
	background-color:black;
	color:white;
}
.dropdown-content button:hover {
  background-color:red;
  color: white;
}

.dropdown:hover .dropdown-content {
  display: block;
}

@media screen and (max-width: 600px) {
  .topnav button:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav button.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive button {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}
