body {
    font-family: Arial, sans-serif;
    margin: 20px 0; /* Wichtig: margin oben/unten 20px, links/rechts 0 */
    padding: 0;
    background-color: #f9f9f9; /* behalte den helleren Ton */
    color: #333;
    line-height: 1.6;
}

header, footer {
    background-color: #0073e6;
    color: white;
    padding: 1.5rem 1rem;
    text-align: center;
}

nav {
    background: #005bb5;
    padding: 0.5rem 1rem;
    text-align: center;
}

nav a {
    color: white;
    margin: 0 1rem;
    text-decoration: none;
    font-weight: bold;
}

nav a:hover {
    text-decoration: underline;
}

main {
    max-width: 960px; /* angepasst für Login-Formular-Layout */
    margin: 2rem auto;
    padding: 20px 1rem;
    background: white;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

section {
    margin-bottom: 3rem;
}

h2 {
    color: #0073e6;
    border-bottom: 2px solid #0073e6;
    padding-bottom: 0.3rem;
    margin-bottom: 1rem;
}

.btn {
    background-color: #0073e6;
    color: white;
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #005bb5;
}

/* Beispielhafte Kartenbox */
.map-box {
    height: 300px;
    background: #dde9f7;
    border: 2px solid #0073e6;
    border-radius: 8px;
    margin-top: 1rem;
}

/* Formularelemente (für Login etc.) */
form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

form input[type="text"],form input[type="email"],
form input[type="password"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

form button {
    padding: 10px 15px;
    background-color: #0069d9;
    border: none;
    color: white;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
}

form button:hover {
    background-color: #004a99;
}

p {
    margin-top: 1em;
}

p a {
    color: #0069d9;
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}

p.error {
    color: red;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 600px) {
    nav a {
        display: block;
        margin: 0.5rem 0;
    }
}

table th,
table td {
    text-align: center;
    vertical-align: middle; /* optional: vertikal zentrieren */
}

/* Formatierung für alle Zellen in der ersten Spalte */
table td:nth-child(1),
table th:nth-child(1) {
    background-color: #f0f0f0; /* helle Hintergrundfarbe */
    color: #333333;             /* dunkle Schriftfarbe */
    font-weight: bold;          /* evtl. fett */
    text-align: center;           /* anderes Text-Alignment als die anderen Spalten */
}
/* Formatierung für alle Zellen in der ersten Spalte */
table td:nth-child(2),
table th:nth-child(2) {
    background-color: #f0f0f0; /* helle Hintergrundfarbe */
    color: #333333;             /* dunkle Schriftfarbe */
    font-weight: bold;          /* evtl. fett */
    text-align: center;           /* anderes Text-Alignment als die anderen Spalten */
}

/* Formatierung für alle Zellen in der ersten Spalte */
table td:nth-child(3),
table th:nth-child(3) {
    background-color: #f0f0f0; /* helle Hintergrundfarbe */
    color: #333333;             /* dunkle Schriftfarbe */
    font-weight: bold;          /* evtl. fett */
    text-align: center;           /* anderes Text-Alignment als die anderen Spalten */
}

/* Formatierung für alle Zellen in der ersten Spalte */
table td:nth-child(5),
table th:nth-child(5) {
    background-color: #f0f0f0; /* helle Hintergrundfarbe */
    color: #333333;             /* dunkle Schriftfarbe */
    font-weight: bold;          /* evtl. fett */
    text-align: center;           /* anderes Text-Alignment als die anderen Spalten */
}

#philosophie img {
  width: 50%;      /* Das Bild wird auf 50% der Breite seines Containers verkleinert */
  height: auto;    /* Die Höhe passt sich proportional an */ 
  display: block;      /* Bild als Block-Element behandeln */
  margin-left: auto;   /* linker Rand automatisch */
  margin-right: auto;  /* rechter Rand automatisch */
  max-width: 50%;      /* z.B. Bild maximal 50% der Containerbreite */
}
#spiele img {
  width: 50%;      /* Das Bild wird auf 50% der Breite seines Containers verkleinert */
  height: auto;    /* Die Höhe passt sich proportional an */ 
  display: block;      /* Bild als Block-Element behandeln */
  margin-left: auto;   /* linker Rand automatisch */
  margin-right: auto;  /* rechter Rand automatisch */
  max-width: 50%;      /* z.B. Bild maximal 50% der Containerbreite */
}

