* {
  padding: 0px;
  margin: 0px;
}

/* Correspond au container version bootstrap */
main {
  width: 80%;
  margin: 0 auto;
}

form ul {
  list-style: none;
}

/* Titres 1, 2 et 3  */
h2 {
  color: var(--color-bleu);
  text-align: center;
  text-decoration: underline;
  line-height: 100px;
}

a {
  color: var(--color-bleu);
}

/* Formulaire de contact */
form {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#contactError,
#devisError {
  position: relative;
  width: calc(100% - 2rem) !important;
  margin: 1rem auto !important;
  padding: 1rem;
  border-radius: 10px;
  color: white;
  background-color: var(--color-marron);
  transform: translateX(-0.5rem);
}

/* Zone de remplissage champs */

#contact input,
#devis input[type="text"],
#devis input[type="tel"],
#devis input[type="email"] {
  padding: 15px;
  width: 100%;
  border-radius: 20px;
  display: flex;
  margin-bottom: 30px;
  border: 4px solid;
}

#contact input[type="text"]:focus,
#devis input[type="text"]:focus,
#devis input[type="tel"]:focus,
#devis input[type="email"]:focus {
  outline: none;
}

#contact input[type="text"]::placeholder,
#devis input[type="text"]::placeholder,
#devis input[type="tel"]::placeholder,
#devis input[type="email"]::placeholder {
  color: var(--color-bleu);
}

#contact textarea {
  display: flex;
  width: 100%;
  height: 200px;
  padding: 15px;
  border-radius: 20px;
  border: 4px solid var(--color-jaune);
  margin-bottom: 30px;
}

/* Champ obligatoire */
#contact h5 {
  width: 100%;
  text-align: right;
  padding-bottom: 20px;
}

#contact input:nth-child(3),
#devis input:nth-child(2) {
  color: var(--color-bleu);
}

#contact input:nth-child(4),
#devis input:nth-child(3) {
  color: var(--color-marron);
}

#contact input:nth-child(5),
#devis input:nth-child(4) {
  color: var(--color-vert);
}

#contact input[name="nom"] {
  border-color: var(--color-vert) !important;
}

/* Protection des données */
#rgpd .form-check-input {
  display: inline !important;
  width: auto !important;
  margin: 5px;
}

/* Boutons de validation info et devis*/
button,
.btndevis {
  padding: 15px;
  border-radius: 40px;
  color: var(--color-vert);
  border-color: var(--color-vert);
  background-color: white;
  border: 4px solid;
  width: 195px;
  align-items: center;
  margin: 30px 0;
  transition: 1s;
}

button:hover,
btndevis:hover {
  filter: drop-shadow(0 0 5px #34c924);
  transform: scale(1.2);
}

.btndevis {
  padding: 0;
  text-decoration: none;
  text-align: center;
}

/* Liste des prestations */
#devis {
  display: block;
  color: var(--color-bleu);
  font-weight: bold;
  line-height: 40px;
  align-items: center;
  flex-direction: column;
}

#devis h3 {
  display: flex;
  flex-direction: column;
  color: var(--color-marron);
  text-align: center;
  line-height: 100px;
  width: 257px;
  height: 50px;
  justify-content: center;
  border: 4px solid var(--color-marron);
  border-radius: 40px;
  color: var(--color-bleu);
  margin-bottom: 20px;
  margin-top: 30px;
}

#detail {
  display: flex;
  width: 100%;
  height: 200px;
  padding: 15px;
  border-radius: 20px;
  border: 4px solid var(--color-jaune);
  margin-bottom: 50px;
}

#devis .groupcheck {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 20px;
  align-items: stretch;
}

#devis .groupcheck article {
  padding: 0 1rem;
}

#devis div:nth-child(1) {
  width: 330px;
  margin-left: calc(25% - 165px);
}

#devis div:nth-child(2) {
  width: 310px;
  margin-right: calc(25% - 155px);
}

/* Coordonnées de l'entreprise */
#coordonnees iframe {
  border-radius: 20px;
  border: 5px solid var(--color-vert) !important;
  overflow: hidden !important;
  width: 550px;
  height: 225px;
}

/* Carte map et Siège social*/
#coordonnees .loc1 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  color: var(--color-bleu);
  padding: 80px;
  margin: 80px;
}

/* Carte map et Antenne Aix - Les Milles*/
#coordonnees .loc2 {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  padding: 80px;
  margin-left: 80px;
  color: var(--color-bleu);
}

/* Responsive */
@media screen and (max-width: 992px) {
  #contact h5 {
    width: 100%;
    text-align: center;
    padding-bottom: 20px;
  }

  /* Coordonnées de l'entreprise */
  #coordonnees iframe {
    width: 300px;
  }
  /* Carte map et Siège social*/
  #coordonnees .loc1 {
    flex-direction: column-reverse;
    margin: -38px;
    align-items: center;
    justify-content: space-between;
  }

  /* Carte map et Antenne Aix - Les Milles*/
  #coordonnees .loc2 {
    flex-direction: column-reverse;
    align-items: center;
    margin: -38px;
    justify-content: space-between;
  }

  address {
    padding-bottom: 20px;
  }

  #devis .groupcheck {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 20px;
    align-items: stretch;
  }
}
