@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:'Poppins';
}
html{
  scroll-behavior: smooth;
  scroll-padding-top: 50px;
}
body{
    background-color: #f5f5f5;
}
section{
    padding: 50px 5%;
}

h1, h2{
  background-position: center;
  text-align: center;
  margin: 20px 0px;
  color: #2794a0;
}
h1{
  font-size: 36px;
}
h3, h4{
  background-position: center;
  text-align: center;
}
span{
  color: rgba(39, 148, 160, 0.835);
}

a{
    text-decoration: none;
}
button{
    cursor: pointer;
}

/* ---------------------------------------------- Header ----------------------------------------------------------*/

nav {
    display: flex;
    align-items: center;
  }
header{
  position: sticky;
  top: 0px;
  background-color: #f5f5f5;
  opacity: 1;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  }
  .logo {
    margin: 10px 20px;
  }
  .logo img {
    width: 260px;
  }
  .logo1 {
    display: none;
  }
  .linksContainer a {
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    color: black;
    
  }
  .header .linksContainer a:after {
    content:"";
    position: absolute;
    background-color: #2794a0;
    height: 4px;
    width: 0%;
    left:0;
    bottom: -5px;
    border-radius: 5px;
    transition: 0.5s;
  }
  .linksContainer a:hover:after{
    width: 100%;
}
.navbar .homeLink {
    margin-right: auto;
  }
  .navbar svg {
    fill: #ffffff;
  }
  
  #sidebarActive {
    display: none;
  }
  
  .linksContainer {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  
  .openSidebarButton, .closeSidebarButton {
    padding: 0 20px;
    display: none;
  }

/* -------------------------------------------- Body ---------------------------------------------------------------*/
.titleHome{
  margin: 50px 30% 10% 30%;
  padding: 0;
  
}
.titleHome h1{
  margin: 0px;
  text-align: start;
  font-size: 48px;
  font-family: Georgia, 'Times New Roman', Times, serif;
}
.titleHome h3{
  text-align: end;
  font-family: 'Roboto';
  color: #7d7d7d;
  margin-right: 5%;
}
.resumeHome{
    background-position: center;
    background-size: cover;
    margin-bottom: 60px;
    width: 100%;
    text-align: center;
}
.attentionJuridic{
  text-align: justify;
}
.attentionJuridic p{
  margin: 0 20px;
}
.presentation{
    background-position: center;
    background-size: cover;
    width: 100%;
    text-align: justify;
}
.identite{
  display: flex;
  text-align: justify;
  justify-content: space-evenly;
  align-items: center;
  margin: 60px;
}

.idphoto img{
  width: 260px;
  border-radius: 50%;
  box-shadow: -5px 5px 30px rgba(0, 0, 0, 0.50);
}
.contact{
  margin: 0px 30%;
}
.boxContact{
  background-color: gray;
  border-radius: 15px;
  color: #fff;
  padding: 35px;
}
.resumePresentation p{
  margin: 10px 0;
}
.resumeDONT{
  text-align: center;
  margin-top: 50px;
}

.resumeCE, .resumeME , .resumeDL{
  display: flex;
  text-align: center;
  
}
.resumeCE p, .resumeME p, .resumeDL p{
  margin: 5px 0;
}
.bloc, .tarifs{
  margin: 0 20px;
  align-items: center;

}

.description{
  margin: 0 20px;
  align-content: space-between;
  text-align: start;
  margin-bottom: 20px;
}
.description p {
 margin: 12px 0;
}
.listDocument{
  text-align: left;
  margin: 0 20px 10px 50px;
}
.listDocument li{
  margin: 8px 0;
}
.blocDL{
  margin: 0 25%;
 
}
.bloc, .blocDL{
  border: solid #2794a0;
  box-shadow: -5px 0 5px rgba(0, 0, 0, 0.25);
  border-radius: 5px;
  background-color: #ffffff;
  
}
#myButton, #myButton1, #myButton2, #myButton3, #myButton4{
  background-color: #2794a0;
  color: #fff;
  padding: 10px 20px;
  border-color: #2794a0;
  border-radius: 5px;
  cursor: pointer;
}
#myButton:active, #myButton1:active, #myButton2:active, #myButton3:active, #myButton4:active{
  background-color: #ffffff;
  color: #2794a0;
  border: solid;
  border-radius: 5px;
  border-color: #2794a0;
  transition: 0.1s;
}

#myText, #myText1, #myText2, #myText3, #myText4 {
  display: none;
}
/* -------------------------------------------- Footer -------------------------------------------------------------*/

.footer {

  background-color: #7d7d7d;
  bottom: 0;
  left: 0;
}
.footer .content .linkBox {
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.footer .content .linkBox .box {
  width: calc(20% - 10px);
}
.footer .content .linkBox .box .linkName {
  color: #ffffff;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 10px;

}

.footer .content .linkBox .box li {
  margin: 6px 0;
  list-style: none;
}
.footer .content .linkBox .box li a {
  color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}

.footer .content .linkBox .box li span {
  color: #ffffff;
}
.footer .bottomDetails {
  width: 100%;
  background: #959595;
}
.footer .bottomDetails .bottomText {
  max-width: 100%;
  margin: auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
}
.footer .bottomDetails .bottomText span {
  color: #ffffff;
}
.footer .bottomDetails .bottomText a {
  font-size: 14px;
  font-weight: 300;
  color: #ffffff;
  opacity: 0.8;
  text-decoration: none;
  margin-right: 10px;
}
.footer .bottomDetails .bottomText a:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer .logo img {
  width: 360px;
}
.footer .box li{
  font-size: 14px;
  color: #f5f5f5;
}

.footer .box span{
  font-size: 12px;
}

/* ------------------------------------------Responsive ----------------------------------------------------------*/
@media (max-width: 1000px) {

    .logo{display: none;}
    .logo1{display: block;}
    nav{
        justify-content: center;
    }
    .titleHome h1{
      font-size: 32px;
    }

    .linksContainer {
      flex-direction: column;
      align-items: flex-start;
      position: fixed;
      top: 0;
      right: -100%;
      z-index: 10;
      width: 300px;
      background-color: #2794a0;
      box-shadow: -5px 0 5px rgba(0, 0, 0, 0.25);
      transition: 1s ease-out;
    }

    .linksContainer a{
        color: #f5f5f5;
        font-size: 18px;
    }
    nav a {
      box-sizing: border-box;
      height: auto;
      width: 100%;
      padding: 20px 30px;
      justify-content: flex-start;
    }
    .openSidebarButton, .closeSidebarButton {
      padding: 20px;
      display: block;
    }
    #sidebarActive:checked ~ .linksContainer {
      right: 0;
    }
    #sidebarActive:checked ~ #overlay {
      background: #f5f5f5;
      height: 100%;
      width: 100%;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 9;
    }
    .presentation{
      padding: 0;
    }
    .identite{
      flex-direction: column;
      text-align: center;
    }
    .contact{
      font-size: 14px;
      text-align: justify;
      padding: 10px;
    }
  }

@media (max-width: 620px){

  .titleHome {
    margin: 50px 5%;
  }
  .titleHome h1 {
    font-size: 26px;
  }

  .contact{
    margin: 0px 15%;
  }

  .resumeCE, .resumeME , .resumeDL{
    flex-direction: column;
  }
  .bloc, .tarifs{
    margin-bottom: 20px;
  }
  .blocDL{
    margin: 0 20px;
  }

footer .content .linkBox {
  flex-direction: column;

}

.footer .content .linkBox .box {
  width: calc(60% - 10px);
}

}