/* Allgemeine Stile */
body {
    font-family: Arial, sans-serif;
    background-color: #2d2d2d;
    color: white;
    margin: 0;
    padding: 20px;
}

/* Header & Footer */
header, footer {
    text-align: center;
    padding: 10px;
}

/* Navigation */
nav {
    display: flex;
    flex-direction: column; /* Elemente untereinander anordnen */
    justify-content: center;
    align-items: center;
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
    height: 150px;
    background-image: url("Aktuelle-Relegation.jpg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Tabellen-Stile */
.relegation-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #444;
}

.relegation-table th, .relegation-table td {
    border: 2px solid white;
    padding: 10px;
    text-align: center;
}

.relegation-table th {
    background-color: #666;
    color: #FFD700;
}

.relegation-table td:nth-child(3), .relegation-table td:nth-child(5) {
    font-weight: bold;
    color: #99FF66;
}

.relegation-table td:nth-child(6) {
    font-weight: bold;
    color: #FFD700;
}

/* Archiv-Bereich */
.archiv {
    width: auto;
    height: auto;
    text-align: center;
    margin-top: 20px;
}

.archiv h2 {
    color: #FFD700;
    font-size: 24px;
    margin-bottom: 10px;
}

.archiv-container {
    width: 200px !important; /* Schmaler machen */
    max-height: 130px !important; /* Höhe begrenzen */
    overflow-y: auto; /* Scrollen nur bei Bedarf */
    padding: 5px;
    border: 2px solid #CCFF00;
    background-color: #444;
    display: flex;
    flex-direction: column; /* Inhalte vertikal anordnen */
    margin: auto;
}

.archiv-container ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    max-height: 100%;
    overflow-y: inherit;
}

.archiv-container li {
    white-space: nowrap; /* Verhindert Zeilenumbrüche */
    margin: 5px 0;
}

/* Archiv-Links */
.archiv a {
    text-decoration: none;
    color: #CCFF00;
    font-size: 18px;
}

.archiv a:hover {
    color: #FFD700;
}

/* Footer */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Allgemeine Link-Stile */
a {
    display: inline-block;
    margin-right: 10px;
}


