body {
    font-family: cursive;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    position: relative; /* Nécessaire pour le pseudo-élément */
    overflow: hidden;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 120%;
    margin-top: -5%;
    margin-left: -5%;
    background: url('./fond.jpg') no-repeat center center/cover;
    filter: blur(4px); /* Applique le flou uniquement à l'image de fond */
    z-index: -1; /* Place l'image derrière le contenu */
}

.header {
    height: 100px;
}

.container {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative; /* Assure que le contenu est au-dessus du fond */
}

.wheel-container {
    position: relative;
}

#wheel {
    border: 5px solid #e63946; /* Vert sapin */
    border-radius: 50%;
    width: 500px;
    height: 500px;
    background: #e63946; /* rouge pour évoquer Noël */
}

.footer {
    height: 50px;
    width: 50px;
    margin-bottom: 10px;
}

.pointer {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: #f5df4d; /* Jaune doré */
}

.input-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#namesInput {
    width: 200px;
    height: 400px;
    resize: none;
    padding: 10px;
    border: 1px solid #FDFADD;
    border-radius: 5px;
    background-color: #8D010A; /* Fond blanc */
    color: #FDFADD; /* Texte gris foncé */
    font-family: cursive;
}

#drawButton, #removeWinnerButton {
    padding: 10px;
    background-color: #e63946; /* Rouge de Noël */
    color: #FDFADD;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: cursive;
}

#shuffleButton, #closeModalButton{
    padding: 10px;
    background-color: #f5df4d;
    color: #010101;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: cursive;
}

#drawButton:hover {
    background-color: #b22222; /* Rouge plus foncé */
}

/* Modale */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    color: #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.modal-content h1 {
    font-size: 24px;
    color: #116530; /* Vert sapin */
}

/* Ajout d'ombres et d'animations */
#wheel {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

