html, body {
  margin: 0;
  padding: 0;
}

main {
  margin-bottom: 0px; /* Passt den Abstand nach unten an */
}

.register_main_hintergrund {
  background-color: #f5f0e6;
  max-width: 1200px;
  margin: 0 auto; /* Zentriert das Element */
  padding: 0 0px; /* optionaler Innenabstand */
  margin-bottom: 0;
  overflow: hidden;
  display: block;
  text-align: center;
}

.zentrierter-container {
  width: 80%; /* Beispielbreite des Containers */
  margin: 0 auto; /* Zentriert den Container selbst */
}

.box {
  width: 30%; /* Feste Breite für die zu zentrierende Box */
  margin: 0 auto; /* Setzt linken und rechten Außenabstand auf automatisch, was zentriert */
  background-color: #020025; /* Zum besseren Sehen */
  padding: 20px;
  padding-top: 15px;
  padding-bottom: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
  border-radius: 15px; /* Optional: Abgerundete Ecken */
}

/* Alle Links */
a {
  color: lightblue; /* Standardfarbe ist Blau */
  text-decoration: none; /* Entfernt die Unterstreichung */
}

/* Bereits besuchte Links */
a:visited {
  color: red; /* Farbe wird rot, wenn der Link bereits besucht wurde */
}

/* Links, über denen die Maus ist */
a:hover {
  color: yellow; /* Farbe wird lila, wenn man mit der Maus darüber fährt */
}

.eingabe-ueberschrift {
  color: white;
}

.eingabe {
  margin: 4px; /* Abstand auf allen Seiten */
  border: medium solid #000000; /* Optional: schmaler Rahmen Braun */
  border-radius: 5px; /* Optional: Abgerundete Ecken */
  width: 200px;
  font-size: 16px;
}

.ueberschrift {
  border: none;
  background-color: #020025;
  width: 200px;
  color: white;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
}

.register_box_fusstext {
  color: white;
}

.register_myButton {
  background-color: #f1c100; /* Gelb */
  color: black;
  padding: 0px 0px;
  width: 208px;
  height: 30px;
  border: medium solid #784911; /* Optional: schmaler Rahmen Braun */
  border-radius: 5px; /* Optional: Abgerundete Ecken */
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
}

.register_myButton:hover {
  background-color: #ffda44;
}

.radio-group1 {
  color: white;
  display: flex; /* Ordnet die untergeordneten Elemente nebeneinander an */
  justify-content: center; 
}

.radio-group1 label {
  margin-right: 20px; /* Fügt einen Abstand von 20px rechts vom Label hinzu */
}

.radio-group1 label:last-child {
  margin-right: 0; /* Entfernt den Abstand vom letzten Element */
}

.radio-group2 {
  color: white;
  display: flex; /* Ordnet die untergeordneten Elemente nebeneinander an */
  justify-content: center; 
}

.radio-group2 label {
  margin-right: 20px; /* Fügt einen Abstand von 20px rechts vom Label hinzu */
}

.radio-group2 label:last-child {
  margin-right: 0; /* Entfernt den Abstand vom letzten Element */
}

.meldung-box {
    width: 83%;
    margin: 20px auto;
    padding: 15px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.fehler-box {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.erfolg-box {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.spinner {
  margin-left: 10px;
  font-size: 1.2em;
}

