body {
	font-family: Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	margin: 0;
	padding: 0;
	background-color: #F2F2F2;
	color: #333;
}

.menu_icons {
    position: absolute;
    display: none;
    width: 55px;
    cursor: pointer;
    font-size: 28px;
    margin-left: -5%;
    margin-top: -35px;
}

h1, h2, h3 {
	margin-top: 0;
}

a {
	text-decoration: none;
	color: #333;
}

.fond {
  display: none;
}

.text-container {
  position: absolute;
  top: 40%; /* Ajustez ceci pour positionner verticalement */
  left: 55%; /* Ajustez ceci pour positionner horizontalement */
  transform: translate(-50%, -50%);
  z-index: 1; /* Assurez-vous que le texte est devant l'image */
  padding: 20px;
  text-align: center;
}

.image-container {
  width: 100%;
  margin-top: -50px;
  margin-bottom: -50px;
  overflow: hidden;
  position: relative;
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  filter: blur(3px);
}


.text-container h1 {
  margin-left: -120px;
  margin-top: 10px;

}

.text-container p {
  margin: 0;
  margin-top: -20px;
  margin-left: -125px;
  color: white;
  font-family: eigerdals, sans-serif;
}

.mainn {
  width: 300%; /* La largeur de l'image occupe la largeur du conteneur */
  height: 100%; /* La hauteur de l'image occupe la hauteur du conteneur */
}

nav ul {
	list-style: none;
	margin: 0px;
	padding: 0 400px;
	display: flex;
	justify-content: space-between;
	background-color: #82b74b;
  margin-top: -40px;
  height: 100px;
}

nav li {
	margin: 0;
	padding: 0;
}

nav a {
	display: block;
	padding: 1rem;
	transition: all 0.2s ease-in-out;
  margin-top: 20px;
}

nav a:hover {
	background-color: #fff;
	color: #82b74b;
  border-radius: 5px;
}

header {
	background-color: #82b74b;
	padding: 1rem;
  position: relative;
}

main {
	padding: 2rem;
}

footer {
	background-color: #82b74b;
	padding: 1rem;
	color: #fff;
	text-align: center;
}

/* --- CONTACT --- */
#contact {
	margin-top: -80px;
	margin-bottom: 20px;
	margin-left: 20px;
}

label {
	display: block;
	margin-bottom: 1rem;
	font-weight: bold;
}

input[type="text"], input[type="email"], textarea {
	display: block;
	width: 70%;
	padding: 1rem;
	margin-bottom: 1rem;
	border-color: black;
	border-radius: 5px;
	border-width: 1px;
}

input[type="submit"] {
	display: block;
	background-color: #AEB438;
	color: #fff;
	padding: 0.5rem;
	border: none;
	border-radius: 5px;
	cursor: pointer;
}

input[type="submit"]:hover {
	background-color: #fff;
	color: #82b74b;
}

footer {
  background-color: #82b74b;
  color: #FFF;
  padding: 10px;
  text-align: center;
}

header {
  background-color: #ffffff;
  text-align: center;
  padding: 50px 0;
}

h2 {
  font-size: 30px;
}

.hform {
  margin-top: -90px;
  margin-bottom: -70px;
  position: absolute;
  font-size: 50px;
  color: #AEB438;
}

h1 {
  font-size: 4em;
  color: #008000;
  margin-bottom: 20px;
  font-family: Impact, sans-serif;
}

p {
  font-size: 1.5em;
  color: #555555;
}


.service {
  border: 5px solid #3b8c57; /* couleur environnementale pour l'encadrement */
  padding: 10px;
  margin-bottom: 20px;
}

main ul {
    list-style-type: none; /* Supprime les puces des éléments de la liste */
}

.service img {
  float: left; /* aligner l'image à gauche */
  margin-right: 20px;
  width: 220px; /* ajuster la largeur de l'image selon vos besoins */
  height: auto;
}

