@charset "UTF-8";
.square-label {
  cursor: pointer;
  display: block;
  background-color: #f0f0f0;
  border: 2px solid #f0f0f0;
  border-radius: 4px;
  padding: 10px;
  text-align: center;
  line-height: 1.5;
  position: relative;
  transition: background-color 0.3s ease;
  font-size: 1.3rem;
  margin: 1rem 1rem 0rem 1rem;
}

.custom-control-input {
  position: absolute;
  opacity: 0;
}

.custom-control-input:checked ~ .square-label {
  background-color: #007bff;
  color: #fff;
  border-radius: 4px;
}

/* Style du bouton "Valider" */
.bottom-button {
  background-color: white;
  position: sticky;
  display: flex;
  justify-content: center;
  bottom: 0;
  padding: 3rem;
  text-align: center;
}
.bottom-button input {
  font-size: 1.5rem;
  padding: 0.5rem 2rem;
}

.container_check {
  align-items: center;
  display: flex;
  justify-content: center;
  height: 100vh;
  width: 90%;
  margin: auto;
}

.check_ok svg {
  fill: yellowgreen;
  height: 200px;
  width: 200px;
}

.check_not_ok {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  color: #ff5400;
}
.check_not_ok svg {
  height: 50px;
  width: 50px;
  fill: #ff5400;
}

.check_already_answered {
  text-align: center;
  padding: 0 1rem;
}
.check_already_answered svg {
  fill: #6e6ee3;
  height: 200px;
  width: 200px;
}

.bravo {
  font-size: 3rem;
}

.ooops {
  font-size: 3rem;
}

.already_answered {
  font-size: 2rem;
}

/** table follow */
.table-scroll {
  position: relative;
  width: 100%;
  z-index: 1;
  margin: auto;
  overflow: auto;
  height: 100vh;
}
.table-scroll table {
  width: 100%;
  min-width: 1280px;
  margin: auto;
  border-collapse: separate;
  border-spacing: 0;
}

.table-wrap {
  position: relative;
}

.table-scroll th,
.table-scroll td {
  padding: 5px 10px;
  border: 1px solid #000;
  vertical-align: top;
}

.table-scroll thead th {
  background: #333;
  color: #fff;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  font-size: 0.8rem;
  text-align: center;
}

/* safari and ios need the tfoot itself to be position:sticky also */
.table-scroll tfoot,
.table-scroll tfoot th,
.table-scroll tfoot td {
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  background: #666;
  color: #fff;
  z-index: 4;
}

th:first-child {
  position: -webkit-sticky;
  position: sticky;
  left: 0;
  z-index: 2;
  background: #ccc;
  font-size: 0.9rem;
}

thead th:first-child,
tfoot th:first-child {
  z-index: 5;
}

table.main-table svg {
  fill: yellowgreen;
}

table.main-table svg.red_svg {
  fill: red;
}

table.main-table tr.yellow_bg {
  background-color: yellow;
}
table.main-table tr.grey_bg {
  background-color: #eaeaea;
}
table.main-table tr.green_bg {
  background-color: #eaffbe;
}

/* form questions */
#form_question, #form_code {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 1rem;
  text-align: center;
}

#form_code input[type=submit] {
  font-size: 1.5rem;
  padding: 0.5rem 2rem;
}

.option {
  display: block;
  margin-bottom: 10px;
}
.option input[type=radio] {
  display: none;
}
.option label {
  cursor: pointer;
  display: block;
  padding: 10px;
  border-radius: 4px;
  background-color: #f0f0f0;
  transition: background-color 0.3s ease;
}
.option label.correct-answer {
  background-color: #04a804;
  color: white;
}
.option input[type=radio]:checked + label {
  background-color: #007bff;
  color: #fff;
}

.btn a {
  color: white;
  text-decoration: none;
}
.btn a:hover {
  text-decoration: underline;
  color: whitesmoke;
}

.container_clue img {
  width: auto;
  max-height: 400px;
}

.form_score {
  gap: 1rem;
}
.form_score select {
  border: none;
  padding: 1rem;
}
.form_score input[type=number] {
  background: #e9e9ed;
  border: none;
  padding: 1rem;
}

.adjust_score svg {
  fill: yellowgreen;
  height: 4rem;
  width: 4rem;
}

.form_step input[type=password] {
  border: none;
  padding: 1rem;
  background-color: #e6e6e6;
}

.race_break {
  gap: 2rem;
}
.race_break svg {
  width: 5rem;
  height: 5rem;
  fill: maroon;
}

.table-follow {
  width: 100%; /* La largeur du tableau doit être de 100% */
  border-collapse: collapse; /* Fusionner les bordures de cellule */
}

.table-follow th,
.table-follow td {
  padding: 8px; /* Ajoutez un peu de rembourrage pour l'apparence */
  border: 1px solid #ddd; /* Ajoutez des bordures */
}

/* La première colonne et la première ligne doivent être fixées */
.sticky-column {
  position: sticky;
  left: 0;
  background-color: #f2f2f2; /* Fond gris pour la première colonne */
  z-index: 1; /* Assurez-vous que la première colonne est au-dessus du contenu défilant */
}

.sticky-row {
  position: sticky;
  top: 0;
  background-color: #f2f2f2; /* Fond gris pour la première ligne */
  z-index: 2; /* Assurez-vous que la première ligne est au-dessus du contenu défilant */
}

/* Ajoutez ces règles pour les petits écrans */
@media only screen and (max-width: 600px) {
  .sticky-column {
    position: static; /* Annulez la position sticky */
  }
  .table-follow th:first-child,
  .table-follow td:first-child {
    width: auto; /* Réglez la largeur sur auto pour qu'elle s'adapte au contenu */
    text-align: center; /* Centrez le texte sur les cellules du tableau */
  }
}

/*# sourceMappingURL=styles.css.map */
