body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
}

html {
  scroll-behavior: smooth;
}
/* -------------------------------------------------------------------------------------------------- */
/* Burger menu */

.Logo {
  height: 60px;
}

.container {
  width: 100%;
}

.navbar {
  height: 60px;
  display: flex;
  background: #FFFFFF;
  position: fixed;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 1px 4px rgb(146 161 176 / 15%);
}

.navbar .nav-container li {
  list-style: none;
}

.navbar .nav-container a {
  text-decoration: none;
  color: #0e2431;
}

.navbar .nav-container a:hover{
  font-weight: bolder;
}

.nav-container {
  display: block;
  height: 60px;
}

.nav-container .checkbox {
  position: absolute;
  display: block;
  height: 32px;
  width: 32px;
  top: 20px;
  left: 20px;
  z-index: 5;
  opacity: 0;
  cursor: pointer;
}

.nav-container .hamburger-lines {
  height: 26px;
  width: 32px;
  position: absolute;
  top: 17px;
  left: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nav-container .hamburger-lines .line {
  display: block;
  height: 4px;
  width: 100%;
  border-radius: 10px;
  background: #0e2431;
}

.nav-container .hamburger-lines .line1 {
  transform-origin: 0% 0%;
  transition: transform 0.4s ease-in-out;
}

.nav-container .hamburger-lines .line2 {
  transition: transform 0.2s ease-in-out;
}

.nav-container .hamburger-lines .line3 {
  transform-origin: 0% 100%;
  transition: transform 0.4s ease-in-out;
}

.navbar .menu-items {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  transform: translateY(-150%);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease-in-out;

}

.navbar .menu-items li {
  margin-bottom: 1.2rem;
  font-size: 1.5rem;
  font-weight: 500;
}

.nav-container input[type="checkbox"]:checked ~ .menu-items {
  transform: translateX(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
  transform: rotate(45deg);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
  transform: scaleY(0);
}

.nav-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
  transform: rotate(-45deg);
}

.nav-container input[type="checkbox"]:checked ~ .logo{
  display: none;
}
/* ---------------------------------------------------------------------- Presentation --------------------------------------------------------------------------- */
/* Présentation */

@media (min-width: 1601px) {
  .Pcontain1, .Pcontain2 {
    display: flex;
    width: 100%;
  }
  .divP {
    display: flex;
    flex-direction: column;
  }
  .Pcontainer {
    height: 400px;
  }
}

@media (max-width: 1600px) {
  .Pcontain1, .Pcontain2 {
    width: 50%;
    display: flex;
    flex-direction: column;
  }
  .Pcontainer {
    height: 400px;
    display: flex;
    justify-content: center;
  }
  .divP {
    display: flex;
    flex-direction: row;
  }
}

@media (max-width: 1200px) {
  .Pcontain1, .Pcontain2 {
    width: 50%;
    display: flex;
    flex-direction: column;
  }
  .Pcontainer {
    height: 300px;
    display: flex;
    justify-content: center;
  }
  .divP {
    display: flex;
    flex-direction: row;
  }
}

@media (max-width: 800px) {
  .Pcontain1, .Pcontain2 {
    width: 50%;
    display: flex;
    flex-direction: column;
  }
  .Pcontainer {
    height: 200px;
    display: flex;
    justify-content: center;
  }
  .divP {
    display: flex;
    flex-direction: row;
  }
}

.divP {
  padding-top: 75px;
  align-items: center;
}

.Pcontain1, .Pcontain2 {
  justify-content: center;

}

.Pcontainer {
  position: relative;
}

.image {
  display: block;
  height: 100%;
  opacity: 1;
  transition: .5s ease;

}

.middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute; /* définir le texte comme élément absolu */
  top: 50%; /* positionner le texte à 50% de la hauteur de l'image */
  left: 50%; /* positionner le texte à 50% de la largeur de l'image */
  transform: translate(-50%, -50%); /* décaler le texte de 50% de sa propre largeur et hauteur pour le centrer */
  text-align: center; /* centrer le texte horizontalement */
}

.Pcontainer:hover .image {
  opacity: 0.1;
}

.Pcontainer:hover .middle {
  opacity: 1;
}

.text {
  color: black;
  font-size: 16px;

}

/* ------------------------------------------------------------------------- Footer ------------------------------------------------------------------------------ */
.hr {
  border: none;
  height: 1px;
  background: red;
}

@media (max-width: 550px) {
  .footer {
    flex-direction: column;
  }
  .footer1, .footer2 {
    width: 100%;
  }
}

@media (min-width: 551px) {
  .footer1, .footer2 {
    width: 50%;
  }
}

.footer {
  display: flex;
  width: 100%;
}

.footer1 {
  position: relative;
  left: 0;
  text-align: center;
}

.footer2 {
  position: relative;
  right: 0;
  text-align: center;
}

.listFooter {
  list-style: none;
  margin: 0;
  padding: 0;
}

.liFooter {
  margin-bottom: 10px;
}

footer a {
  color: black;
}

.button {
  width: 175px;
  background-color: red; /* Couleur de fond du bouton */
  color: white; /* Couleur du texte du bouton */
  border: none; /* Supprime la bordure par défaut du bouton */
  padding: 15px 32px; /* Espace entre le texte du bouton et sa bordure */
  border-radius: 30px; /* Rend les coins du bouton arrondis */
  cursor: pointer; /* Change le curseur en une main lorsque vous survolez le bouton */
}

.button:hover {
  background-color: #888888; /* Change la couleur de fond du bouton lorsque vous survolez le bouton */
  color: white;
}
