/* Coordonnées*/

.mapouter {
  margin-top: auto;
  margin-bottom: auto;
}

.gmap_canvas {
  width: 590px;
  height: 400px;
  border-radius: 10px;
  box-shadow: 4px 4px 3px rgb(0 0 0 / 30%);
  margin-left: 20px;
  margin-right: 20px;
  margin-top: 60px;
  margin-bottom: 40px;
  background-color: white;
  padding: 20px;
}

#gmap_canvas {
  width: 550px;
  height: 380px;
}

#coordonnees-text h2 {
  margin: 60px auto 40px auto;
  max-width: 960px;
}

#coordonnees-text h2 span {
  position: relative;
  padding: 1em;
}

#coordonnees-text h2 span:before {
  content: "";
  display: block;
  position: absolute;
  height: 2px;
  background-color: #6B1863;
  width: 1200px;
  top: 50%;
  margin-top: -1px;
  right: 100%;
}

#coordonnees-text h2 span:after {
  content: "";
  display: block;
  position: absolute;
  height: 2px;
  background-color: #6B1863;
  width: 1200px;
  top: 50%;
  margin-top: -1px;
  left: 100%;
}

#coordonnees-text {
  padding: 30px;
  padding-top: 20px;
  margin: auto;
}

#coordonnees-text i {
  color: #7ECE29;
  font-size: 25px;
}

#coordonnees-text p {
  margin-top: 30px;
  margin-left: 10px;
  margin-right: 10px;
  margin-bottom: 30px;
  font-weight: bold;
}

ul span {
  color: #7ECE29;
  font-weight: bold;
}

#access {
  color: #6B1863;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 0px;
}

@media screen and (max-width: 660px)
{
  .gmap_canvas {
    width: 350px;
    margin-bottom: 0px;
  }
  #gmap_canvas {
    width: 330px;
  }
  #coordonnees-text h2 {
    margin-top: 0px;
  }
  #coordonnees-text {
    padding-top: 0px;
  }
}

/* Rendez-vous*/

#rdv:target {
  padding-top: 90px;
  margin-top: -90px;
}

#rdv h2 {
  margin: 60px auto 40px auto;
  max-width: 960px;
}

#rdv h2 span {
  position: relative;
  padding: 1em;
}

#rdv h2 span:before {
  content: "";
  display: block;
  position: absolute;
  height: 2px;
  background-color: #6B1863;
  width: 1200px;
  top: 50%;
  margin-top: -1px;
  right: 100%;
}

#rdv h2 span:after {
  content: "";
  display: block;
  position: absolute;
  height: 2px;
  background-color: #6B1863;
  width: 1200px;
  top: 50%;
  margin-top: -1px;
  left: 100%;
}

#rdv p {
  margin-bottom: 30px;
  font-weight: bold;
}

@media screen and (max-width: 660px)
{
  #rdv h2 {
    margin: 40px;
  }
  #rdv p {
    padding: 0px 30px;
  }
}

/* Formulaire*/

#contact-form {
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url("contact.jpg");
  background-color: hsl(0, 0%, 0%);
  background-size: auto;
  background-attachment: fixed;
  width: 100%;
}

#contact-form h2 {
  margin: 20px auto 20px auto;
  max-width: 960px;
}

#contact-form h2 span {
  position: relative;
  padding: 1em;
}

#contact-form h2 span:before {
  content: "";
  display: block;
  position: absolute;
  height: 2px;
  background-color: #6B1863;
  width: 1200px;
  top: 50%;
  margin-top: -1px;
  right: 100%;
}

#contact-form h2 span:after {
  content: "";
  display: block;
  position: absolute;
  height: 2px;
  background-color: #6B1863;
  width: 1200px;
  top: 50%;
  margin-top: -1px;
  left: 100%;
}

.contact-form {
  margin: 80px auto 80px auto;
  max-width: 60%;
  padding: 20px 40px 0px 40px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
}

#obligatoire {
  font-size: 14px;
  margin-top: 10px;
}

.form-content {
  display: flex;
  flex-direction: column;
  padding: 10px;
}

.input-contact {
  border-radius: 10px;
  border: none;
  margin-bottom: 10px;
  padding: 5px;
  padding-left: 10px;
}

input:focus {
  outline-color: #7ECE29;
}

textarea {
  outline-color: #7ECE29;
}

.full-name {
  display: flex;
  justify-content: space-between;
}

#last-name {
  margin-right: 20px;
}

.label-contact {
  visibility: hidden;
}

.message-contact {
  border-radius: 10px;
  border:none;
  margin-bottom: 10px;
  padding: 5px;
  padding-left: 10px;
  color: gray;
}

.button-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 40px;
  border-radius: 5px;
  box-shadow: 3px 3px 2px rgb(0 0 0 / 10%);
  border: none;
  margin: 20px auto 0;
  background-color: #7ECE29;
  color: white;
  font-weight: bold;
  opacity: 1;
}

.button-contact:hover {
  background-color: #6B1863;
  color: white;
}

@media screen and (max-width: 992px)
{
  .full-name {
    display: block;
  }
  #last-name {
    margin-right: 0px;
  }
}

@media screen and (max-width: 820px)
{
  .contact-form {
    padding: 10px;
    max-width: 90%;
  }
}
