html, body {
  margin: 0;
  padding: 0;
}

main {
  margin-bottom: 0px; /* Passt den Abstand nach unten an */
}

.login_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 */
}

input {
  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;
}

.login_box_fusstext {
    color: white;
}

.login_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;
}

.login_myButton:hover {
  background-color: #ffda44;
}

.error-container {
    background-color: #ffe6e6;
    border: 1px solid #ff4d4d;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
}

.error-message {
    color: #cc0000;
    font-weight: bold;
    margin: 5px 0;
}

.info-message-success {
    margin-top: 15px;
    color: #006600;
    background-color: #e6ffe6; /* hellgrüner Hintergrund für bessere Lesbarkeit */
    border: 1px solid #66cc66;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    width: fit-content;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.info-message-error {
    margin-top: 15px;
    color: #cc0000;
    background-color: #ffe6e6; /* hellrot für bessere Lesbarkeit */
    border: 1px solid #cc6666;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    width: fit-content;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.info-message-warning {
    margin-top: 15px;
    color: #ff9900;
    background-color: #fff4e5; /* hellorange für bessere Lesbarkeit */
    border: 1px solid #ffcc66;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    width: fit-content;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.forgot-title {
  color: white;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

.passwort-vergessen-link {
  margin-top: 10px;
  text-align: center;
}

.passwort-vergessen-link a {
  color: lightblue;
  font-size: 14px;
  text-decoration: underline;
}

.passwort-vergessen-link a:hover {
  color: yellow;
}

.forgot_myButton {
  background-color: #f1c100;
  color: black;
  width: 208px;
  height: 30px;
  border: medium solid #784911;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  display: block;
  margin: 10px auto;
  text-align: center;
}

.forgot_myButton:hover {
  background-color: #ffda44; /* Helleres Gelb beim Hover */
  border-color: #a05a2c;     /* Etwas kräftigerer Braunton */
  color: black;
}

.forgot-form input[type="email"] {
  display: block;
  margin: 0 auto 10px auto;
}

.reset-form input[type="password"] {
  display: block;
  margin: 10px auto;
  width: 200px;
  font-size: 16px;
  border: medium solid #000000;
  border-radius: 5px;
  padding: 5px;
}

.reset_myButton {
  background-color: #f1c100;
  color: black;
  width: 208px;
  height: 30px;
  border: medium solid #784911;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  display: block;
  margin: 10px auto;
  text-align: center;
}

.reset_myButton:hover {
  background-color: #ffda44; /* Helleres Gelb beim Hover */
  border-color: #a05a2c;     /* Etwas kräftigerer Braunton */
  color: black;
}

.reset-title {
  color: white;
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
}

.visually-hidden {
  position: absolute;
  left: -9999px;
}

.zurueck-link {
  text-align: center;
  margin-top: 15px;
}

.zurueck-link a {
  color: lightblue;
  font-size: 14px;
  text-decoration: underline;
}

.zurueck-link a:hover {
  color: yellow;
}