body {
    margin: 0;
    padding: 0;
    /* background-color:#ffffff; */
    color: #fff;
    min-height: 100vh;
}

.main_view {
    /*background: transparent; /* pas de fond qui écrase */
    background-image: url("../images/espacesud/Background_1.png"); /* adapte le chemin */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-box-shadow: 1px 0px 38px 7px #1b6cc9;
    box-shadow: 1px 0px 38px 7px #1b6cc9;
    font-size: 16px;
    overflow-x: hidden;
}


.main_view {
    margin: 0 auto;
}

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

/* --- Bloc Question/Réponses --- */
.question-block {
    background: #377389;
    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:#377389;
    color:#fff;
    padding: 10px;
    border-radius: 10px;

}

.form-control.form-input-custom {
  background-color: #D0E8E8; /* gris très clair */
  border: 2px solid #D0E8E8; /* bleu doux */
  border-radius: 12px;       /* coins arrondis */
  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 {
    background: #377389;
    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 #377389;
}

#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: #377389;
   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: #D1E8E8;
  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;
  margin-bottom: 10px;
}

.form-check input[type="radio"]:checked + label {
    border: 2px solid #2A7B9B; /* 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 #2A7B9B;
    
}
.customradio-input{
  opacity: 0  ;
}

.card-body {
    background-color: #D1E8E8;
    border-radius: 15px;
    padding: 20px;
}





.quizprev{
  position: relative;
  /* bottom:10px;
  bottom:0px !important; */
  /* left:10px; */
}

.quiznext{
  position: relative;
  /* bottom:10px;
  bottom:0px !important; */
  /* right:10px; */
}

.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;
    }
    
}


