* {
  margin: 0;
  padding: 0;
}
:root {
  --bleuclair: #17E5F5;
  --bleufonce: #45A1FF;
  --orangeclair: #FFBD1D;
  --orangefonce: #FF8A22;
  --rose: #F74D9D;
  --noirmds: #434343;
  --blanc: #ffffff;
  --noir : #000000;
}
body {
  background-image: url(../assets/fond.png);
  width: 100%;
  object-fit: cover !important;
  background-repeat: no-repeat;
  background-size: cover;
}
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
header {
  width: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
}
#header{
  transition: 0.8s;
}
#h_desktop {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
}
ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
li {
  list-style: none;
  color: var(--noir);
  font-family: "Ubuntu Mono", monospace;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  position: relative;
  cursor: pointer;
}
header a {
  color: var(--noir);
  text-decoration: none;
}
header img {
  width: 160px;
}
#section1 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 60px;
  margin-top: 200px;
}
h1 {
  color: var(--noir);
  text-align: center;
  font-family: "Ubuntu Mono", monospace;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
p {
  color: var(--noir);
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
#s1_p {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
#section2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  width: fit-content;
  margin-top: 100px;
  margin-bottom: 60px;
}
#section2 div {
  position: relative;
}
#section2 img {
  width: 80%;
  width: fit-content;
}
#section2 h2 {
  position: absolute;
  bottom: 20px;
  left: 50%;
  bottom: 10%;
  transform: translateX(-50%);
  color: var(--blanc);
  text-align: center;
  font-family: "Ubuntu Mono", monospace;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  border-radius: 20px;
  padding: 20px;
  width: 80%;
}
#s2g {
  display: flex;
  justify-content: center;
  align-items: center;
}
#s2c {
  display: flex;
  align-items: center;
  justify-content: center;
}
#s2d {
  display: flex;
  align-items: center;
  justify-content: center;
}
#s2g h2 {
  background: linear-gradient(
    90deg,
    rgba(23, 229, 245, 0.91) 17.49%,
    rgba(69, 161, 255, 0.9) 78.17%
  );
}
#s2c h2 {
  background: linear-gradient(90deg, #f74d9d 0%, rgba(254, 205, 17, 0.46) 100%);
}
#s2d h2 {
  background: linear-gradient(
    90deg,
    #980faf 3.41%,
    rgba(69, 161, 255, 0.72) 106.8%,
    rgba(152, 15, 175, 0) 106.81%
  );
}
#btn {
  border-radius: 13px;
  background: var(--rose);
  color: var(--blanc);
  font-family: "Ubuntu Mono", monospace;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  padding: 20px;
  text-decoration: none;
  text-align: center;
}

.underline-hover::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--noirmds);
  transition: width 0.3s ease;
}
.bleuclair::before {
  background-color: var(--bleuclair);
}
.bleufonce::before {
  background-color: var(--bleufonce);
}
.orangeclair::before {
  background-color: var(--orangeclair);
}
.orangefonce::before {
  background-color: var(--orangefonce);
}

.underline-hover:hover::before {
  width: 100%;
}
#section3 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 40px;
  background-color: var(--noirmds);
  padding-top: 100px;
  padding-bottom: 100px;
  margin-top: 60px;
}
#section3 h2 {
  text-align: center;
  font-family: "Ubuntu Mono", monospace;
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: 44px;
  background: linear-gradient(90deg, #17e5f5 0%, rgba(69, 161, 255, 0.9) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
#section3 p {
  color: var(--blanc);
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  width: 80%;
  text-align: justify;
}
#section4 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  position: relative;
  background-color: var(--bleuclair);
  width: 100%;
  height: 300px;
  z-index: 3;
}
#s4rond p {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  font-size: 24px;
  font-family: "Ubuntu Mono", monospace;
}
#rond {
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}
#s4 {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
#s4 h3 {
  color: var(--rose);
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 26px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}
#s4 p {
  color: var(--rose);
}
#entree-form {
  background: linear-gradient(
    270deg,
    rgba(23, 229, 245, 0.91) 0.03%,
    rgba(69, 161, 255, 0.9) 97.98%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  font-family: "Ubuntu Mono", monospace;
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-top: 60px;
  margin-bottom: 60px;
}
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  margin-bottom: 40px;
}
.s5 {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.s5 p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--noirmds);
  font-family: "Ubuntu Mono", monospace;
  font-size: 36px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.position {
  position: relative;
  height: 64px;
  width: 64px;
  background-image: url(../assets/ellipse.png);
  background-repeat: no-repeat;
  background-size: 100%;
}

