@import url('https://fonts.googleapis.com/css2?family=Hind:wght@400;600;700&display=swap');

* {
  box-sizing: border-box;
  font-family: 'Hind', sans-serif;
}

html{
  scroll-behavior: smooth;
}

body{
  max-width: 2000px;
  margin: 0 auto;
}

h1, h3, h4 {
  color: #fff;
}

h1 {
  font-size: 45px;
  font-weight: 700;
  padding: 60px 0;
  margin: 0;
}

h2 {
  color: #0378A6;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin: 10px auto 40px;
}

h3 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

h4 {
  font-size: 16px;
  font-weight: 600;
}

p {
  color: #2C2E59;
  font-weight: 600;
  font-size: 14px;
  line-height: 25px;
}

a {
  text-decoration: none;
}

figcaption {
  display: none;
}

.title {
  background: url(../img/background.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}
.legales{
  padding: 0 20px;
}

.legales h1{
    color:#2C2E59;
}
.legales h2{
  text-align: left;
  margin: 40px 0 20px;;
}

.legales a{
  text-decoration: none;
  color:#2C2E59;
}

.opac {
background: rgba(255, 255, 255, 0.2);
  text-align: center;
}

.title .opac h1 span {
  font-size: 21px;
  font-weight: 400
}

.contact-top, .contact-bottom {
  background: #04ADBF;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cabinet, .horaire, .contact {
  width: 220px;
  margin: 35px auto;
}

.cabinet h4 a, .horaire h4 a, .contact h4 a {
  color: #fff;
}

.flex-cont {
  display: flex;
}

.flex-cont img {
  height: 25px;
  padding-right: 10px;
}

.apropos {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.apropos-cont .photo figure {
  width: 200px;
  border-radius: 100px;
  margin: 75px auto;
}

.apropos-cont .photo figure img {
  width: 100%
}

.apropos-cont .photo-p p, .map-cont p, .cabinet-flexl p, .cabinet-flexr p{
  margin: 15px 20px
}

hr {
  background: #04ADBF;
  height: 2px;
  width: 150px;
  margin: 30px auto;
}

.item figure {
  margin: 20px auto;
}

.thumbnail {
  max-width: 100%;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100%;
  text-align: center;
  top: 0;
  left: 0;
  background: rgba(125,125,125,0.6);
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  margin-top: 2%;
}

.lightbox:target {
  outline: none;
  display: block;
}

.map-cont p {
  color: #fff;
  margin-bottom: 40px;
}

.map-cont figure, .bat-cont figure {
  margin: 20px 0;
}

.map-cont figure img, .bat-cont figure img {
  width: 100%;
}

@media screen and (min-width: 800px) {
  h1 {
    font-size: 70px;
    padding: 120px 0 150px;
  }

  h2 {
    font-size: 38px;
  }

  .title .opac h1 span {
    font-size: 38px;
  }

  h3 {
    font-size: 28px;
  }

  h4 {
    font-size: 16px
  }

  p {
    font-size: 18px
  }

  .contact-top {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 20px;
  }

  .contact, .horaire, .cabinet {
    width: auto;
    margin: 35px;
  }

  #apropos {
    width: 100%;
    height: 20px;
  }

  .apropos-cont {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }

  .apropos-cont .photo-p p, .cabinet-cont p, .map-cont p {
    margin: 15px 0px;
  }

  .apropos-cont .photo figure {
    margin: 0 auto 40px;
    width: 270px
  }

  .photo-h2 {
    order: -1;
    width: 100%;
    padding-top: 50px;
  }

  .photo-p {
    order: -1;
    width: 50%;
  }

  .photo-p, .cabinet-cont p {
    padding-left: 100px;
  }

  .photo {
    width: 30%
  }

  hr {
    width: 400px
  }

  .cabinet-cont h2 {
    padding: 20px 0 20px;
  }


  .cabinet-flex {
    display: flex;
  }

  .cabinet-flexl{
    width: 50%;
    padding: 0 50px 0 100px;
  }

    .cabinet-flexr{
      width: 50%;
      padding:0 100px 0 50px;
    }

  .cabinet-flex div p{
    padding-left: 0
  }

  .cab-slide {
    margin: 90px 50px 0;
    display: flex;
    justify-content: space-between;
  }

  .owl-carousel {
    width: 32% !important;
  }

  .cont-bot-tel {
    padding-top: 50px;
    display: flex;
    justify-content: center;
  }

  .cont-bot-tel .contact, .cont-bot-tel .cabinet {
    margin: 35px 100px;
  }

  .cont-bot-map {
    margin: 0 100px 80px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
  }

  .map-cont {
    width: 47%
  }


  .map-cont p {
    margin-bottom: 50px;
  }

  .bat-cont {
    width: 47%;
  }

}

@media screen and (min-width: 1600px) {

  h1 {
    font-size: 110px;
    padding: 120px 0 150px;
  }

  h2 {
    font-size: 62px;
  }

  .title .opac h1 span {
    font-size: 62px;
  }

  h3 {
    font-size: 46px;
  }

  h4 {
    font-size:22px
  }

  p {
    font-size: 26px;
    line-height: 40px

  }

  .contact, .horaire, .cabinet {
    margin: 90px;
  }

  .flex-cont img {
      height: 45px;
      padding-right: 20px;
  }
}
