body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

.main-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    grid-gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    grid-column: 1 / -1;
    text-align: center;
}

.cards-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
}

a .game-card {
    transition: transform 0.3s;
    text-align: center;
}

/* Couleurs de fond spécifiques pour chaque carte de jeu */
a .game-card:nth-child(1) { background-color: #ffe0b2; } /* Orange */
a .game-card:nth-child(2) { background-color: #c8e6c9; } /* Green */
a .game-card:nth-child(3) { background-color: #bbdefb; } /* Blue */
a .game-card:nth-child(4) { background-color: #d1c4e9; } /* Purple */
a .game-card:nth-child(5) { background-color: #ffcdd2; } /* Red */
a .game-card:nth-child(6) { background-color: #b2ebf2; } /* Cyan */

a .game-card:hover {
    transform: scale(1.1);
}

.game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 200px;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s;
}

.game-card img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
    border-radius: 8px;
}

#scoreboard-container {
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
}

/* Styles pour le tableau des scores */
#scoreboard {
    width: 100%;
}

#scoreboard .score-category {
    margin-top: 20px;
}

#scoreboard .score-category h2 {
    margin-bottom: 10px;
    text-align: center;
    color: #333;
}

#scoreboard .score-category table {
    width: 100%;
    border-collapse: collapse;
}

#scoreboard .score-category table th, 
#scoreboard .score-category table td {
    padding: 8px;
    border: 1px solid #ccc;
    text-align: center;
}

#scoreboard .score-category table th {
    background-color: #f2f2f2;
}