.jardinbois {
  width: 50%;
}

main {
margin-top: 70px;
}

.confirmation {
  text-align: center;
  margin-top: 100px;
}

.confirm {
  margin-top: 400px;
}

.headd {
  margin-top: -100px;
  z-index: -2;
}

.bas {
  position: relative;
  max-width: 150%; /* Ajustez cela en fonction de la largeur souhaitée */
  height: 390px; /* Ajustez cela en fonction de la hauteur souhaitée */
  margin-bottom: 10px;

}

.jardinbois {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%; /* Assurez-vous que l'image ne dépasse pas la largeur du conteneur */
  max-height: 100%; /* Assurez-vous que l'image ne dépasse pas la hauteur du conteneur */
}

nav .logos {
	width: 75px;
	border-radius: 100px;
	background-color: white;
	position: absolute;
	top: 25px;
	margin-left: 10px;
	box-shadow: 2px 3px 6px;
}

.textfooter {
  color: white;
}

h3 {
  font-size: 25px;
  color: #384001;

}

form {
  margin-top: 100px;
}

nav .menuhamburger {
  width: 45px;
  position: absolute;
  right: 55px;
  z-index: 1;
  top: 40px;
  display: none;
  z-index: 3;

}

nav .fond {
  margin-left: -100%;
}

.navlinks .mobile-menu {
  margin-left: -1000%;
}

/* ---- Menu déroulant ---- */

@media screen and (max-width: 1080px) {
  
  nav ul {
  padding: 0 200px;
  margin: 0;
  margin-top: -35px;
  height: 100px;
}

.menu_icons {
        display: block;
        z-index: 2;
        margin-left: 30px;
        margin-top: -170px;
    }


    }
.navlinks .show {
        display: flex; 
   }

.navlinks ul a:hover::after {
    width: 100%;
}

nav li {
  margin: 0;
  padding: 0;
}

nav a {
  display: block;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  margin-top: 20px;
}

nav a:hover {
  background-color: #fff;
  border-radius: 5px;
}

nav .logos {
  width: 75px;
  border-radius: 100px;
  background-color: white;
  position: absolute;
  top: 25px;
  left: 16px; /* positionnement du logo à gauche */
  box-shadow: 2px 3px 6px;
}

.text-container {
  position: absolute;
  top: 47%; /* Ajustez ceci pour positionner verticalement */
  left: 57%; /* Ajustez ceci pour positionner horizontalement */
  transform: translate(-50%, -50%);
  z-index: 1; /* Assurez-vous que le texte est devant l'image */
  padding: 20px;
  text-align: center;
}

.text-container p {
  margin: 0;
  margin-top: -20px;
  margin-left: -133px;
  color: white;
  font-family: eigerdals, sans-serif;
}