.s5 h3 {
  color: var(--noirmds);
  text-align: center;
  font-family: "Ubuntu Mono", monospace;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
form {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.form {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.61);
  width: 533px;
  height: 426px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  display: none;
}
input {
  width: 338px;
  height: 38px;
  border-radius: 5px;
  background: #d9d9d9;
  border: none;
  padding: 10px;
}
label {
  width: 338px;
  color: var(--noir);
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 16px;
  font-style: normal;
  line-height: normal;
  margin-top: 20px;
  margin-bottom: 20px;
}
.form__btn {
  width: 100px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 13px;
  background: var(--rose);
  color: var(--blanc);
  font-family: "Ubuntu Mono", monospace;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  border: none;
  margin-top: 20px;
  cursor: pointer;
}
.btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.form-active {
  z-index: 9;
  display: flex !important;
}
.form-active-animate {
  animation: moveRight 1s;
  display: flex !important;
}
.form-inactive {
  z-index: 9;
  display: flex !important;
  animation: moveLeft 1s;
}

.step-active div {
  background-image: url(../assets/ellipse-pleine.png) !important;
  color: var(--blanc) !important;
  width: 64px;
  height: 64px;
  z-index: 0;
}
.step-active p {
  color: var(--blanc) !important;
}
@keyframes moveLeft {
  0% {
    transform: translateX(-50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateX(calc(-27rem - 50%)) scale(0.9);
    opacity: 0;
  }
}

@keyframes moveRight {
  0% {
    transform: translateX(calc(27rem + 50%)) scale(0.9);
    opacity: 0;
  }
  100% {
    transform: translateX(-50%) scale(1);
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.form--message-text {
  width: 25rem;
  background: var(--blanc);
  color: var(--noirmds);
  padding: 2rem 1rem;
  text-align: center;
  font-size: 1.4rem;
  box-shadow: 0.2rem 0.2rem 0.5rem rgba(51, 51, 51, 0.2);
  animation: fadeIn 0.8s;
  border-radius: 1rem;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--noirmds);
  height: fit-content;
  padding: 60px;
  margin-top: 60px;
}
footer h3 {
  color: var(--blanc);
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}
footer p {
  color: var(--blanc);
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
#fg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
#fd {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
#reseaux {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
#fgg {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}
#fgd {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}
#merci {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 160px;
  margin-bottom: 40px;
  gap: 60px;
}
.close {
  display: none !important;
}
.prog {
  opacity: 1 !important;
}
#burger {
  padding-bottom: 30px;
  width: 100vw;
  height: 100vh;
  z-index: 5;
  position: fixed;
  top: 0;
  right: 0;
  background-color: var(--noirmds);
  align-items: center;
  justify-content: center;
  display: flex;
}
#h_mobile {
  width: 100%;
  align-items: center;
  justify-content: space-between;
  align-items: center;
  background-color: var(--blanc);
}
#h_mobile img {
  margin: 10px;
}
#h_menu {
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
  align-items: flex-end;
  background-color: var(--noirmds) !important;
  border-radius: 10px;
  z-index: 6;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 65px;
}
#json {
  padding: 10px;
  width: 32px;
  height: 32px;
}
#burger ul {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin: 15px;
}
#burger li {
  font-family: "Ubuntu Mono", monospace;
  font-style: normal;
  font-weight: 400;
  font-size: 30px;
  line-height: 30px;
  text-align: center;
  color: var(--blanc);
  list-style-type: none;
}
#burger li a {
  text-decoration: none;
  color: var(--blanc);
}
#mobile_img img {
  width: 90%;
  transition: transform 0.5s ease-in-out;
  box-shadow: var(--box);
  border-radius: 1000px;
}
@media screen and (max-width: 1100px) {
  #section2 {
    flex-direction: column;
  }
  #h_mobile {
    display: flex !important;
  }
  #h_desktop {
    display: none;
  }
  #mobile_img img {
    width: 50% !important;
  }
}
@media screen and (max-width: 900px) {
  #section4 {
    gap: 0px;
  }
  #s4 {
    width: 20%;
  }
}
@media screen and (max-width: 750px) {
  #section3 h2 {
    width: 80%;
  }
  footer {
    flex-direction: column;
  }
  #fg {
    margin-bottom: 40px;
  }
  #fgg {
    align-items: center;
    width: 50%;
  }
  #fgd {
    align-items: center;
    width: 50%;
  }
}
@media screen and (max-width: 650px) {
  #section4 {
    flex-direction: column;
    height: fit-content;
    gap: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  #fg {
    display: none;
  }
  #h_mobile img {
    width: 30%;
    margin-left: 20px;
  }
}
@media screen and (max-width: 550px) {
  #section2 img {
    width: 90%;
  }
  #section2 h2 {
    width: 70%;
  }
  #fg {
    display: none;
  }
  .s5 h3 {
    font-size: 10px;
  }
  #s4 p {
    width: 500%;
  }
  #entree-form {
    width: 80%;
  }
  .form {
    width: 60%;
  }
  input {
    width: 100% !important;
  }
  label {
    width: 100%;
  }
  #rond {
    width: 50%;
  }
  h1 {
    width: 90%;
  }
  p {
    width: 90%;
  }
  .stepper {
    gap: 30%;
  }
}
