/* Allgemeine Stile */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f9;
}

.container {
    width: 80%;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Titelzeile */
h1 {
    text-align: center;
    color: #fff;
    background-color: #4caf50;
    padding: 15px;
    border-radius: 8px;
}

/* Suchcontainer */
.search-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;  /* Vertikale Ausrichtung der Elemente */
    margin-top: 30px;  /* Suchfeld leicht nach unten verschoben */
}

.search-container input {
    padding: 10px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
    color: #333;
    width: 250px;
}

.search-container i {
    font-size: 18px;
    color: #4caf50;
    margin-left: -35px;
    margin-top: 10px;
}

/* Hinweis-Kasten mit beiden Texten */
.info-container {
    display: flex;
    justify-content: flex-end; /* Rechts ausrichten */
    margin-top: -20px; /* Hinweisbox etwas höher positionieren */
}

.info-text {
    font-size: 14px;
    color: #333;
    font-style: italic;
    background-color: #e0e0e0; /* Grauer Hintergrund */
    padding: 20px 15px; /* Mehr horizontaler Abstand */
    border-radius: 8px;
    max-width: 400px; /* Maximale Breite des Textes */
    text-align: left; /* Text links ausrichten */
}

.info-text ul {
    list-style-type: decimal;
    padding-left: 20px;
}

.info-text li {
    font-size: 14px;
    color: #333;
}

/* Kopfzeile der Tabelle */
table th {
    background-color: #4caf50;
    color: white;
    font-weight: bold;
    padding: 12px;
    text-align: center;
}

table tr:nth-child(even) {
    background-color: #f9f9f9; /* Helleres Grau statt Grün */
}

table tr:nth-child(odd) {
    background-color: #f4f4f4; /* Noch ein bisschen heller */
}

table tr:hover {
    background-color: #d9f7d9;  /* Leichtes Grün beim Hover */
}

/* Tabelle */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th, table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: center;
}

table td {
    background-color: #fff;
}

/* Reaktionsfähigkeit */
@media screen and (max-width: 768px) {
    .container {
        width: 90%;
    }

    table th, table td {
        padding: 10px;
    }

    .info-text {
        font-size: 12px;
        padding: 15px;
    }

    .search-container input {
        width: 100%;
    }
}
