/* Globale Stile */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

header {
  background-color: #333;
  color: #fff;
  padding: 20px;
  width: auto;
}

.nav_ul {
  list-style-type: none;
  width: auto;
  margin: 0;
  overflow: hidden;
  background-color: #333;
}

.nav_li {
  float: left;
  margin-right: 10px;
}

.nav_link, .dropbtn {
  display: inline-block;
  color: white;
  text-align: center;
  padding: 10px;
  text-decoration: none;
  border-radius: 8px;
  margin-right: 10px;
  margin-bottom: 10px;
}

.nav_link:hover, .dropdown:hover .dropbtn {
  background-color: #555;
}

.nav_li, .dropdown {
  display: inline-block;
  border-radius: 8px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 9999;
  border-radius: 8px;
  border: 2px solid lightgray;
}

.dropdown-content .nav_link {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  margin: 2px;
  margin-left: 5px;
  margin-right: 5px;
  
}

.dropdown-content .nav_link:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: block;
}






button {
  text-decoration: none;
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  color: #ffffff;
  background-color: #333;
  border: 2px solid #333;
  border-radius: 8px;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  max-width: 180px;
  height: 40px;
}

button:hover {
  background-color: white;
  border-color: black;
  color: black;
  cursor: pointer;
}

button:active {
  transform: translateY(2px);
  background-color: #555;
  border-color: #555;
}

.product_link {
  color: black;
  text-decoration: none;
}

.product_link:hover {
  background-color: #c4c1c1;
  border-color: #0056b3;
  padding: 5px;
  border-radius: 8px;
}


.container {
  margin: 20px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s;
}

.container:hover {
  background-color: #f0f0f0;
  /* Hellgrau beim Hover */
}


.icon_text {
  display: flex;
  align-items: center;
}

.icon {
  border-radius: 0px;
  height: 30px;
  margin: 2px;
  margin-right: 5px;
}



.grid {
  margin-top: 25px;
  margin-bottom: 25px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* Ändert die Ausrichtung auf zentriert */
}

.grid_container {
  background-color: #f7f7f7;
  padding: 20px;
  margin: 10px;
  width: calc(33.33% - 20px);
  /* Ändert die Breite auf ein Drittel der Container-Breite */
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: left;
  text-align: left;
  min-width: 200px;
}

.grid_container:hover {
  /* erzeugt den Hover Effekt */
  transform: translateY(-5px);
  box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.2);
}

.flex-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.flex-container {
  text-decoration: none;
  background-color: #f7f7f7;
  padding: 20px;
  margin: 20px; /* Neuer Wert für den Abstand nach unten */
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: left;
  
  min-width: 200px;
  width: calc(25% - 0px); /* Ändert die Breite auf ein Viertel der Container-Breite */
}

.flex-container:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.2);
  padding: 20px;
  margin: 20px;
  background-color: #f7f7f7;
  border-radius: 10px;
}

.container-img {
  border-radius: 15px;
  background-color: transparent;
}

.profile {
  border-radius: 99px;
  height: 50px;
  margin: 25px;
}

.news {
  background-color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin: 50px;
  margin-left: 100px;
  margin-right: 100px;
  text-align: left;
  justify-content: left;
}

.headline {
  justify-content: center;
  text-align: center;
  margin: auto;
  margin-top: 50px;
  max-width: 160px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 5px;

  transition: transform 0.3s ease, border 0.3s ease;
}

.headline:hover {
  border: 1px solid lightgray;
  background-color: #f9f9f9;
}

iframe {
  margin: 5px;
  border-radius: 10px;
  width: auto;
}

footer {
  background-color: #333;
  color: #fff;
  padding: 20px;
}