/* -------------------------------------------------------------- */
/* -------------------------------------------------------------- */
/* ---Navigation------------------------------------------------- */
/* -------------------------------------------------------------- */
/* -------------------------------------------------------------- */

.topnav {
  overflow: hidden;
  color: #000;
  font-family: 'Oxygen', sans-serif;
  background-color:rgba(0, 0, 0, 0.001);
}

.topnav a {
  float: left;
  display: block;
  text-align: center;
  padding: 14px 3rem;
  text-decoration: none;
  font-size: 1.7rem;
  font-weight: 500;
  background-color:rgba(0, 0, 0, 0.001);
  color: #000;
}

.active {
  background-color:rgba(0, 0, 0, 0.001);
  color: white;
}

.topnav .icon {
  display: none;
}

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

.dropdown .dropbtn {
  font-size: 1.7rem;
  font-weight: 500;
  border: none;
  outline: none;
  padding: 14px 16px;
  background-color: #000;
  font-family: inherit;
  margin: 0;
  background-color:rgba(0, 0, 0, 0.001);
  color: #000;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  background-color:rgba(0, 0, 0, 0.4);
  z-index: 100;
}

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

.topnav a:hover, .dropdown:hover .dropbtn {
    background-color:rgba(0, 0, 0, 0.05);
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    font-weight: bold;
    border-bottom: 2px solid var(--primary);
}

.dropdown-content a:hover {
}

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

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

@media only screen and (max-width: 992px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: center;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: center;
  }
  .dropdown-content a {
    float: none;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    background-color: #323232;
    color: whitesmoke;
  }
}
