body, html {
    margin: 0;
    padding: 0;
    height: 100%;
	display: flex;
    flex-direction: column;
}
.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}


body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #e0e0e0;
}

header {
    background: none;
    box-shadow: none;
    border: none;
}


nav a {
    color: #61dafb;
    margin: 0 10px;
    text-decoration: none;
}

main {
    padding: 20px;
	flex: 1;
}

footer {
  background-color: #1e1e1e;
  color: #61dafb;
  text-align: center;
  padding: 10px;
  width: 100%;
  font-size: 0.9em;
}

form input[type="text"],
form input[type="email"],
form input[type="password"] {
    padding: 8px;
    margin: 5px;
    width: 250px;
    background: #222;
    color: white;
    border: 1px solid #61dafb;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
  border-color: #4CAF50; /* grüne Umrandung z.B. */
  background-color: rgba(255, 255, 255, 0.1); /* leicht transparenter Hintergrund beim Fokus */
}
button {
    padding: 8px 16px;
    background-color: #61dafb;
    color: black;
    border: none;
    cursor: pointer;
    margin: 5px;
}

#logo {
    background-image: url('logo.png'); /* ❗ KORREKTUR: url() notwendig */
    background-size: cover;            /* Optional: Bildfüllung */
    background-repeat: no-repeat;
    width: 149px;
    height: 133px;
}
.login-center {
  min-height: 40vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent; /* oder leichtes Dunkel für Body, falls gewünscht */
}
.login-form {
  background: rgba(30,30,40,0.96);
  color: #f1f1f1;
  padding: 2em 2.5em;
  border-radius: 1em;
  box-shadow: 0 0 18px #111;
  min-width: 260px;
  max-width: 350px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1em;
}
.login-form h2 {
  margin-bottom: 0.5em;
  color: #fff;
  text-align: center;
}
.login-form input {
  background: #181818;
  color: #f1f1f1;
  border: 1px solid #353750;
  border-radius: 6px;
  padding: 0.7em;
  font-size: 1em;
}
.login-form button {
  background: #4251b5;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 0.7em;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.18s;
}
.login-form button:hover {
  background: #2d3670;
}
.login-error {
  color: #ff8181;
  text-align: center;
  margin-top: -0.8em;
}
.Schrift {
  display: flex;
  flex-direction: column;
  justify-content: center;  /* Vertikale Zentrierung */
  align-items: center;      /* Horizontale Zentrierung */
  min-height: 40vh;           /* Höhe fast Bildschirmhöhe */
  text-align: center;       /* Text zentrieren */
}