@charset "UTF-8";

:root {
  --hue-color: 230; /*Purple 250 - Green 142 - Blue 230 - Pink 340*/

  --first-color: hsl(var(--hue-color), 69%, 61%);
  --first-color-second: hsl(var(--hue-color), 69%, 61%);
  --first-color-alt: hsl(var(--hue-color), 57%, 53%);
  --first-color-lighter: hsl(var(--hue-color), 92%, 85%);
  --title-color: hsl(var(--hue-color), 8%, 15%);
  --text-color: hsl(var(--hue-color), 8%, 45%);
  --text-color-light: hsl(var(--hue-color), 8%, 65%);
  --input-color: hsl(var(--hue-color), 70%, 96%);
/*  --body-color: hsl(var(--hue-color), 60%, 99%);*/
  --body-color: #062597;
  --container-color: #fff;
  --scroll-bar-color: hsl(var(--hue-color), 12%, 90%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 80%);

  --body-font: Arial, sans-serif;
  --big-font-size: 2rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25;
  --h3-font-size: 1.125;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;

  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;

  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.5;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}

.h1,
.h2,
.h3,
h1,
h2,
h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}
.h1,
h1 {
  font-size: calc(1.375rem + 1.5vw);
}
@media (min-width: 1200px) {
  .h1,
  h1 {
    font-size: 2.5rem;
  }
}
.h2,
h2 {
  font-size: calc(1.325rem + 0.9vw);
}
@media (min-width: 1200px) {
  .h2,
  h2 {
    font-size: 2rem;
  }
}
.h3,
h3 {
  font-size: calc(1.3rem + 0.6vw);
}
@media (min-width: 1200px) {
  .h3,
  h3 {
    font-size: 1.75rem;
  }
}
p {
  margin-top: 0;
  margin-bottom: 1rem;
}
ul {
  padding-left: 2rem;
}

ul {
  margin-top: 0;
  margin-bottom: 0rem;
}
blockquote {
  margin: 0 0 1rem;
}

