.characterSelection {
    background: rgb(85, 176, 232);
    background: radial-gradient(circle, rgba(85, 176, 232, 1) 0%, rgba(63, 94, 251, 1) 86%);
    font-family: 'Yanone Kaffeesatz';
    font-size: 2em;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* Organise les éléments enfants en colonne */
    z-index: 1000;
    /* text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.65); */
    opacity: 1;
    transition: opacity 0.15s ease-in-out;
    text-align: center;
}

.characterSelection span {
    text-shadow: 0px 2px 3px rgba(0, 0, 0, 0.65);
}

/* Style de la liste des personnages */
#character-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Espace entre les cartes de personnage */
    margin-top: 20px;
    width: 80%;
    max-width: 1200px;
}

/* Style individuel des personnages */
.character-item {
    background: #ffffff;
    color: #333;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    cursor: pointer;
    overflow: hidden; /* Garantit que les enfants n'excèdent pas les bordures arrondies */
    width: 180px; /* Taille fixe pour chaque personnage */
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    text-align: center;
}

/* Image du personnage */
.character-item img {
    width: 100%; /* Adapte l'image à la largeur du conteneur */
    height: auto;
    border-bottom: 1px solid #ddd; /* Ligne séparatrice */
}

/* Nom du personnage */
.character-name {
    margin-top: 10px;
    font-size: 1.2em;
    font-weight: bold;
}

/* Description du personnage */
.character-description {
    font-size: 0.9em;
    margin-top: 5px;
}

/* Effet de survol pour les cartes de personnage */
.character-item:hover {
    transform: scale(1.05); /* Agrandit légèrement la carte */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

#ban {
    background-color: #ff3d3dab;
    padding: 10px;
    border-radius: 10px;
}

#ban-text {
    font-size: 19px;
}