.container {
    width: 100%;
    margin: 0 auto; /* Centre le conteneur horizontalement */
    background-color: #fff; /* Couleur de fond du conteneur */
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Ombre légère pour un effet de profondeur */
}

 /* Style de la catégorie */
.category {
    margin: 5px;
    padding: 10px;
    border-bottom: 1px solid #ddd; /* Bordure infÃ©rieure pour sÃ©parer les catÃ©gories */
    padding: 10px 0;
    margin: 0 auto;

}

.category:last-child {
    border-bottom: none; /* Supprime la bordure infÃ©rieure de la derniÃ¨re catÃ©gorie */
}

/* Style du nom de la catégorie */
.category-name {
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 0.8px;
    line-height: 1.5em;
    text-align: justify;
}

/* Style du nombre d'articles ou de la description */
.article-count {
    color: #dedede;
}


#quiz-container {
    margin: 50px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.8px;
    line-height: 1.5em;
    text-align: justify;
}

h2.quiz-titlecontainer {
     color: #33B82A;
}

h2.quiz-titlecontainer {
     color: #008000;
}

#nextButton {
    margin: 10px;
}

button.quizz {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #555;
    transition: background-color 0.3s ease, transform 1.5s ease; 
}

button.quizz:hover {
    background-color: #4CAF50; 
    color: #fff;
}

input[type="radio"] {
    display: none;
}

input[type="radio"] + label {
    position: relative;
    padding-left: 35px; 
    cursor: pointer;
    font-size: 16px;
    line-height: 24px;
    display: inline-block;
}

input[type="radio"] + label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%; 
    border: 2px solid #28a745;
    background-color: #fff; 
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

input[type="radio"]:checked + label:before {
    background-color: #28a745; 
    border-color: #28a745; 
}

input[type="radio"] + label {
    margin-bottom: 15px; 
}

h2 {
    color: #33B82A;
    letter-spacing: 0.8px;
    line-height: 1.5em;
    text-align: justify;
}

p {
    line-height: 1.5;
}

div {
    margin: 0px;
}

p.correct-answer {
    color: green;
}

p.incorrect-answer {
    color: red;
}

@media screen and (max-width: 480px) {
    
        
        #quiz-container {
            max-width: 100%;
        }
    
        #quiz-titlecontainer {
            max-width: 100%;
        }
    
        .category {
            max-width: 100%;
        }
    
}

@media screen and (min-width: 480px) {
        

        #quiz-container {
            max-width: 90%;
        }
    
        #quiz-titlecontainer {
            max-width: 90%;
        }
    
        .category {
            max-width: 90%;
        }
    

}