*,
::after,
::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
}

body {
  background: rgb(2, 0, 36);
  box-sizing: border-box;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 0 2rem;
}

a {
  color: #6cb8ff;
  text-decoration: none;
}

a:active,
a:focus,
a:hover {
  color: #6cb8ff;
  font-weight: 600;
  cursor: pointer;
}

a:link img,
a:visited img,
img {
  border-style: none;
}
.container {
  max-width: 1060px;
  width: 100%;
  margin: 0 auto;
}
.img-head {
  width: 100%;
  border-radius: 6px 6px 0 0;
  border: 2px solid transparent;
}
.ficheAction {
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  background-color: #fafafa;
  width: 100%;
  margin: 0 auto;
  color: #f1f1f1;
  border: 2px solid rgb(3, 196, 226);
  border-radius: 8px;
}

.ficheAction p,
.ficheAction li {
  font-size: 1.1rem;
  font-family: "Indie Flower", cursive;
  text-align: left;
  font-size: 18px;
  margin: 0.4em;
  line-height: 1;
}

.ficheAction ul {
  margin-left: 2rem;
}
.text-center {
  text-align: center;
}
.ficheActionGrid {
  display: grid;
  grid-template-columns: 3fr 9fr;
  grid-gap: 0.5rem;
  margin: 24px 8px 8px;
}
.grid-2 {
  display: grid;
  grid-template-columns: 2fr 2fr;
  grid-gap: 1rem;
}
.btnLien {
  min-width: 200px;
  display: inline-flex;
  align-items: center;

  border-top: 2px solid burlywood;
  border-bottom: 2px solid burlywood;
  font-family: "Courier New", Courier, monospace;
  text-decoration: none;
  font-weight: bold;
  margin-top: 1em;
  transition: color 0.3s;
}

.btnLien img {
  float: left;
  height: 20px;
  margin: 0.1em;
  padding-right: 0.5em;
}
.btnLien:hover {
  padding-left: 0.5em;
  border-left: 0.3em solid #eb5e07;
  transition: 0.2s ease-in;
}
@media (max-width: 780px) {
  .ficheActionGrid {
    grid-template-columns: 1fr;
    /* Une seule colonne */
  }
}
.ficheAction form {
  margin: 20px 0;
  width: 100%;
}
.ficheAction h1,
.ficheAction h2 {
  font-family: "Courier New", Courier, monospace;
  color: #4b0082;
}

