

@font-face {
    font-family: 'PlayfairDisplayRegular';
    src: url('fonts/PlayfairDisplayRegular.eot');
    src: url('fonts/PlayfairDisplayRegular.eot') format('embedded-opentype'),
         url('fonts/PlayfairDisplayRegular.woff2') format('woff2'),
         url('fonts/PlayfairDisplayRegular.woff') format('woff'),
         url('fonts/PlayfairDisplayRegular.ttf') format('truetype'),
         url('fonts/PlayfairDisplayRegular.svg#PlayfairDisplayRegular') format('svg');
}

@font-face {
    font-family: 'PlayfairDisplayBold';
    src: url('fonts/PlayfairDisplayBold.eot');
    src: url('fonts/PlayfairDisplayBold.eot') format('embedded-opentype'),
         url('fonts/PlayfairDisplayBold.woff2') format('woff2'),
         url('fonts/PlayfairDisplayBold.woff') format('woff'),
         url('fonts/PlayfairDisplayBold.ttf') format('truetype'),
         url('fonts/PlayfairDisplayBold.svg#PlayfairDisplayBold') format('svg');
}
@font-face {
    font-family: 'NunitoRegular';
    src: url('../fonts/NunitoRegular.eot');
    src: url('../fonts/NunitoRegular.eot') format('embedded-opentype'),
         url('../fonts/NunitoRegular.woff2') format('woff2'),
         url('../fonts/NunitoRegular.woff') format('woff'),
         url('../fonts/NunitoRegular.ttf') format('truetype'),
         url('../fonts/NunitoRegular.svg#NunitoRegular') format('svg');
}


html{
  height: 100%;
}

body{
  font-family: 'NunitoRegular', sans-serif;
  color: #38a3a5;
  font-size: 18px;
  line-height: 1.6;
  height: auto;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1{
  font-family: 'PlayfairDisplayBold', serif;
  margin-top: 0;
  margin-bottom: 20px;
  color: #22577a;
  font-size: 39px;
}

h2{
  font-family: 'PlayfairDisplayBold', serif;
  color: #22577a;
  font-size: 29px;
  margin-top: 20px;
}

a{
  font-family: 'PlayfairDisplayRegular', serif;
  color: #38a3a5;
  font-size: 26px;
  text-decoration: none;
  margin: 0 30px;
}

a:hover{
  text-decoration: underline;
}

a.active{
  color: #22577a;
  cursor: default;
}

a.active:hover{
  text-decoration: none;
}

/* Header*/

header{
  display: flex;
  justify-content: center;
  padding: 40px 40px 0px 40px;
}

header p{
  margin-top: 10px;
}

/*Body*/

#qi{
  width: 600px;
  opacity: 0.07;
  position: absolute;
  top: 0px;
  left: 1000px;
}

.textarea{
  padding: 0 80px;
  margin-bottom: 20px;
  font-size: 20px;
}

.body{
  padding: 0 80px;
  display: flex;
  flex-direction: row;
  align-items: center;
}

.body img{
  /*border: 2px solid #22577a;
  border-radius: 10px;*/
}

#fabrice2{
  position:absolute;
  top: 330px;
  left: 0;
  width: 500px;
  height: 350px;
  object-fit: cover;
  z-index: -1;
}

#fabrice{
  position: absolute;
  top: 350px;
  left: 40px;
  height: 380px;
  width: 280px;
  object-fit: cover;
  z-index: -1;
}

.body article.texte{
  margin-left: 420px;
  z-index: 3;
}

.body article.texte2{
  margin-left: 220px;
  z-index: 3;
}

span{
  font-size: 20px;
}

.texte h2{
  margin-bottom: 0;
}

.texte2 h2{
  font-size: 37px;
  margin-bottom: 20px;
}

.texte2 a{
  font-size: 18px;
  margin: 0;
  text-decoration: underline;
  font-family: 'Trebuchet MS', sans-serif;
}

.texte2 span{
  color: #fff;
}

/*Footer*/

footer{
  background-color: #38a3a5;
  color: #fff;
  padding: 20px 80px;
  margin-bottom: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
}

#footer{
  margin-top: 40px;
}

h3{
  font-family: 'PlayfairDisplayRegular', serif;
  font-size: 29px;
  color: #22577a;
  margin: 20px 0 10px 0;
}

footer p{
  font-size: 21px;
  margin-top: 10px;
}

footer a{
  font-size: 29px;
  color: #22577a;
  margin: 20px 0 10px 0;
  text-decoration: underline;
}

#aw{
  font-size: 21px;
  color: #fff;
}

.contact{
  margin-left: 500px;
}

.blanc{
  color: #fff;
}

.laptop-version{
  display: block;
}

.mobile-version{
  display: none;
}

/* Responsive */

@media (max-width: 768px){
  .mobile-version{
    display: block;
  }
  h1{
    font-size: 32px;
  }
  p{
    font-size: 16px;
  }
  .laptop-version{
    display: none;
  }
  header{
    padding: 40px 0 0 0;
  }
  header a{
    text-align: center;
  }
  header p{
    margin-top: 30px;
  }
  #qi{
    width: 350px;
    opacity: 0.07;
    position: absolute;
    top: 180px;
    left: 27px;
    max-width: 100%;
  }
  .textarea{
    padding: 20px 20px 0 20px;
    margin-bottom: 0;
  }

  .body{
    padding: 0 20px 20px 20px;
    font-size: 16px;
  }
  .texte2{
    margin-left: 0 !important;
  }
  .body h2{
    margin-left: 180px;
    margin-top: 70px;
    margin-bottom: 140px;
    margin-bottom: 0;
    font-size: 32px;
  }
  #fabrice{
    position: relative !important;
    /*top: 670px;
    left: 30px;*/
    top: -20px;
    height: 240px;
    width: 140px;
    object-fit: cover;
  }

  .texte2 p{
    margin: 0 !important;
  }
  .texte2 a{
    font-size: 16px;
  }
  footer{
    flex-direction: column;
    text-align: center;
    padding: 20px;
    width: auto;
  }
  footer p{
    font-size: 18px;
  }
  .contact{
    margin-left: 0;
  }
  .texte{
    margin-left: 0 !important;
    margin-top: 40px;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  .texte h2{
    margin: 0 !important;
  }
  .texte span{
    text-align: right;
  }

  #fabrice2{
    position: relative !important;
    margin-bottom: 280px;
    margin-right: 20px;
    top: -70px;
    width: 500px;
    height: 350px;
    object-fit: cover;
    z-index: -1;
  }
  .qi{
    display: flex;
    flex-direction: column;
    height: 600px;
    padding-bottom: 0;
  }
  #footer{
    margin: 0 !important;
  }
  .flex{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
  }
  .flex h2{
    margin-left: 60px;
  }
  html, body{
    overflow-x: hidden !important;
  }


}
