/*  CSS für die Tabelle der Hauptseite (index.html)
    Autor: Schreiber, Albert
*/

/* Grundlayout der Tabelle */
table {
    width: 100%;
    margin: 30px auto;
    border-collapse: separate;
    border-spacing: 0;
    box-shadow: 8px -8px 4px rgba(0,0,0,.25);
    border-bottom: 12px solid #8b0000;
    background: #fff;
    color: #000;
    font-size: 16px;
}

/* Tabellenkopf */
thead th {
    background: #800000;
    color: #fff;
    text-align: left;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 12px 16px;
    line-height: 1.2;
}

/* Tabelleninhalt */
tbody td {
    padding: 10px 16px;
}

thead th:not(:last-child),
tbody td:not(:last-child) {
    border-right: 2px solid #8b0000;
}

/* Zebra-Striping für Zeilen */
tbody tr:nth-child(odd)  { background: #eeeeee; }
tbody tr:nth-child(even) { background: #d5d5d5; }

/* Hover-Effekt für Zeilen */
tbody tr:hover {
    background: #e53935;
    color: #fff;
}

tbody td:nth-child(2)::first-letter {
    font-weight: 700;
}