/* Style pour les images des joueurs */
img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    transition: transform 0.3s ease-in-out;
}

/* Style pour la boîte contenant l'image et la div cover */
.box {
    position: relative;
    overflow: hidden;
}

/* Style pour la div cover */
.cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Fond semi-transparent noir */
    color: #fff; /* Couleur du texte */
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0; /* Ajout d'opacité pour la transition */
    transition: opacity 0.3s ease-in-out;
}

/* Animation sur hover pour la div box et la div cover */
.box:hover .cover {
    opacity: 1;
}

/* Animation sur hover pour les images des joueurs */
img:hover {
    transform: scale(1.1);
}

/* Reste du style inchangé */
body {
    background-color: #C0C0C0; /* Couleur de fond plus sobre */
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    color: #333; /* Couleur du texte principale */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2 {
    color: #007bff; /* Bleu Bootstrap */
}

.row {
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: #007bff; /* Bleu Bootstrap */
}

p {
    font-weight: bold;
}

h2 {
    
    border-bottom: 2px solid #28a745;
    padding-bottom: 5px;
    margin-bottom: 15px;
}


.infinity{
    font-size: large;
    font-weight: 600;

}
/* Ajoutez d'autres styles personnalisés selon vos besoins */
