/* style.css */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
  margin: 0;
  padding: 20px;
}

header {
  background: #333;
  color: white;
  padding: 20px 0;
  text-align: center;
}

header h1 {
  margin: 0;
}

main {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

fieldset {
  border: 1px solid #ddd;
  padding: 20px;
  margin-top: 20px;
}

legend {
  font-size: 1.2em;
  padding: 0 10px;
}

label {
  display: block;
  margin-bottom: 10px;
}

input[type="text"],
input[type="number"],
select,
.textarea-width {
  width: 75%;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 5px;
  border: 1px solid #ddd;
}


/* Stil für das Label und die Checkbox, die nebeneinander angezeigt werden sollen */
.inline-label, .inline-checkbox {
  display: inline-block; /* macht die Elemente nebeneinander */
  vertical-align: middle; /* Stellt sicher, dass die Elemente vertikal zentriert sind */
}

.inline-label {
  margin-right: 5px; /* Fügt etwas Abstand rechts vom Label hinzu */
}

button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0056b3;
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #004494;
}

#results {
  margin-top: 20px;
}

hr {
  border: 0;  /* entfernt die Standard-Border */
  height: 1px; /* setzt die Höhe des Trenners */
  background-color: #ccc; /* Farbe des Trenners */
  margin-top: 20px; /* Abstand nach oben */
  margin-bottom: 20px; /* Abstand nach unten */
}

footer {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

/* Medienabfrage für Bildschirme unter 700px */
@media (max-width: 700px) {
  input[type="text"],
  .textarea-width,
  input[type="number"],
  select {
      width: 95%;  /* Breite auf 95% setzen, wenn Bildschirm unter 700px ist */
  }
}