.fondH2 h2 {
  font-size: 2.6rem;
  background-color: #b16a3c;
  text-align: center;
  color: #fffdfd;
}
.ficheAction h2 {
  margin: 1rem 0;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.ficheAction h3 {
  text-transform: uppercase;
  font-family: "Courier New", Courier, monospace;
  color: #4b0082;
  font-size: 1.4rem;
}

.ficheAction h4 {
  font-family: "Courier New", Courier, monospace;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: brown;
}
.rounded {
  border-radius: 10px;
}
.w-80 {
  width: 80%;
}
.w-100 {
  width: 100%;
}
.space-20 {
  padding-top: 20px;
}
.space-30 {
  padding-top: 30px;
}
.space-50 {
  padding-top: 50px;
}
.grid-11-1 {
  display: grid;
  grid-template-columns: 11fr 1fr;
}
.img-thumb-fiche {
  cursor: pointer;
}
.icnSurvol {
  display: flex;
  justify-content: center;
  padding-top: 1rem;
  margin: 1rem;
  border: 2px solid transparent;
  border-radius: 6px;
  transition: border-color 0.3s ease;
}
.icnSurvol:hover {
  border-color: #6d9b04;
}
.box {
  background-color: #fff;
  border-left: 5px solid #4b0082;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}
.fonfColG {
  background-color: #272e00; /*#dfe0d9; ; #f3ebdd; */
  padding: 1rem;
  border-radius: 10px;
  margin: 1rem 0;
}
.fonfColG2 {
  background-color: #272e00;
  padding: 1rem;
  border-radius: 10px;
  margin: 1rem 0;
}
.colG h2 {
  color: #86868b;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 600;
  margin: 1em 0 0.6em;
  letter-spacing: 0;
  line-height: 1;
}
.colG p {
  text-align: justify;
  font-size: 0.95rem;
  color: #dfe0d9;
  margin-left: 1rem;
}
.colD {
  padding: 0 1em;
  border-radius: 6px;
}
.colD p {
  text-align: justify;
}
.colD p,
ul {
  color: rgb(29, 29, 31);
  font-size: 18px;
}
.colD a {
  color: rgb(133, 133, 133);
}
.colD strong {
  /* color: rgb(199, 154, 5); */
  color: #d35400;
}
.colD h2 {
  color: rgb(29, 29, 31);
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 600;
  margin: 1em 0 0.6em;
  letter-spacing: 0;
}

.grid-3-fit {
  display: grid;
  grid-gap: 8px;
  grid-template-columns: 2fr 2fr 2fr;
}
.grid-4-fit {
  display: grid;
  grid-gap: 6px;
  grid-template-columns: 2fr 2fr 2fr 2fr;
}
.ficheAction .areaPrompt {
  width: 100%;
  height: 5rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
  padding: 8px;
}

.ficheAction .areaPromptP {
  width: 100%;
  height: 3rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-sizing: border-box;
  padding: 8px;
}

/* .ficheAction input,
.ficheAction button {
	padding: 10px;
	font-size: 1em;
	border: 1px solid #ddd;
	border-radius: 5px;
} */

.noir {
  color: black;
}
.buttonBleu {
  font-size: 1.2rem;
  background-color: #75baff;
  padding: 10px;
  color: black;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  text-transform: uppercase;
  transition: 0.2s ease;
}

.buttonBleu:hover {
  background-color: #0056b3;
  color: white;
}

.buttonOrange {
  width: 100%;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  background-color: #ff9100;
  color: #330000;
  border: none;
  cursor: pointer;
}

.survol:hover {
  cursor: pointer;
}

/* prompts */
.ficheAction .prompt {
  width: 100%;
  min-height: 120px;
  border: 2px solid brown;
  border-radius: 6px;
  display: grid;
  grid-template-columns: 1fr 16fr;
  align-items: center;
  background: #00121f;
  margin-bottom: 0.8rem;
}

.ficheAction .prompt_legend {
  float: left;
  background: #ec2b30;
  overflow: hidden;
  width: 20px;
}
.float-left {
  float: left;
}

.ficheAction .prompt_l_p {
  font-family: "Courier New", Courier, monospace;
  font-size: 16px;
  color: antiquewhite;
  line-height: 1;
  margin: 0.2em;
  padding: 0;
  text-align: justify;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ficheAction .resCatParent {
  position: relative;
}

.resCat {
  background: #2b85ec;
  border-radius: 3px;
  position: absolute;
  top: 8px;
  right: 6px;
  display: inline-block;
  padding: 3px 6px;
}

/*   Echelle */
#form-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

form #debt-amount-slider {
  display: flex;
  flex-direction: row;
  align-content: stretch;
  position: relative;
  width: 100%;
  height: 50px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

form #debt-amount-slider::before {
  content: " ";
  position: absolute;
  height: 2px;
  width: 100%;
  width: calc(100% * (4 / 5));
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #75baff;
}

form #debt-amount-slider input,
form #debt-amount-slider label {
  box-sizing: border-box;
  flex: 1;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
  color: brown;
}

form #debt-amount-slider label {
  display: inline-block;
  position: relative;
  width: 20%;
  height: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

form #debt-amount-slider label::before {
  content: attr(data-debt-amount);
  position: absolute;
  left: 50%;
  padding-top: 10px;
  transform: translate(-50%, 45px);
  font-size: 12px;
  letter-spacing: 0.4px;
  font-weight: 400;
  white-space: nowrap;
  opacity: 0.85;
  transition: all 0.15s ease-in-out;
}

form #debt-amount-slider label::after {
  content: " ";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border: 2px solid #f19411;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  z-index: 1;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}

form #debt-amount-slider label:hover::after {
  transform: translate(-50%, -50%) scale(1.25);
}

form #debt-amount-slider input {
  display: none;
}

form #debt-amount-slider input:checked + label::before {
  font-weight: 800;
  opacity: 1;
}

form #debt-amount-slider input:checked + label::after {
  border-width: 4px;
  transform: translate(-50%, -50%) scale(0.75);
}

