body {
    font-family: Arial, sans-serif;
    background-color: #ffcc80;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: #333;
}

label, select {
    font-size: 16px;
    margin-right: 10px;
}

.standings-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.standings-table th, .standings-table td {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}

.standings-table th {
    background-color: #333;
    color: white;
    cursor: pointer;
}

.standings-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.standings-table tr:hover {
    background-color: #f1f1f1;
}

.standings-table img {
    height: 40px;
    width: 40px;
    vertical-align: middle;
}

.team-name {
    background-color: #d35400; /* Dunkelorange für Teamname */
    color: white;
    font-weight: bold;
}
/* Team-Logos verkleinern auf 16x16 Pixel */
.team-logo {
    width: 24px;
    height: 24px;
    object-fit: contain; /* Verhindert Verzerrungen des Logos */
    vertical-align: middle; /* Damit das Logo in der Mitte der Zeile steht */
}

.average-points {
    background-color: #ff9933; /* Hervorhebung der Durchschnittspunkte */
    color: white;
    font-weight: bold;
}

.rank-circle {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    background-color: #e74c3c;
    color: white;
    font-weight: bold;
    text-align: center;
}

.standings-table .team-logo {
    display: block;
    margin: 0 auto;
    height: 40px;
    width: 40px;
}
/* Eigene Anpassungen */
@media (max-width: 768px) {
    h1 {
        font-size: 1.5rem;
    }
    .standings-table th, .standings-table td {
        padding: 5px;
        font-size: 0.9rem;
    }
    select.form-select {
        font-size: 0.9rem;
    }
}

@media (min-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    .standings-table th, .standings-table td {
        padding: 10px;
        font-size: 1rem;
    }
    select.form-select {
        font-size: 1rem;
    }
}
  /* Fixierter Footer */
  .fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 10px;
    z-index: 1000;
}

.fixed-footer .form-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.fixed-footer input, .fixed-footer button {
    margin: 5px 0;
}

/* Fixierter Header */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    z-index: 1000;
    padding: 10px;
}

.log-content {
    max-height: 150px;
    overflow-y: auto;
    margin-top: 10px;
}

/* Kollaps-Button Styling */
.toggle-button {
    cursor: pointer;
    color: #007bff;
}
.cookie-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none; /* initial ausgeblendet */
}

