.navbar {
  position: sticky; /* Postion und top sind damit die Navbar immer da ist*/
  top: 0;
  max-width: 100%;
  max-height: max-content;
  list-style-type: none;
  margin: 0 ;
  padding: 0;
  /*margin-bottom: 8px; Ist in container gesetzt*/
  overflow: visible;
  border: 1px solid #e7e7e7;
  background-color: #f3f3f3;
  text-align: center;
  border-radius: 8px;
}

.navitems {
  margin: 4px;
  display: inline-block;
}

.navicon {
  float: left;
  
}

.navicon img, .language img {
   width: 45px;
   height: 45px;
   margin: 5.32px 8px 5.32px 8px;
}

.language {
  float: right;
}

.language a, .navicon a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  margin-right: 8px;
}


.navitems a {
  display: block;
  color: #666;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  border-radius: 8px;
}

.navitems a:hover:not(.active) {
  background-color: #e6e6e6;
}

.navitems a.active {
  color: white;
  background-color: #95AC66;
}

/* Style for Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  display: block;
  padding: 14px 16px;
  text-decoration: none;
  color: #666;
  border-radius: 8px;
}

.dropdown-content {
  display: none; /* Hidden by default */
  position: absolute;
  background-color: #f9f9f9;
  min-width: max-content;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1; /* Ensures it stays above other content */
  border-radius: 8px;
}

.dropdown-content a {
  color: #666;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  border-radius: 8px;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: #e6e6e6;
}

/* Show the dropdown content on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Highlight active dropdown button */
.dropdown:hover .dropbtn {
  background-color: #e6e6e6;
}

/* Hide the link that should open and close the topnav on small screens */
.navbar .navdropbtn{
  display: none;
  margin: 5.32px 8px 5.32px 8px;
}
.navdropbtn li {
  display: inline;
}

.navdropbtn a {
  display: block;
  color: #666;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  border-radius: 8px;
}