
/* Styles for the whole body */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#fireworksCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none; /* Allow clicks through the canvas */
    z-index: 100; /* Ensure the fireworks are on top of everything */
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

header {
    background-color: #333;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

h1 {
    font-size: 2.5rem;
}

section {
    margin: 20px auto;
    max-width: 800px;
    padding: 10px;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    border-bottom: 2px solid #333;
    padding-bottom: 5px;
}

table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    display: block;
    border-collapse: collapse;
}

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

/* Highlight the table header */
table thead {
    background-color: #333;
    color: white;
}

table tr {
    table-layout: fixed;
    background-color: #333;
    color: white;
}

/* Highlight the first two rows (teams that qualify for the final) */
//table tbody tr:nth-child(1),
//table tbody tr:nth-child(2) {
//}

table tbody tr:nth-child(2) {
    border-bottom: 3px solid red;
}

ul {
    list-style: none;
    margin-bottom: 20px;
}

ul li {
    padding: 8px;
    background-color: #e0e0e0;
    margin-bottom: 5px;
    border-radius: 5px;
}

ul li span {
    font-weight: bold;
}

ul li.past {
    background-color: #d4edda; /* Light green for past matches */
}

ul li.upcoming {
    background-color: #f8d7da; /* Light red for upcoming matches */
}

ul li.final {
    background-color: #FDDC5C; /* Light golden for the final */
}


/* Styling for the goalscorers list */
.goalscorers-list {
    list-style-type: none;  /* Remove default list bullets */
    padding: 0;             /* Remove default padding */
    margin: 10px 0 0 0;     /* Add some margin above the list */
    font-size: 0.9em;       /* Slightly smaller font size */
}

.goalscorers-list li {
    padding: 5px 0;         /* Add some padding between list items */
    color: #333;            /* Set text color */
}

/* Optional: differentiate the goalscorers */
.goalscorers-list li:nth-child(odd) {
    background-color: #f9f9f9;  /* Light background for odd rows */
}

.goalscorers-list li:nth-child(even) {
    background-color: #e9ecef;  /* Slightly darker background for even rows */
}

/* Optional: add left padding to the goalscorers list */
.goalscorers-list li::before {
    content: "⚽";            /* Add a small football icon */
    margin-right: 5px;        /* Space between the icon and text */
    color: #007bff;           /* Color of the icon */
}

/* Styling for assist information */
.assist {
    color: #555;              /* Grey color for the assister */
    font-style: italic;       /* Italicize the assister's name */
    font-size: 0.85em;        /* Slightly smaller than the scorer's font */
    margin-left: 10px;        /* Space between the scorer's name and the assister's name */
}

/* Optional: Assister's icon */
.assist::before {
    content: "🎯";            /* Small target icon for assist */
    margin-right: 5px;
    color: #28a745;           /* Green color for the assist icon */
}

.scorer-team {
    color: #999;
    float: right;
    padding-right: 5px;
}
