/* Reset CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  max-width: 1920px;
}
/* Corps du document */
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  line-height: 1.6;
  color: #333;
  background-color: #b9d5e8;
}
header,
footer {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 1920px;
}
main {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.backgroundUp {
  background: url(../assets/images/backgroundUp.webp);
  background-size: cover;
  width: 100%;
  text-align: center;
}

span.text {
  color: #322c79;
}

/*Effets sur le titre*/
.title {
  padding-top: 100px;
  color: #ef7214;
  padding-bottom: 300px;
}

.logo-title {
  height: 50px;
}
.product-text {
  display: block;
  margin-top: -20px;
}
h2 {
  color: #322c79;
}

.text-content {
  color: #ef7214;
  font-weight: 700;
  width: 100%;
  display: block;
  margin: 50px;
  text-align: center;
}

p {
  margin: 20px;
}

/*Formulaires*/
/*Formulaire message*/
form {
  color: #322c79;
}

.form-action {
  padding-left: 0;
}

.formContact {
  display: flex;
  flex-direction: column;
  width: 600px; /* Ajuste la largeur du formulaire global */
}

.formName,
.formMail,
.formMessage {
  display: flex;
  align-items: center; /* Aligne les labels verticalement au centre des champs */
  justify-content: space-between;
  margin-bottom: 20px;
  width: 100%;
}

.formName label,
.formMail label,
.formMessage label {
  width: 30%; /* Ajuste la largeur des labels */
  text-align: left;
  font-size: 1.2rem;
}

.formName input,
.formMail input,
.formMessage textarea {
  /*border: 1px solid black;*/
  border-radius: 10px;
  width: 70%; /* Ajuste la largeur des champs de texte */
  padding: 10px;
  font-size: 1rem;
  box-sizing: border-box;
}

.formMessage textarea {
  height: 120px;
}

.formSubmit {
  display: flex;
  justify-content: end;
  width: 100%;
  margin-top: 10px;
}

.formSubmit input {
  background-color: #322c79;
  color: white;
  border-radius: 10px;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}

/*Form Mail*/
.mailingList {
  background: url(../assets/images/Vague-mailingList.webp);
  width: 100%;
  text-align: center;

  padding-bottom: 100px;
}

h3 {
  color: #ef7214;
  margin-top: 100px;
  text-align: center;
}
.mailingListMail {
  color: #ef7214;
  font-weight: 500;
}

.conditions-mailingList {
  color: #ef7214;
  width: 40%;
  margin: auto;
  @media (max-width: 1316px) {
    width: 60%;
  }
  /* @media (max-width: 900px) {
    width: 70%;
  } */
}

.accept-text {
  font-size: small;
}

.conditions-mailingList p {
  font-size: x-small;
}

.privacy-policy-text p {
  font-size: x-small;
}

.privacy-policy-ML {
  color: #b9d5e8;
}

.mailingListMail input {
  border-radius: 10px;
  border: 1px solid grey;
  width: 400px;
  height: 3em;
  margin: 0 10px;
}

.mailingListSubmit input {
  background-color: #ef7214;
  width: 50px;
  color: white;
  border-radius: 10px;
  border-color: transparent;
  height: 2em;
}

/*Tablettes*/
@media (max-width: 1200px) {
  .backgroundUp {
    background: url(../assets/imagesService/background-up-medium.png);
    background-size: cover;
    background-repeat: no-repeat;
  }
  .title {
    padding-bottom: 170px;
  }
}

/* Téléphones portables moyens en mode portrait */
@media (max-width: 768px) {
  .backgroundUp {
    background: url(../assets/imagesService/background-upmobile.png);
    background-size: cover;
    background-repeat: no-repeat;
  }
  .title {
    padding-bottom: 100px;
  }
  .text-content {
    width: 100%;
    margin: 0;
  }

  .formContact {
    max-width: fit-content;
  }

  h2 {
    padding-top: 100px;
  }

  h3 {
    margin-top: 60px;
  }

  .mailingList {
    background: url(../assets/images/Vague-bas-page-tel.png);
    background-repeat: no-repeat;
    background-size: cover;
  }
  .mailingList input {
    width: 250px;
  }
}

/*Petits portables*/
/* @media (max-width: 350px) {
  h2 {
    font-size: large;
    text-align: center;
  }
  .info-contact {
    margin-left: 40px;
  }
  .formName input,
  .formMail input,
  .formMessage textarea {
    width: 100px;
  }
} */
@media (max-width: 500px) {
  h2 {
    font-size: large;
    text-align: center;
  }
  .firstForm {
    width: 70%;
    justify-content: center;
  }
  .formName input,
  .formMail input,
  .formMessage textarea {
    width: 8rem;
  }
}
