@font-face {
    font-family: "Montserrat-Black";
    src: url("../font/Montserrat-Black.otf") format("truetype");
  }

  @font-face {
    font-family: "Montserrat-Regular";
    src: url("../font/Montserrat-Regular.otf") format("truetype");
  }

  @font-face {
    font-family: "Montserrat-Bold";
    src: url("../font/Montserrat-Bold.otf") format("truetype");
  }
body {
    margin: 0;
    padding: 0;
    /* background-color:#ffffff; */
    color: #fff;
    min-height: 100vh;
    font-family: "Montserrat-Regular";
}

.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 {

  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:#EF5714;
    font-size: 18px;
}
.blockQuestion{
  position: relative;
  border-radius: 15px;
  /*background: #000000;*/
  color:#585454;
  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: 12px;
  font-weight: bold;
  width: 100%;
  border-radius: 10px;


  /* -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: 8px;


border: 1px solid var(--Color-2, #FE955B);
background: var(--Color-7, #F08970);
}

.form-check input[type="radio"]:checked + label {
    border: 2px solid #EF5714; /* 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 #E53B15; */
    background-color: #EF5714; /* couleur de fond */

}
.customradio-input{
  opacity: 0  ;
}

.answers-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 8px;
}

.answer-item {
    width: 100%;
    display: flex;
    justify-content: center;
}

.answer-item .row {
    width: 100%;
}

.centered-answer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

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

}




.modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: none !important;
    border-bottom: none !important;
    border-top-left-radius: var(--bs-modal-inner-border-radius);
    border-top-right-radius: var(--bs-modal-inner-border-radius);
}


.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    color: var(--bs-modal-color);
    pointer-events: auto;
    background-color: var(--bs-modal-bg);
    background-clip: padding-box;
    border: var(--bs-modal-border-width) solid var(--bs-modal-border-color);
    border-radius: none !important;
    outline: 0;
}
