
h1.text-center {
    font-size: 50px;
    color: rgba(255, 63, 98, 0.88);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: bold; /* Gras */
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.17);
    margin-top: 10%;
}

/* Masquer les questions inactives */
.question {
    display: none;
    min-height: 250px;

}

/* Afficher la question quand elle est active */
.question.active {
    display: block;
}

label.radio, label.checkbox {
    display: flex;
    justify-content: center;
    cursor: pointer;
}

label.radio input, label.checkbox input {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
    pointer-events: none;
}

label.radio span, label.checkbox span {
    padding: 4px 0px;
    border: 1px solid red;
    display: inline-block;
    color: red;
    width: 200px;
    text-align: center;
    border-radius: 5px;
    margin-top: 10px;
    text-transform: uppercase;
}

label.radio input:checked + span,
label.checkbox input:checked + span {
    border-color: red;
    background-color: red;
    color: #fff;
    box-shadow: 10px 10px 5px rgba(187, 41, 78, 0.8);

}

label.radio input:checked + img,
label.checkbox input:checked + img {
    border: 2px solid green;
    color: #fff;
    box-shadow: 10px 5px 5px rgba(187, 41, 78, 0.8);
}

.ans {
    margin-left: 36px !important;
}

.btn:focus {
    outline: 0 !important;
    box-shadow: none !important;
}

.btn:active {
    outline: 0 !important;
    box-shadow: none !important;
}

/* Style pour l'image à côté de la question */
.question-image {
    margin-right: 1em;
    border-radius: 5px;
}

img.reponse-image{
    width: 20%;
    border: 1px solid red;
    aspect-ratio: 3/2;

}



/* affichage du résultat */

/* Conteneur pour centrer le contenu */
.center-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;

}
.card-style {
    overflow: hidden;
    text-align: left;
    border-radius: 8px;
    width: 500px;
    height: 400px;
    max-width: 90%;
    max-height: 90%;
    box-shadow: 10px 10px 5px #434343; /* Appliquer une ombre */
     background-color: #fff;
}

.header {
    padding: 1.5em 1em;
}
/* Styles pour l'image */
.image {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    background-color: #e2feee;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 9999px;
    animation: animate 0.6s linear alternate-reverse infinite;
    transition: 0.6s ease;
}

.image svg {
    color: #0afa2a;
    width: 40px;
    height: 40px;
}

/* Styles pour le texte */
.content {
    margin-top: 12px;
    text-align: center;
}

.title {
    color: #066e29;
    font-size: 60px;
    font-weight: 600;
    line-height: 1.5em;
}
.message {
    margin-top: 8px;
    color: #595b5f;
    font-size: 40px;
    line-height: 2em;
}

.terminer, .refaire-qcm {
    display: inline-flex;
    padding: 12px 24px;
    margin-top: 20px;
    background-color: #1aa06d;
    color: #ffffff;
    font-size: 30px;
    font-weight: 500;
    justify-content: center;
    width: 100%;
    border-radius: 6px;
    border: none;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.terminer:hover{
    color: #FFFFFF;
    text-decoration: none;
}
@keyframes animate {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.50);
    }
}


/* Styles pour la carte d'échec */

.title-fail {
    color: #ff0000;
}

.message-fail {
    color: #ab4d4d;
}

.qcm-fail{
    background-color: rgba(231, 0, 0, 0.87);
}
.qcm-fail:hover{
    color: #FFFFFF;
    text-decoration: none;
}


