/* Centrage de la carte */
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    height: 90vh;
    justify-content: space-between;
    padding: 20px;
}

/* Style de la carte */
.card {
    width: 500px;
    /* height: 333px; */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    font-weight: bold;
    color: #333;
    background-color: #fff;
    border: 2px solid #333;
    border-radius: 1vw;
    text-align: center;
    transition: transform 1s;
    margin-top: 2vw;
    margin-bottom: 10vw;
    padding: 10vw;
}

/* Effet de rotation */
.rotating {
    transform: rotateY(180deg);
}

/* Style du grand titre centré */
.title {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    color: #333;
    margin-top: 20px;
}

/* Style du texte explicatif */
.explanation {
    font-size: 18px;
    text-align: center;
    margin-bottom: 15px;
}

/* Largeur des champs de sélection */
.dropdown-width {
    width: 500px;
}

/* Largeur fixe pour l'accordéon complet */
.accordion {
    width: 100%;
    max-width: 800px;
    /* Définir une largeur maximale pour tout l'accordéon */
    margin: 0 auto;
    /* Centre l'accordéon */
}

/* Largeur fixe pour chaque item d'accordéon */
.accordion-item {
    width: 100%;
}

/* Largeur fixe pour le bouton de l'en-tête */
.accordion-button {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* Largeur fixe pour le contenu de l'accordéon */
.accordion-body {
    width: 100%;
    max-width: 800px;
    padding: 15px;
    background-color: #f9f9f9;
}


/* Responsive styling */
@media (max-width: 768px) {
    .card {
        width: 100%;
        height: 250px;
        font-size: 40px;
    }

    .title {
        font-size: 36px;
    }

    .dropdown-width {
        width: 100%;
    }

    .button-group {
        gap: 10px;
        flex-wrap: wrap;
    }

    .explanation,
    .controls {
        width: 100%;
        text-align: center;
    }
}