body{
    overflow-x: hidden;
}

/* ====================== */
/* section header */
/* ====================== */

.menu-header{
  padding-top: 1rem;
}

#formulaire-section h2 a {
  color: black;
  text-decoration: none;
}

#socialmedia h2 a {
    color: black;
    text-decoration: none;
}

.PS-logo {
    width: 55px;
    height: 55px;
}

.abstract-text {
    width: 80vw;
    justify-content: space-between;
}

/* =============================== */

.surround {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.surround .surrounded {
    padding: 8px 16px;
    border: none;
    background: none;
    outline: none;
    color: black;
    text-decoration: none;
}

.surround svg {
  position: absolute;
  left: 0;
  top: 0 !important;
  width: 100%;
  pointer-events: none;
}

.surround #svg-sign {
  top: 100% !important;
}

#svg-sign {
  stroke: black;
  stroke-width: 1px;
}

#svg-form, #svg-social {
  height: 100%;
  stroke: #02326C;
  stroke-width: 3px;
}

.surround path {
    stroke-dasharray: 0 0;
    display: none;
}

.surround:hover path {
    animation: draw 1s forwards;
    display: block;
}

@keyframes draw {
    from {
        stroke-dasharray: 0 1500;
    }

    to {
        stroke-dasharray: 1500 1500;
    }
}

section {
  border-bottom: solid 0.5px var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-right: 1rem !important;
  margin-left: 1rem !important;
  padding-bottom: 2rem;
}

#socialmedia {
  border-bottom: none;
}

  
#section1 {
  height: 50vh;
}

#section1 h1 {
  color: var(--black);
  font-family: var(--font-family-baskerville-semibold);
  font-size: 35.8px;
  font-weight: 600;
  /*left: 551px;*/
  letter-spacing: 0;
  line-height: normal;
  text-align: center;
  width: 531px;
}

.sec-title {
  width: 100%;
  align-items: center;
}

section h2.section-title {
  /* padding-left: 34px; */
  letter-spacing: 0;
  line-height: normal;
  padding-right: 30px;
  text-transform: uppercase;
  width: 100%;
  flex-basis: content;
}

/* ====================== */
/* section fonctions */
/* ====================== */

.functions {
  margin-top: 3rem;
}

.func {
  width: 500px;

}

#func-1 {
  background-image: url("../imgs/function1.png");
  background-position: 2rem top;
  background-repeat: no-repeat;
  background-size: auto 220px;
  min-height: 220px;
  margin-bottom: 15rem;
}

#func-3 {
  background-image: url("../imgs/function3.png");
  background-position: left top;
  background-repeat: no-repeat;
  background-size: auto 220px;
  min-height: 220px;
  /* width: 500px; */
  margin-right: 2rem;
}

#func-1 .func-title,
#func-1 .func-desc {
  margin-left: calc(2rem + 146px);

}

#func-3 .func-title,
#func-3 .func-desc {
  margin-left: 200px;
}


/* ====================== */
/* section formulaire */
/* ====================== */

#formulaire-section{
  height: 50rem;
}

.form-relative{
  position: relative;
  width: 100%;
  justify-content: center;
  display: flex;
  height: 40rem;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.formulaire{
  width: 75%;
  height: 100%;
  position: relative;
  justify-content: center;
  display: block;
  margin-top: 3rem;
}

.email-nom{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
  font-family: var(--font-family-barlow);
  font-size: 1rem;
}

#sujet{
  width: 40%;
  border: none;
  background-color: transparent;
  border-bottom: 1px solid black;
  font-family: var(--font-family-barlow);
  font-size: 1rem;
  padding: .5em;
}

#email, #nom {
  width: 80%;
  border: none;
  background-color: transparent;
  border-bottom: 1px solid black;
  padding: .5em;
}

#area{
  margin-top: 3rem;
  background-color: transparent;
  width:100%;
  height: 20rem;
  background-color: transparent;
  border: 0.5px solid black;
  font-family: var(--font-family-barlow);
  font-size: 1rem;
  /* padding: 0.2rem 0.4rem; */
  padding: .5em;
}

