.topnav {
    overflow: hidden;
    background-color: rgb(18,55,104);
    width: 100%;
    min-height: 70px;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 100px;
    color: #fff;
}

.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  text-decoration: none;
  font-size: 17px;
  float: left;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  height: auto;
  justify-content: center;
  transition:0.5s;
  }

.active {
  background-color: #4CAF50;
  color: white;
}

.topnav .icon {
  display: none;
  width: auto !important;
  overflow: initial;
  margin-left: 20px;
}

.icon {

}

.dropdown {
  float: left;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  min-height: 70px;
  height: auto;
  position: inherit;
}

.dropdown .dropbtn {
  font-size: 17px;
  color: white;
  padding: 14px 16px;
  font-family: inherit;
  text-transform: uppercase;
  min-height: 70px;
  height: auto;
  transition:0.5s;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  width: 16.666%;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  margin-top: 70px;
}

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

.topnav a:hover, .dropdown:hover .dropbtn {
  color: white;
}

.dropdown-content a:hover {
  background-color: #ddd !important;
  color: white;
}

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

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

@media screen and (max-width: 600px) {
  .topnav.responsive {
    position: relative;
    flex-direction:column;
  }
  .topnav.responsive .icon {
    position: inherit;
    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;
  }

  #home, #team, #kompetenzen, #service, #karriere, #fragen {
    background-color: transparent !important;
  }

  .topnav {
    margin-bottom: 30px;
  }

  .topnav a {
    text-align: left;
    padding: 14px 16px;
    margin-left: 20px;
    width: fit-content;
  }

  .dropdown {
    margin-left: 20px;
  }

.dropdown, .dropbtn  {
  min-height: 30px !important;
}


.dropdown-content {
  margin-top: 0px;
  box-shadow: none;
}
















}