.topnav {
    overflow: hidden;
    /* background-color: #333; */
    margin-top: 14px;
  }
  
  .topnav a {
    float: left;
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 15px;
  }
  
  .active {
    color: white;
    border-bottom: 1px solid #004aad;
  }
  
  .topnav .icon {
    display: none;
  }
  
  .dropdowns {
    float: left;
    overflow: hidden;
  }
  
  .dropdowns .dropbtns {
    font-size: 15px;    
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
  }
  
  .dropdowns-content {
    display: none;
    position: absolute;
    /* background-color: #f9f9f9; */
    background-image: linear-gradient(to right, var(--primary), var(--secondary));
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 15px;
  }
  
  .dropdowns-content a {
    float: none;
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
  }
  
  .topnav a:hover, .dropdowns:hover .dropbtns {
    background-image: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    border-radius: 15px;
  }
  
  .dropdowns-content a:hover {
    background-image: linear-gradient(to right, var(--secondary), var(--primary));
    color: black;
  }
  
  .dropdowns:hover .dropdowns-content {
    display: block;
  }
  
  @media screen and (max-width: 600px) {
    .topnav a {
        display: none;
    }
    .topnav a:not(:first-child), .dropdowns .dropbtns {
      display: none;
    }
    .topnav a.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 a {
      float: none;
      display: block;
      text-align: left;
    }
    .topnav.responsive .dropdowns {float: none;}
    .topnav.responsive .dropdowns-content {position: relative;}
    .topnav.responsive .dropdowns .dropbtns {
      display: block;
      width: 100%;
      text-align: left;
    }
  }