body {
    font-family: 'Arial', sans-serif; /* Police de base */
    color: #333; /* Texte gris foncé */
    margin: 0; /* Suppression des marges par défaut */
    padding: 0; /* Suppression des espacements internes par défaut */
    line-height: 1.6; /* Amélioration de la lisibilité */
}

/* En-tête */
header {
   
    background-color: #d32f2f; /* Couleur de fond */
    color: white; /* Texte blanc */
    text-align: center; /* Centre le texte */
    padding:  20px 0px; /* Ajout d’un espacement interne plus grand */
    
}

h1 {
    
    text-transform: uppercase; /* Majuscules */
  
   
    
}

h2 {
    color: #b71c1c; /* Rouge foncé */
    margin-bottom: 10px; /* Espacement sous les sous-titres */
}

/* Liste des trophées */
.trophy-list {
    padding: 0; /* Suppression des marges/espacements par défaut */
    list-style: none; /* Suppression des puces */
}

.trophy-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f4f4f4;
    margin-bottom: 1rem;
    border-radius: 8px; /* Coins arrondis */
    transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
    padding: 10px; /* Espacement interne */
}

.trophy-list li:hover {
    background: #e9e9e9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Ombre portée */
    transform: translateY(-5px); /* Effet de levée */
}

.trophy-list li img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px; /* Coins arrondis des images */
}

/* Barre de navigation */
nav {
    display: flex;
    justify-content: center;
    background-color: #b71c1c;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

nav a {
    text-decoration: none;
    color: white;
    padding: 18px 25px;
    font-size: 1.1rem;
    transition: background-color 0.3s, color 0.3s;
}

nav a:hover,
nav a.active {
    background-color: white;
    color: #b71c1c;
}

/* Image principale */
img {
    width: 200px;
    height: auto;
    max-width: 100%;
    object-fit: cover;
}

/* Pied de page */
footer {
    text-align: center;
    padding: 0.5rem 0;
    background-color: #b71c1c; /* Rouge foncé */
    color: white;
    font-size: 0.9rem;
}

/* Responsivité */
@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem; /* Taille plus petite */
    }

    nav {
        flex-wrap: wrap;
    }

    .trophy-list li {
        gap: 0.5rem;
        padding: 8px; /* Espacement réduit */
    }

    .trophy-list li img {
        width: 80px;
        height: 80px;
    }

    footer {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    nav a {
        flex: 1 1 auto;
        text-align: center;
        padding: 10px;
    }

    .trophy-list li img {
        width: 90px;
        height: 90px;
    }
}
