html {
    color-scheme: light dark;
}
body {
    font-family: Tahoma, Verdana, Arial, sans-serif;
    width: 50em;
    margin: 5vh auto;
    padding: 2em;
    text-align: center;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h1 {
    color: #d9534f;
}
#countdown {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #0056b3;
}
#eventDate {
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #d9534f;
}
#yearSelect {
    display: none;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
}
th, td {
    border: 1px solid #ddd;
    padding: 8px;
}
th {
    background-color: #d9534f;
    color: white;
    text-align: center;
}
td {
    text-align: center;
}
td:first-child { 
    text-align: left;
    font-weight: bold;
}
tr:nth-child(even) {
    background-color: #f2f2f2;
}
/* Ensure table is scrollable on small screens */
.table-container {
    width: 100%;
    overflow-x: auto;
}
.hof-table th:first-child,
.hof-table td:first-child {
    text-align: center;
    font-weight: normal;
}
.red-bold {
    color: #d9534f;
    font-weight: bold;
}
/* Hide less important columns on small screens */
@media screen and (max-width: 768px) {
    th:nth-child(2), td:nth-child(2), /* Hide column 2 */
    th:nth-child(5), td:nth-child(5), /* Hide "1. Sæti" */
    th:nth-child(6), td:nth-child(6), /* Hide "2. Sæti" */
    th:nth-child(7), td:nth-child(7) /* Hide "3. Sæti" */ {
        display: none;
    }
}

/* Adjust general text size for small screens */
@media screen and (max-width: 600px) {
    h1 {
        font-size: 1.5em;
        text-align: center;
    }

    p {
        font-size: 1em;
    }

    #countdown {
        font-size: 1.2em;
        padding: 8px;
        text-align: center;
    }
}

.highlight-green {
	background-color: #c6efce;
}
.highlight-red {
	background-color: #ffc7ce;
}
.red-bold {
	color: red;
	font-weight: bold;
}
#bustStatsContainer ul {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}
#playerStatsContainer ul {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}