#area::placeholder{
  /* padding: 0.2rem 0.4rem; */
  padding: .5em;
}


#email:focus, #nom:focus, #sujet:focus, #area:focus {
  outline: 2px solid #000 !important;
  box-shadow: none !important;
  border-radius: 5px;
}

::-webkit-input-placeholder,:-moz-placeholder,:-ms-input-placeholder, ::input-placeholder {
  color: #7A7A7A;
  justify-content: flex-start;
}

#btn-relative{
  text-align: center;
  margin-top: 2rem;
  margin-left: auto;
  margin-right: auto;
  width: 10rem;
}

.envoyer-career{
  position: absolute;
  width: 10rem;
  font-family: "Helvetica-Regular";
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 32px;
  box-sizing: border-box;
  border-radius: 35px;
  text-align: center;
  text-transform: uppercase;
}

.wpcf7 form .wpcf7-response-output {
  margin: -2.5em 0.5em 1em !important;
}

/* ====================== */
/* section siège social */
/* ====================== */

.logo-coordonnees-map{
  position: relative;
  width: 100%;
  justify-content: center;
  display: flex;
  height: 30rem;
}

.logo-coordonnees{
  width: 50rem;
  margin-top: 5rem;
}

.logo{
  position:relative;
  width: 10rem;
  height: auto;
  overflow: hidden;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.coordonnees{
  height: 15rem;
  margin-top: 2rem;
  width: 430px;
  font-family: 'Baskerville-Regular';
  font-style: normal;
  font-weight: 400;
  font-size: 2rem;
  line-height: 44px;
}

.map{
  width: 30rem;
  height: 20rem;
  margin-top: 5rem;
}

.imgmap{
  width: 30rem;
  height:20rem;
}


/* responsive */

@media (max-width: 1500px) {
  .logo-coordonnees{
    width: 40rem;
  } 
}

@media (max-width: 1300px) {
  .logo-coordonnees{
    width: 30rem;
  } 
}

@media (max-width: 1150px) {
  .menu-header{
      display: none;
  }

  .logo-coordonnees{
    width: 22rem;
  }

  .coordonnees{
    width: 322px;
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .map{
    margin-top: 6rem;
  }

  .imgmap{
    margin-left: 2rem;
    margin-right: 2rem;
    width: 25rem;
    height:16.667rem;
  }
}

@media (max-width: 1024px) {

  .logo-coordonnees{
    width: 22rem;
  }

  .coordonnees{
    width: 322px;
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .map{
    margin-top: 6rem;
  }

  .imgmap{
    margin-left: 2rem;
    margin-right: 2rem;
    width: 25rem;
    height:16.667rem;
  }
}

@media (max-width: 900px) {

  .formulaire{
    margin-left: 2rem;
    width: 80%;
  }

  #formulaire-section {
    padding-bottom: 7rem;
  }

  .form-relative {
    margin-bottom: auto;
    margin-top: auto;
  }

  .email-nom{
    display: block;
    margin-bottom: 1rem;
  }

  #email, #nom, #sujet{
    width: 100%;
  }

  .logo-coordonnees-map{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4rem;
  }

  .logo-coordonnees{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    padding: 0rem;
  }

  .logo {
    margin-left: -6rem;
  }

  .coordonnees{
    width: 18rem;
    height: 8rem;
    font-size: 1rem;
    line-height: 1.7rem;
  }

  .map{
    display: flex;
    justify-content: center;
    margin-top: 1rem;
  }

  .imgmap{
    margin-left: 0rem;
    margin-right: 0rem;
    width: 20rem;
    height:13.333rem;  

  }
}

@media (max-width: 600px) {
  #section1 h1 {
    font-size: 1.5rem;
    width: 80vw;  
  }
}

@media (max-width: 500px) {
  #section1 h1 {
    font-size: 20px;
    width: 70vw;
  }

  .form-relative{
    padding-right: 2rem;
  }

  .map{
    width: 20rem;
  }
}