/* Basis für ein dunkles Design */
body {
    background-color: #1e1e1e;
    color: #d4d4d4;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1; /* Sorgt dafür, dass der Hauptinhalt den verfügbaren Platz einnimmt */
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto; /* Zentriert den Inhaltsbereich */
    width: 100%;
    box-sizing: border-box;
}

header {
    background-color: #252526;
    padding: 0 20px;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo {
    font-size: 1.5em;
    font-weight: bold;
    color: #ccc;
    text-decoration: none;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #ccc;
    text-decoration: none;
    padding: 10px 0;
    transition: color 0.3s ease;
}

nav ul li a:hover, nav ul li a.active { /* .active Klasse für aktuellen Link */
    color: #fff;
    border-bottom: 2px solid #569cd6;
}


h1, h2, h3 {
    color: #569cd6;
    border-bottom: 1px solid #3a3a3a;
    padding-bottom: 5px;
    margin-top: 1.5em;
}
h1:first-child, h2:first-child, h3:first-child {
    margin-top: 0;
}


a {
    color: #569cd6;
    text-decoration: none;
}

a:hover {
    color: #70b7f0;
    text-decoration: underline;
}

/* Formular Stile */
input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select {
    background-color: #3c3c3c;
    color: #d4d4d4;
    border: 1px solid #555;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 3px;
    box-sizing: border-box; /* Wichtig für width: 100% */
    width: 100%;
}

input[type="submit"],
button,
.button { /* Allgemeine Button-Klasse */
    background-color: #007acc;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 3px;
    font-size: 1em;
    transition: background-color 0.3s ease;
    text-decoration: none; /* Für a.button */
    display: inline-block; /* Für a.button */
}

input[type="submit"]:hover,
button:hover,
.button:hover {
    background-color: #005a99;
}


footer {
    text-align: center;
    padding: 20px;
    background-color: #252526;
    border-top: 1px solid #333;
    font-size: 0.9em;
    margin-top: auto; /* Footer nach unten schieben */
}