@media screen and (max-width: 680px) {

nav ul {
  padding: 0 115px;
  margin: 0px;
  margin-top: -35px;
  height: 100px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  background-color: #82b74b;
}

nav li {
  display: inline-block;
  list-style-type: none;
  padding-left: 30px;

}

nav a {
  display: block;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;

}

nav a:hover {
  background-color: #fff;
  border-radius: 5px;
}

nav .logos {
  width: 75px;
  border-radius: 100px;
  background-color: white;
  position: absolute;
  top: 17px;
  left: 41.5%; /* positionnement du logo à gauche */
  box-shadow: 2px 3px 6px;
  z-index: 5;
}

.navlinks li {
  flex-direction: column;
  display: flex;
  z-index: 3;
}



.navlinks a {
  margin-top: 200px;
  color: white;
  font-size: 15px;
  background-color: green;
  border-radius: 5px;
}

.navlinks ul {
  flex-direction: inherit;
  display: flex;
  align-items: center;
  background-color: #82b74b;
  margin-top: -40px;
  height: 100px;
  padding: 0 100px;
  margin-left: -30px;
  margin-bottom: 100px;
}

.image-container {
  max-width: 990px; /* Largeur maximale du conteneur */
  overflow: hidden; /* Masquer le contenu qui dépasse */
}

.mainn {
  width: 300%; /* La largeur de l'image occupe la largeur du conteneur */
  height: 100%; /* La hauteur de l'image occupe la hauteur du conteneur */
  object-fit: contain; /* Ajuste l'image pour s'adapter sans déformation */
}

nav .fond {
  position: absolute;
  display: flex;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  margin-left: 0;

  z-index: 2;

}

.navlinks .mobile-menu {
  margin-left: 0;
  transition: margin-left 2.3s ease-in-out; /* Ajoutez une transition pour l'animation */
  z-index: 3;
}


.text-container {
  position: absolute;
  top: 47%; /* Ajustez ceci pour positionner verticalement */
  left: 62%; /* Ajustez ceci pour positionner horizontalement */
  transform: translate(-50%, -50%);
  z-index: 1; /* Assurez-vous que le texte est devant l'image */
  padding: 20px;
  text-align: center;
}

.text-container p {
  margin: 0;
  margin-top: -20px;
  margin-left: -128px;
  color: white;
  font-family: eigerdals, sans-serif;
}

.jardinbois {
  width: 500px;
}

.hform {
  margin-top: 50px;
  margin-bottom: -70px;
  position: relative;
}

footer p {
  color: white;
}

@media screen and (max-width: 425px) {

nav ul {
  padding: 0 115px;
  margin: 0px;
  margin-top: -35px;
  height: 100px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  background-color: #82b74b;
}

nav li {
  display: inline-block;
  list-style-type: none;
  padding-left: 50px;

}

nav a {
  display: block;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;

}

nav a:hover {
  background-color: #fff;
  border-radius: 5px;
}

nav .logos {
  width: 75px;
  border-radius: 100px;
  background-color: white;
  position: absolute;
  top: 17px;
  left: 41.5%; /* positionnement du logo à gauche */
  box-shadow: 2px 3px 6px;
  z-index: 5;
}

.navlinks li {
  flex-direction: column;
  display: flex;
  z-index: 3;
}



.navlinks a {
  margin-top: 200px;
  color: white;
  font-size: 15px;
  background-color: green;
  border-radius: 5px;
}

.navlinks ul {
  flex-direction: inherit;
  display: flex;
  align-items: center;
  background-color: #82b74b;
  margin-top: -40px;
  height: 100px;
  padding: 0 100px;
  margin-left: -30px;
  margin-bottom: 100px;
}

.image-container {
  max-width: 990px; /* Largeur maximale du conteneur */
  overflow: hidden; /* Masquer le contenu qui dépasse */
}

.mainn {
  width: 300%; /* La largeur de l'image occupe la largeur du conteneur */
  height: 100%; /* La hauteur de l'image occupe la hauteur du conteneur */
  object-fit: contain; /* Ajuste l'image pour s'adapter sans déformation */
}

nav .fond {
  position: absolute;
  display: flex;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  margin-left: 0;

  z-index: 2;

}

.navlinks .mobile-menu {
  margin-left: 0;
  transition: margin-left 2.3s ease-in-out; /* Ajoutez une transition pour l'animation */
  z-index: 3;
}


.text-container {
  position: absolute;
  top: 47%; /* Ajustez ceci pour positionner verticalement */
  left: 62%; /* Ajustez ceci pour positionner horizontalement */
  transform: translate(-50%, -50%);
  z-index: 1; /* Assurez-vous que le texte est devant l'image */
  padding: 20px;
  text-align: center;
}

.text-container p {
  margin: 0;
  margin-top: -20px;
  margin-left: -128px;
  color: white;
  font-family: eigerdals, sans-serif;
}

.jardinbois {
  width: 500px;
}

.hform {
  margin-top: 50px;
  margin-bottom: -70px;
  position: relative;
}

footer p {
  color: white;
}

