@charset "utf-8";
/* CSS Document */

.topnav {
  overflow: hidden;
  background-color: lightseagreen;
   padding: 20px;
   border-radius: 50px;
}

.topnav a {
  float: left;
  display: block;
  color: yellow;
  text-align: center;
  text-decoration: none;
  font-size: 26px;
   padding: 10px 20px;
   font-weight: bold;
   text-shadow: 2px 2px 2px black;
}

.topnav a:hover {
   text-shadow: none;
}

.active {
 /* background-color: #04AA6D;
  color: white;*/
}

.topnav .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 26px;    
  border: none;
  outline: none;
  color: white;
  padding: 10px 15px;
  background-color: inherit;
  font-family: inherit;
  margin: 0px 0px 2px;
   font-weight: bold;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: lightyellow;
  color: black;
}

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

.dropdown:hover .dropdown-content {
  display: block;
}

@media screen and (max-width: 1024px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 1024px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    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;
  }
  
  .topnav a.icon {
     padding: 0px;
   }
   
   .dropdown-content {
      margin-top: 1px;
      margin-left: 20px;
   }
   
   .topnav.responsive a {
      margin-top: 15px;
   }
}