input {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

[hidden] {
  display: none !important;
}

.container {
  width: 100%;
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

.text-center {
  text-align: center !important;
}

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

body {
  min-height: 100vh;
  font-size: calc(0.75em + 1vmin);
  margin: 0 0 var(--mb-3) 0;
  font-family: var(--body-font);
  background-color: #bdfda8; /*Aquamarine #090582; boby*/
  padding: 0;
  color: var(--text-color);
  overflow-x: hidden;
  font-weight: var(--bs-body-font-weight);
  line-height: var(--bs-body-line-height);
  text-align: var(--bs-body-text-align);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body.dark-theme {
  --first-color-second: hsl(var(--hue-color), 30%, 8%);
  --title-color: hsl(var(--hue-color), 8%, 95%);
  --text-color: hsl(var(--hue-color), 8%, 75%);
  --input-color: hsl(var(--hue-color), 29%, 16%);
/*  --body-color: 230*/
  --container-color: hsl(var(--hue-color), 29%, 16%);
  --scroll-bar-color: hsl(var(--hue-color), 12%, 48%);
  --scroll-thumb-color: hsl(var(--hue-color), 12%, 36%);
}

html {
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4 {
  color: silver; /* #090549 var(--title-color); */
  font-weight: var(--font-semi-bold);
}

header {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  padding: 30px 10px 20px;
  flex-wrap: wrap;
}

#nav {
  width: 50px;
}

header ul {
  list-style: none;
  display: flex;
}

header ul li {
  display: inline-block;
}

summary {
  writing-mode: vertical-lr;
  text-align: center;
  padding: 12px 10px;
  background-color: var(--title-color);
  border: 2px solid #555;
  border-radius: 4px;
  color: #555;
  cursor: pointer;
  user-select: none;
  outline: none;
  transition: transform 200ms ease-in-out 0s;
}

summary::before,
summary::after {
  position: static;
  top: 0;
  left: 0;
}

summary::before {
  content: "";
}
summary::after {
  content: "III";
  letter-spacing: -1px;
}

summary:hover {
  transform: scale(1.1);
}

summary::marker {
  font-size: 0;
}

summary::-webkit-details-marker {
  display: none;
}

details[open] .menu {
  animation-name: menuAnim;
}

details[open] summary::before {
  content: "X";
}

details[open] summary::after {
  content: "";
}

.menu {
  position: absolute;
  height: 0;
right:100px;
  width: fit-content;
  border-radius: 4px;
  background-color: var(--container-color);
  box-shadow: 0 4px 12px 0 rgba(196, 196, 196, 0.2);
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  animation: closeMenu 300ms ease-in-out forwards;
  z-index: 100;
}

.menu a {
  padding: 12px 24px;
  margin: 0 16px;
  color: var(--title-color);
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  text-align: center;
  transition: all 200ms linear 0s;
}

.menu a:nth-of-type(1) {
  padding-top: 24px;
}

.menu a:nth-last-of-type(1) {
  border-bottom: none;
}

.menu a:hover {
  color: var(--first-color);
}

@keyframes menuAnim {
  0% {
    height: 0;
  }
  100% {
    height: 450px;
  }
}

@keyframes fadeMe {
  0% {
    opacity: 0.4;
  }
  100% {
    opacity: 0;
  }
}

span {
  display: block;
}

h1 {
  margin-right: 40px;
}

.info {
  text-align: center;
  font-size: small;
  font-weight: bold;

}

.citation {
  font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande",
    "Lucida Sans", Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section {
  margin: 25px;
  padding: 1rem 0 2rem;
}

section.section {
  border-radius: 40px;
  padding: 20px;
  box-shadow: 0 2px 4px rgb(0 0 0 / 15%);
  transition: 0.3s;
  background-color: var(--container-color); /* dimgray; #090549; section */
}

section.section:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

section > i.fa-solid {
  font-size: 2.5rem;
  width: 1.8em;
  text-align: center;
  line-height: 1.8em;
  background: Aqua; /* #666; */
  color: #fff;
  border-radius: 0.9em;
  position: absolute;
}

.section__what {
  margin-bottom: 30px;
}

.section__title {
  font-size: var(--h1-font-size);
}

.section__what > i.fa-solid,
.section__treat > i.fa-solid,
.section__about > i.fa-solid {
  box-shadow: 0 0 2px var(--first-color);
  left: 90%;
  transform: translate(0, -60%) rotate(-10deg);
  color: white; /* #090549 var(--title-color); */
  background-color: Aqua; /* navy var(--first-color-alt); rond droit*/
}

.section__freq,
.section__treat,
.section__test {
  margin-top: 50px;
  margin-bottom: 30px;
}

.section__freq,
.section__test {
  text-align: right;
}

.section__freq > i.fa-solid,
.section__test > i.fa-solid {
  box-shadow: 0 0 2px var(--first-color);
  right: 90%;
  transform: translate(0, -60%) rotate(10deg);
  color: var(--title-color);
  background-color: Aqua; /* navy; #0905c7; rond gauche*/
}

.section__about {
  margin-top: 50px;
}

a {
  text-decoration: none;
  color: Aqua;
}

.underline {
  position: relative;
  color: var(--first-color);
}

.underline:hover {
  color: var(--first-color-lighter);
}

.underline::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--first-color-alt);
  transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

@media (hover: hover) and (pointer: fine) {
  .underline:hover::before {
    left: 0;
    right: auto;
    width: 100%;
  }
}

blockquote {
  font-weight: 100;
  font-size: var(--small-font-size);
  max-width: 400px;
  line-height: 1.4;
  position: relative;
  margin: 0;
  padding: 0.5rem;
  font-style: italic;
  text-align: center;
}

blockquote:before,
blockquote:after {
  position: absolute;
  color: var(--first-color-lighter);
  font-size: 3.5rem;
  width: 2.5rem;
  height: 2.5rem;
}

blockquote:before {
  content: "“";
  left: -1.5rem;
  top: -1.5rem;
}

blockquote:after {
  content: "”";
  right: -0.5rem;
  bottom: -1rem;
}

cite {
  line-height: 3;
  text-align: left;
  font-size: var(--smaller-font-size);
}

.list__decimal {
  list-style-type: decimal;
  list-style-position: inside;
}

.list__decimal li:not(:last-child) {
  margin-bottom: 20px;
}

.reveal [class*="reveal-"] {
  opacity: 0;
  transform: translateY(50px);
}

.left-reveal [class*="left-reveal-"] {
  opacity: 0;
  transform: translateX(-50px);
}

.right-reveal [class*="right-reveal-"] {
  opacity: 0;
  transform: translateX(50px);
}

.reveal-visible [class*="reveal-"] {
  opacity: 1;
  transform: translateY(0);
  transition: 1.25s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-visible .reveal-2,
.reveal-visible .right-reveal-2,
.reveal-visible .left-reveal-2 {
  transition-delay: 0.2s;
}

.reveal-visible .reveal-3,
.reveal-visible .right-reveal-3,
.reveal-visible .left-reveal-3 {
  transition-delay: 0.15s;
}

.reveal-visible .reveal-4,
.reveal-visible .right-reveal-4,
.reveal-visible .left-reveal-4 {
  transition-delay: 0.15s;
}

.reveal-visible-right [class*="right-reveal-"] {
  opacity: 1;
  transform: translateX(0);
  transition: 1s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-visible-left [class*="left-reveal-"] {
  opacity: 1;
  transform: translateX(0);
  transition: 1s cubic-bezier(0.5, 0, 0, 1);
}

.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  background-color: var(--first-color);
  opacity: 0.8;
  padding: 0 0.4rem;
  border-radius: 0.4rem;
  z-index: 10;
  transition: 0.4s;
}

.scrollup:hover {
  background-color: var(--first-color-alt);
}

.scrollup__icon {
  color: #fff;
  font-style: normal;
}

.show-scroll {
  bottom: 5rem;
}

.example {
  font-size: 17px;
  color: #888;
  font-weight: 400;
  margin: var(--mb-0-75);
  display: block;
}

.list__title {
  font-size: 22px;
  list-style-type: disc;
  list-style-position: outside;
  font-weight: 800;
  color: var(--first-color-lighter);
}

.back {
  position: relative;
  display: inline-block;
  text-decoration: none;
  padding: 10px 10px 10px 40px;
  margin-left: 35px;
}

.back h4 {
  color: #4a4f6a;
  font-size: 16px;
  transform: translateY(8px);
  transition: transform 500ms 0s cubic-bezier(0.2, 0, 0, 1);
}

.back span {
  opacity: 0;
  color: #858ba9;
  font-size: 14px;
  font-weight: 300;
  display: inline-block;
  transform: translateY(10px);
  transition: transform 500ms 0s cubic-bezier(0.2, 0, 0, 1),
    opacity 500ms 0s cubic-bezier(0.2, 0, 0, 1);
}

.back div {
  top: 11px;
  left: 0;
  content: "";
  width: 30px;
  height: 30px;
  display: block;
  overflow: hidden;
  position: absolute;
  border-radius: 50%;
  transform: scale(1);
  background-color: #e9e7f2;
  transition: transform 400ms 0s cubic-bezier(0.2, 0, 0, 1.6);
}

.back div::after {
  top: 0;
  left: 0;
  content: "";
  width: 60px;
  height: 30px;
  position: absolute;
  background-position: 0 0;
  background-image: url("../images/back.svg");
  transition: transform 400ms 0s cubic-bezier(0.2, 0, 0, 1);
}

.back:hover h4 {
  color: #171922;
}

.back:hover h4,
.back:hover span {
  opacity: 1;
  transform: translateY(0);
}

.back:hover div {
  transform: scale(1.1);
  background-color: white;
  box-shadow: 0 2px 10px 0 rgba(185, 182, 198, 0),
    0 1px 3px 0 rgba(175, 172, 189, 0.25);
}

.back:hover div::after {
  transform: translateX(-30px);
}

.error {
  color: red;
}

.result__title {
  text-align: center;
  font-size: 24pt;
}

.result__text {
  text-align: center;
  font-size: 18pt;
  color: blue;
}

.result__links {
  margin-top: 50px;
  font-size: 20px;
}

.dropdown {
  position: relative;
  width: 1000px;
  height: 50px;
}

.dropdown.moyen {
  width: 700px;
}

.dropdown.mi-long {
  width: 1100px;
}

.dropdown.long {
  width: 1250px;
}

.dropdown::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 2px solid #333;
  right: 20px;
  top: 15px;
  z-index: 100;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(-45deg);
  transition: 0.5s;
  pointer-events: none;
}

.dropdown.active::before {
  transform: rotate(-225deg);
  top: 22px;
}

.form__input {
  background: #fff;
  border: none;
  outline: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 12px 20px;
  border-radius: 10px;
  margin-bottom: 25px;
}

.dropdown input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background: #fff;
  border: none;
  outline: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 12px 20px;
  border-radius: 10px;
}

.dropdown .option {
  position: absolute;
  top: 70px;
  width: 100%;
  background: #fff;
  box-shadow: 0 30px 30px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  overflow: hidden;
  display: none;
  z-index: 1000;
}

.dropdown.active .option {
  display: block;
}

.dropdown .option div {
  padding: 12px 20px;
  cursor: pointer;
  color: var(--container-color);
}

.dropdown .option div:hover {
  background: var(--first-color);
  color: #fff;
}

.text__form {
  font-size: 16px;
  font-style: oblique;
  font-weight: 500;
  margin-bottom: var(--mb-2);
}

.button {
  display: inline-block;
  background-color: var(--first-color);
  color: #fff;
  padding: 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
}

.button:hover {
  background-color: var(--first-color-alt);
}

.button__icon {
  font-size: 1.5rem;
  margin-left: var(--mb-0-5);
  transition: 0.3s;
  font-style: normal;
}

.button--flex {
  display: inline-flex;
  align-items: center;
}

#submit-button {
  cursor: pointer;
}

::-webkit-scrollbar {
  width: 0.6rem;
  background-color: var(--scroll-bar-color);
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb {
  background-color: var(--scroll-thumb-color);
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-color-light);
}
