.wheel-container {
    width: 300px;
    height: 300px;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid #000;
}

.wheel {
    width: 100%;
    height: 100%;
    position: relative;
    transform: rotate(0deg);
    transition: transform 10s ease-out;
    list-style: none;
    padding: 0;
    margin: 0;
}

.wheel li {
    position: absolute;
    width: 50%;
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-origin: 100% 100%;
    font-weight: bold;
    color: white;
    background-color: #f5f5f5;
    border: 1px solid #000;
    /* Chaque prénom doit avoir une rotation égale et être plié selon l'angle */
}

.wheel li:nth-child(odd) {
    background-color: #3498db; /* Couleur bleue pour les prénoms en positions impaires */
}

.wheel li:nth-child(even) {
    background-color: #e74c3c; /* Couleur rouge pour les prénoms en positions paires */
}



.result {
    margin-top: 20px;
    font-size: 24px;
    font-weight: bold;
}

/* Bouton pour lancer la roue */
#spin-button {
    margin: 20px 0;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

/* Modal Styles */
.modal {
    pointer-events: auto;  /* S'assurer que la modal est interactive */
    z-index: 1050;         /* Z-index par défaut pour les modals Bootstrap */
}


.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    cursor: pointer;
}
