/* Styl générau */
body {
  background-image: url(https://www.enconstruction.ch/design/mosaique.jpg);
   background-size: 100vw 100vh;
  background-repeat: no-repeat;
  background-attachment: fixed;

  background-color: rgb(113, 171, 122);
  font-family: Verdana, Tahoma, Arial, sans-serif;
  font-size: 1rem;
  overflow: auto;
}

.banner {
  width: 1024px;
  /* Largeur du contenu */
  margin: 0 auto;
  /* Centrer le contenu */
  background: #919191;
}

h1{
  font-size: 40px;
}

h2{
  font-size: 30px;
}

h1,
h2,
h3 {
  color: #000000;
}

p {
  padding: 2%;
  color: #000000;
}

/* Styles banièr */

/*menu burger avant le responsive */

.hamburger-menu {
  display: none;
}

.menu__toggle {
  display: none;
}

.menu__btn>span,
.menu__btn>span::before,
.menu__btn>span::after {
  display: none;
}

.menu__box {
  display: none;
}

.menu__item {
  display: none;
}

.menu-toggle {
  display: none;
}

/* Style zone principal */
.main-container {
  width: 1024px;
  /* Largeur du contenu */
  display: flex;
  margin: auto;
}

/* Styl navigations  avan le responsiv */
.vertical-menu {
  display: flex;
  background-color: #f4f4f4;
  width: 30%;
  /* Vous pouvez ajuster cela en fonction de vos besoins */
}

#bouton {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

/* Ajout style pour bouton dashboard */

/* Reset */
a {
  text-decoration: none;
  /* Supprime le soulignement par défaut des liens */
}


.buttondb:hover {
  top: -10px;
  box-shadow: 0px 10px 10px rgba(255, 255, 255, 0.1);

  transform: rotateX(20deg);
}

.buttondb:active {
  top: 0px;
  box-shadow: 0px 0px 0px rgba(15, 165, 60, 0.0);
  background: rgba(255, 255, 255, 1);
}

/* Styles pour la zone de texte */
.text-zone {
  background-color: #ffffff;
  padding: 1.5rem;
  width: 80%;
  padding: 0.5rem;
}

/* Styles pour le pied de page */
.footer {
  display: block;
  width: 1024px;
  margin: 0 auto;
  background-color: #333;
  color: #fff;
  text-align: center;
}

.menu__item {
  display: block;
  padding: 1rem 0.75rem;
  color: #333;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition-duration: .25s;
}

.menu__item:hover {
  background-color: #CFD8DC;
}

.menu__item2 {
  display: block;
  padding: 0.625rem 0.625rem 0.625rem 1.5rem;
  color: #999;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition-duration: .25s;
}

.menu__item2:hover {
  background-color: #CFD8DC;
}

/* Media query pour les écrans de taille spécifique, par exemple les téléphones */
@media only screen and (max-width: 1000px) {

  /* Réorganisation pour les appareils mobiles */
  body {
    font-size: 2rem;
  }

  .banner {
    margin-top: 97px;
    width: 100%;
    position: fixed;
    z-index: 1;
  }

  .navbar {
    background-color: aliceblue;
    width: 100%;
    position: fixed;
    z-index: 2;
  }

  .hamburger-menu {
    padding-top: 6%;
    display: block;
  }

  #menu__toggle {
    opacity: 0;
  }

  #menu__toggle:checked+.menu__btn>span {
    transform: rotate(45deg);
  }

  #menu__toggle:checked+.menu__btn>span::before {
    top: 0;
    transform: rotate(0deg);
  }

  #menu__toggle:checked+.menu__btn>span::after {
    top: 0;
    transform: rotate(90deg);
  }

  #menu__toggle:checked~.menu__box {
    left: 0 !important;
  }

  .menu__btn {
    position: fixed;
    left: 25%;
    width: 8%;
    height: 8%;
    cursor: pointer;
    z-index: 3;
  }

  .menu__btn>span,
  .menu__btn>span::before,
  .menu__btn>span::after {

  
    display: block;
    position: absolute;
    width: 100%;
    height: 6px;
    background-color: #000000;
    transition-duration: .25s;

  }

  .menu__btn>span::before {
  
    content: '';
    top: -1rem;
    /* Ajustez la valeur selon vos besoins */
  }

  .menu__btn>span::after {
  
    content: '';
    top: 1rem;
    /* Ajustez la valeur selon vos besoins */
  }

  .menu__box {
   z-index: 2;
    display: block;
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 3000px;
    margin: 0;
    padding: 8rem 0;
    /* Ajustez la valeur selon vos besoins */
    list-style: none;
    background-color: #ddf1ff;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, .4);
    transition-duration: .25s;
  }

  .menu__item {

    display: block;
    padding: 1rem 1rem;
    color: #333;
    font-family: 'Roboto', sans-serif;
    font-size: 2.3rem;
    font-weight: 600;
    text-decoration: none;
    transition-duration: .25s;
  }

  .menu__item2 {

    display: block;
    padding: 0.6rem 0.6rem 0.6rem 0.9375rem;
    color: #999;
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
    /* Augmenter la taille de la police sur téléphone */
    font-weight: 600;
    text-decoration: none;
    transition-duration: .25s;
  }

  .menu__item:hover {
    background-color: #b0b0b0;
  }

  .menu-toggle {
    display: block;
    cursor: pointer;
  }

  .bar {
    width: 2.5rem;
    /* Ajustez la valeur selon vos besoins */
    height: 0.3rem;
    /* Ajustez la valeur selon vos besoins */
    background-color: #868686;
    margin: 0.5rem 0;
    transition: 0.4s;
  }

  .vertical-menu {
    display: none;
  }

  .text-zone {
    padding-top: 400px;
    display: block;
    width: 100%;
  }

  .main-container {
    width: 100%;
    padding-left: 0;
  }

  .footer {
    width: 100%;
  }
}