body{
    margin: 0px !important;
    padding: 0px !important;
}
#game_card{
    background-color: #FEFDF3;
}
.txt_green{
    color: #1e6634;
}

.btn-participe{
    background-color: #E5291E;
    color: #fff;
    border-radius: 45px;
    font-weight: 600;
}

.btn-inscrit{
     background-color: #0d6427;
    color: #fff;
    border-radius: 45px;
    font-weight: 600;
}


.myquestion{
    background-color: #000;
    padding: 20px;
    color: #fff;
}

/* --- Bloc Question/Réponses --- */
.question-block {
   
    padding: 30px 20px;
    border-radius: 8px;
    text-align: left;
    max-width: 500px;  /* limite la largeur */
    width: 100%;
    margin: 0 auto 50px auto; /* centré + marge en bas */
    box-sizing: border-box;
    min-height: 200px; /* évite bloc trop petit */
}

/* --- Titre Question --- */
.question-title {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

/* --- Réponses --- */
.question-block label {
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.question-block input[type="radio"] {
    margin-right: 8px;
}

.blockAnswer{
    background-color:#2d7a26;
    color:#fff;
    padding: 10px;
    border-radius: 10px;

}

.form-control.form-input-custom {
  padding: 10px 14px;        /* marges internes */
  font-size: 16px;           /* taille du texte */
  color: #111827;            /* couleur du texte */
  outline: none;             /* supprime le contour au focus */
  transition: all 0.3s ease; /* effet fluide sur hover/focus */
}
.form-label {
    color: #275E67;
}
/* Effet au focus */
.form-control.form-input-cus

#carouselExample{

    position: relative;
}
/* --- Bouton Valider --- */
.question-block button {
    color: #fff;
    font-weight: bold;
    padding: 12px 40px;
    border-radius: 8px;
    border: none;
    text-transform: uppercase;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0px 4px 0px #2d7a26;
}

#btn_blockBtn{
    display: none;
}
#InfoValid{
    display: none;
    color:#b40808;
    font-size: 18px;
}
.blockQuestion{
  position: relative;
  border-radius: 15px;
  /*background: #000000;*/
  color:#E37741;
  padding: 10px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}

.blockAnswer{
  position: relative;
  padding: 20px;
  font-weight: bold;
  border-radius: 15px;
  background-color: #fff;
  border:none;
  -webkit-box-shadow: 0px 11px 8px -3px rgba(0,0,0,0.96); 
  box-shadow: 0px 11px 8px -3px rgba(0,0,0,0.96);
  color:#333333;
  font-size: 16px;

}

/* --- Images Header et Accroche --- */
.main_view img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}


/* --- Responsive --- */
@media (max-width: 576px) {
    .question-block {
        padding: 20px;
    }

    .question-title {
        font-size: 16px;
    }

    .question-block button {
        padding: 10px 30px;
        font-size: 1rem;
    }
}

/* --- Boutons Suivant / Précédent --- */
.question-block .btn-prec,
.question-block .btn-suivant {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.question-block .btn-prec img,
.question-block .btn-suivant img {
    width: 400px !important;  /* Ajuster la taille selon ton design */
    height: auto;
}

/* Espace entre les boutons et le bloc */
.question-block .d-flex {
    margin-top: 20px;
}

/* Bouton Valider */
.btn-valider {
    background: #28a745;
    color: #fff;
    font-weight: bold;
    padding: 12px 40px;
    border-radius: 8px;
    border: none;
    text-transform: uppercase;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0px 4px 0px #1e7e34;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-valider:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 0px #1e7e34;
}

.customRadio{
  width: 100%;
  background-color: #2d7a26;
   border-radius: 15px 15px 15px 0px;
   color:#fff;
   padding: 10px;

}


.form-check input[type="radio"] + label {
    position: relative;
  padding: 20px;
  font-weight: bold;
  width: 100%;
  border-radius: 15px;
  background-color: #2d7a26;
  border:none;
  -webkit-box-shadow: 0px 11px 8px -3px rgba(0,0,0,0.96); 
  box-shadow: 0px 11px 8px -3px rgba(0,0,0,0.96);
  color:#fff;
  font-size: 16px;
  margin-bottom: 10px;
}

.form-check input[type="radio"]:checked + label {
    border: 2px solid #d6401b; /* couleur de la bordure */
    border-radius: 8px;
}

/* Si vous voulez que la bordure soit sur le .form-check lui-même */
.form-check input[type="radio"]:checked ~ .form-check-label,
.form-check input[type="radio"]:checked ~ label {
    border: 4px solid #d6401b;
    
}
.customradio-input{
  opacity: 0  ;
}

.card-body {
    border-radius: 15px;
    padding: 20px;
}





.quizprev{
  position: relative;
   background-color: #2b2b2b;
    color: #fff;
    border-radius: 45px;
}

.quiznext{
  position: relative;
   background-color: #2b2b2b;
    color: #fff;
    border-radius: 45px;
}

.carousel-control-next, .carousel-control-prev {
    opacity: 1 !important;
}

.carousel-control-next, .carousel-control-prev {
    width: 120px !important;
}
.carousel-control-next img, .carousel-control-prev img {
    width: 100% !important;
    height: auto;
}


/* Responsive */
@media (max-width: 576px) {
 
    .btn-valider {
        padding: 10px 30px;
        font-size: 1rem;
    }
    
}


