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;
  width: 100%;
  pointer-events: none;
}

#svg-sign {
  top: 6.3rem;
  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;
  }

  .email-nom{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  #sujet{
    width: 40%;
    border: none;
    background-color: transparent;
    border-bottom: 1px solid black;
  }

  #email, #nom {
    width: 80%;
    border: none;
    background-color: transparent;
    border-bottom: 1px solid black;
  }

  #area{
    margin-top: 3rem;
    background-color: transparent;
    width:100%;
    height: 20rem;
    background-color: transparent;
    border: 0.5px solid black;
  }

  #area::placeholder{
    padding: 10px 10px;
  }
  
  #email:focus, #nom:focus, #sujet:focus, #area:focus, input[type=area]:focus{
    outline: none;
  }  

  
::-webkit-input-placeholder,:-moz-placeholder,:-ms-input-placeholder, ::input-placeholder {
  color: #7A7A7A;
  justify-content: flex-start;
}

#btn-relative{
  text-align: center;
}

.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;
}

  /* ====================== */
  /* section siège social */
  /* ====================== */

  .logo-coordonnees-map{
    position: relative;
    width: 100%;
    justify-content: center;
    display: flex;
    height: 30rem;
    margin-bottom: 2%;
  }

  .logo-coordonnees{
    padding: 10px;
    width: 50%;
    margin-top: 5rem;
  }

  .logo{
    width: 10rem;
    height: 3rem;
  }

  .coordonnees{
    /*width: 30%;*/
    height: 15rem;
    margin-top: 2%;
    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: 1150px) {
  .menu-header{
      display: none;
  }
}

@media (max-width: 1024px) {

  #btn-relative{
    margin-left: 5rem;
  }

  .logo-coordonnees-map{
    justify-content: flex-start;

  }

  .logo-coordonnees{
    width: 40%;
  }

  .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: 850px) {

  .logo-coordonnees{
    width: 40%;
    justify-content: flex-start;
  }

  .coordonnees{
    width: 18rem;
    font-size: 1.2rem;
    line-height: 2rem;
  }

  .map{
    margin-top: 7rem;
  }

  .imgmap{
    margin-left: 2rem;
    width: 20rem;
    height:13.333rem;
  }
}

@media (max-width: 768px) {
  .formulaire{
    margin-left: 2rem;
    width: 80%;
  }
  .email-nom{
    display: block;
  }

  #email, #nom, #sujet{
    width: 100%;
  }
  .logo-coordonnees-map{
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .logo-coordonnees{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    padding: 0rem;
    margin-top: 1.5rem;
  }

  .coordonnees{
    width: 18rem;
    height: 8rem;
    font-size: 1rem;
    line-height: 1.7rem;
  }

  .map{
    display: flex;
    justify-content: center;
    margin-top: 0rem;
  }

  .imgmap{
    margin-left: 0rem;
    margin-right: 0rem;
    width: 20rem;
    height:13.333rem;  

  }
}

@media (max-width: 600px) {
  #section1 h1 {
    font-size: 30px;
    width: 80vw;
    padding-left: 2rem;
    padding-right: 2rem;   
  }

  #btn-relative{
    margin-left: 3rem;
  }
}

@media (max-width: 500px) {
  #section1 h1 {
    font-size: 20px;
    width: 70vw;
  }

  .form-relative{
    padding-right: 2rem;
    margin-top: 1rem;
  }

  .map{
    width: 20rem;
  }

  .coordonnees{
    margin-top: 1rem;
  }
}