body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 20px;
  color: #333;
}

h1 {
  text-align: center;
  color: #004466;
}

input[type="text"] {
  width: 100%;
  max-width: 600px;
  padding: 10px;
  font-size: 16px;
  margin-bottom: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

button {
  padding: 10px 20px;
  font-size: 16px;
  background-color: #004466;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: block;
  margin: 0 auto 30px auto;
}

button:disabled {
  background-color: #aaa;
  cursor: not-allowed;
}

#ergebnis {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.stoff-box {
  background-color: white;
  border-left: 6px solid #004466;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  padding: 15px;
  width: 280px;
  border-radius: 6px;
}

.stoff-box h3 {
  margin-top: 0;
  color: #222;
}

.stoff-box p {
  margin: 4px 0;
}

.piktogramme img {
  margin: 5px;
  height: 60px;
}

.stoff-liste {
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 10px 15px;
  border-radius: 6px;
  max-width: 600px;
  margin: 0 0 30px 0; 
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


.stoff-liste h2 {
  font-size: 18px;
  margin-top: 0;
}

.stoff-liste ul {
  list-style-type: disc;
  padding-left: 20px;
  columns: 2;
}

.stoff-liste li {
  margin: 4px 0;
  cursor: pointer;
}

.stoff-liste li:hover {
  text-decoration: underline;
  color: #004466;
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 1px;
  margin-bottom: 30px;
}

.button-group button {
  margin: 0; /* verhindert zentrierte Einzelplatzierung */
}

#hauptbereich {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

#stoffListe {
  flex: 1;
  max-width: 300px;
}

#ergebnis {
  flex: 2;
}