form #debt-amount-slider input:checked ~ #debt-amount-pos {
  opacity: 1;
}

form #debt-amount-slider input:checked:nth-child(1) ~ #debt-amount-pos {
  left: 10%;
}

form #debt-amount-slider input:checked:nth-child(3) ~ #debt-amount-pos {
  left: 30%;
}

form #debt-amount-slider input:checked:nth-child(5) ~ #debt-amount-pos {
  left: 50%;
}

form #debt-amount-slider input:checked:nth-child(7) ~ #debt-amount-pos {
  left: 70%;
}

form #debt-amount-slider input:checked:nth-child(9) ~ #debt-amount-pos {
  left: 90%;
}

form #debt-amount-slider #debt-amount-pos {
  display: block;
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  background: #ff623e;

  border-radius: 50%;
  transition: all 0.15s ease-in-out;
  transform: translate(-50%, -50%);
  border: 2px solid #fff;
  opacity: 0;
  z-index: 2;
}

form:valid #debt-amount-slider input + label::before {
  transform: translate(-50%, 45px) scale(0.9);
  transition: all 0.15s linear;
}

form:valid #debt-amount-slider input:checked + label::before {
  transform: translate(-50%, 45px) scale(1.1);
  transition: all 0.15s linear;
}

form + button {
  display: block;
  position: relative;
  margin: 56px auto 0;
  padding: 10px 20px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  transition: all 0.15s ease-in-out;
  font-family: inherit;
  font-size: 24px;
  font-weight: 600;
  background: #fff;
  border: 2px solid #000;
  border-radius: 8px;
  outline: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
}

form + button:hover {
  background: #000;
  color: #fff;
}

form + button:hover:active {
  transform: scale(0.9);
}

form + button:focus {
  background: #4caf50;
  border-color: #4caf50;
  color: #fff;
  pointer-events: none;
}

form + button:focus::before {
  -webkit-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
}

form + button::before {
  display: inline-block;
  width: 0;
  opacity: 0;
  content: "";
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  margin-right: 0;
  transform: rotate(0deg);
}

form:invalid + button {
  pointer-events: none;
  opacity: 0.25;
}

/*         Partie résultats */
.results {
  margin-top: 1em;
  font-size: 1.2rem;
  color: #f5f5f7;
}

.ficheResultat {
  color: #f1f1f1;
}

.ficheResultat h1 {
  font-size: 1.4rem;
  text-align: center;
  letter-spacing: 0.1rem;
  color: #f5f5f7;
}
.btnReponse {
  width: 100%;
  padding: 0.5em 0;
  background: brown;
  color: white;
  font-weight: 400;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0.3em;
  border: 1px solid;
  font-size: 1.3em;
  margin-bottom: 7rem;
  margin-top: 5rem;
}

.btnReponse:hover {
  background: green;
  color: white;
  transition: 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
}
/* footer */
footer {
  max-width: 1060px;
  padding: 3em 1rem 0.5rem 1rem;
  margin: 0 auto;
}

.licence,
.licence a {
  /* 	color: #44a299 */
  color: #00162caf;
}

.licence {
  font-size: 12px;
  font-weight: 200;
  line-height: 1.4;
  color: rgba(25, 25, 25, 0.9);
}

.grid-licence {
  display: grid;
  grid-template-columns: 8fr 4fr;
  grid-gap: 1em;
}

.grid-licence strong {
  font-weight: 700;
}

.licence img {
  width: 20%;
  float: left;
  margin-right: 1rem;
}

.maj {
  text-align: right;
  color: #0b0049;
  font-size: 0.9rem;
}

.mail-btn {
  display: inline-block;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: #2f2f2f;
  outline: 0;
  padding: 0.2rem;
  font-size: 1em;
  color: #fff;
  letter-spacing: 0.5rem;
  text-indent: 0.5rem;
  transition: color 0.2s, border 0.3s;
  border-radius: 0.3em;
}

.mail-btn:hover {
  color: rgba(255, 255, 255, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.346);
  transition: color 0.1s, border 0.2s;
  cursor: pointer;
}

.barreMaj {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* .barreMaj:first-child {
	padding-bottom: 1em
} */
