/* -------------------------------------------------- */
/* =============== STYLES GLOBAUX (mobile par défaut) */
/* -------------------------------------------------- */

@import url(https://db.onlinewebfonts.com/c/3ce7ed5e528eca5c8baeff28f6a29369?family=BrandonGrotesque-Medium);

html {
  background: #15202b;
  color: white;
  font-family: "BrandonGrotesque-Medium";
}

.container-fluid {
  font-family: "BrandonGrotesque-Medium";
  background: #15202b;
  color: white;
}

.top_text h3 {
  font-family: "BrandonGrotesque-Medium";
}

.congrats_text_result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

input#user-email::placeholder {
  color: black;
  text-align: center;
  font-size: 17px;
  font-weight: bold;
}

.para {
  border-radius: 20px;
}

.c-black {
  color: black;
  text-decoration: none;
  font-size: 30px;
  font-weight: 400;
  background: #DD0000;
  border-radius: 3px;
}

.downlaod-btn-styles,
.downlaod-btn-styles-yes {
  padding: 3px !important;
  border: none !important;
  color: #fdf3f3 !important;
  border-radius: 18px !important;
}

.downlaod-btn-styles {
  background-color: #d20001 !important;
}

.end_text {
  display: grid;
  border-radius: 10px;
  padding: 0px !important;
  margin-left: 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.text-white { color: white !important; }
.timer-left { display: flex !important; justify-content: end !important; }
#questionNumberIndicator { font-weight: bold; font-size: 20px; margin-left: 15px; }

.p-types { margin: 0; font-size: 1.5rem; }

#house1, #house2, #house3, #house4, #house5, #house6, #house7 {
  margin: 0;
  font-size: 1.6rem;
}

.housesContainer { display: flex; flex-direction: column; align-items: center; }

#timer {
  font-size: 24px;
  text-align: center;
  animation: pulse 1s infinite alternate;
}

@keyframes pulse {
  from { transform: scale(1); opacity: 1; }
  to { transform: scale(1.1); opacity: 0.7; }
}

.p-20 { padding: 10px; font-size: 1.2rem; }
.font-size-1-5-rem { font-size: 1.5rem; }
.middle-align-margin { margin-left: 25px !important; }
.font-size-3-rem { font-size: 2rem; }
.font-size-1-rem { font-size: 1rem; }

#yesAnswerBtn, #noAnswerBtn {
  font-size: 22px;
}

#yesAnswerBtn { background-color: #0000DD; }

#questionContainer {
  height: 120px;
  overflow: auto;
  text-align: center;
}

.hero { color: #D13527 !important; }
.illuminator { color: #248EC8 !important; }
.genius { color: #F4AF28 !important; }
.artist { color: #728033 !important; }
.explorer { color: #F37322 !important; }
.visionary { color: #9D1962 !important; }
.creator { color: #9C1F23 !important; }

.card-hero { background-color: #D13527 !important; }
.card-illuminator { background-color: #248EC8 !important; }
.card-genius { background-color: #F4AF28 !important; }
.card-artist { background-color: #728033 !important; }
.card-explorer { background-color: #F37322 !important; }
.card-visionary { background-color: #9D1962 !important; }
.card-creator { background-color: #9C1F23 !important; }

.custom-button-class {
  background-color: #DD0000;
}

.custom-button-class:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

.index-logo { width: 199px; }
#question { font-size: 25px; line-height: 1.1; }
.main_text img { max-width: 400px; width: 100%; height: auto; display: block; margin: 0 auto; }


/* -------------------------------------------------- */
/* =============== BLOC DES RÉSULTATS =============== */
/* -------------------------------------------------- */
.end_result h2 { font-size: 1.8rem !important; }
.end_result .Text p { font-size: 1.3rem !important; }
#download-pdf-btn { margin-bottom: 50px !important; }

.end_result .col-2,
.end_result .col-3.result_img,
.end_result .col-5.Text {
  box-sizing: border-box;
}


.end_result .col-2 {
  width: 60px !important;
  justify-content: center;
}

.end_result .col-3.result_img {
  width: 140px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
  margin-top: -18px;
}

.end_result .col-5.Text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 10px !important;
}

.end_result .row.d-flex.justify-content-center {
  width: 100%;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 0.75rem;
  box-sizing: border-box;
  flex-wrap: nowrap;
  margin-bottom: 15px;
}

.result_img img {
  width: 16vw;
  height: 48px;
  margin-left: -15px;
}

.c-black { font-size: 18px; border-radius: 7px; padding: 6px; }

/* -------------------------------------------------- */
/* =============== TABLETTE (768px à 999px) =============== */
/* -------------------------------------------------- */
@media (min-width: 768px) and (max-width: 999px) {
  .end_result .Text { margin-left: 0%; }
  .result_img img { width: 8vw; height: 55px; }
  .c-black { font-size: 20px; border-radius: 7px; padding: 6px; }
}


/* -------------------------------------------------- */
/* =============== GRAND ÉCRAN (≥ 1000px) =============== */
/* -------------------------------------------------- */
@media (min-width: 1000px) {
    .result_img img { width: 100px; height: 100px; object-fit: contain; }
  .c-black { font-size: 30px; }
}

@media (min-width: 1200px) and (max-width: 1300px) {
  .end_result .col-5.Text {
    flex: 0 0 350px !important;
  }
}


/* -------------------------------------------------- */
/* =============== MOBILE (≤ 768px) =============== */
/* -------------------------------------------------- */
@media (max-width: 768px) {
  .end_result .row.d-flex.justify-content-center {
    flex-wrap: nowrap;
    flex-direction: row;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .end_result .col-2 {
    width: 20px !important;
    text-align: center;
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
  .end_result .col-3.result_img {
    width: 80px !important;
    margin-left: 5px;
    margin-right: 5px;
  }
  .end_result .col-3.result_img img { max-width: 100%; height: auto; display: block; }
  .end_result .col-5.Text { width: auto !important; flex: 1; padding-left: 10px !important; }
  .end_result .Text p { font-size: 1rem !important; }
  .end_result h2 { font-size: 1.3rem !important; }
}

/* -------------------------------------------- */

