@font-face {
  font-family: 'Amusette';
  src: url('font/amustte/Amusette-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: 'Amusette';
  src: url('font/amustte/Amusette-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}


@font-face {
  font-family: 'Amusette Outline';
  src: url('font/amustte/AmusetteOutline-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: 'Amusette Outline';
  src: url('font/amustte/AmusetteOutline-Italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'White Smile';
  src: url('font/white-smile/White-Smile.otf') format('opentype');
}

/* Styles généraux */

body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #e0fbe8;
  color: #333;
}

/* Présentation */

.presentation-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}

.presentation {
  font-size: 16pt;
  text-align: center;
  line-height: 1.6;
}

/* Titres */
.titre3,
.titre2,
.titre1 {
  font-family: Verdana, Tahoma, sans-serif;
  text-align: center;
  margin: 20px 0; /* Réduit les marges à 20px au lieu de marges trop larges */
  border-bottom: 3px solid #00561B;
  padding-bottom: 20px; /* Réduit le padding en bas */
  color: #00561B;
  margin-left: 200px;
  margin-right: 200Px;
}

.titre3 {
  font-size: 35pt;
}

.titre2 {
  font-size: 35pt;
}

.titre1 {
  font-size: 45pt;
}
.pourquoi {
  font-size: 16pt;
  text-align: center;
  line-height: 1.6;
  max-width: 900px;
  margin: auto;
  margin-bottom: 30px;
}

/* Liste des prestations */

.liste-activites {
  max-width: 900px;
  text-align: left;
  margin: auto;
}

.activites {
  list-style: none;
  padding: 0;
}

.activite {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 35px;
  font-size: 17pt;
  line-height: 1.6;
}
.abattage{
width: 265px;
height: 300px;
}

.elagage{
  width: 349px;
  height: 300px;
}

.tonte {
  width: 195px;
  height: 300px;
}

.abattage,.elagage,.tonte {
  border-radius: 10px;
  transition: transform 0.3s ease;
}
.abattage:hover {
  transform: scale(1.1);
}.elagage:hover {
  transform: scale(1.1);
}
.tonte:hover {
  transform: scale(1.1);
}

.text-activite {
  flex: 1;
  font-size: 16pt;
  line-height: 1.6;
}

/*header*/

body {
  margin: 0;
  position: relative;
}

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

.site-header {
  background-color: #175732;
  border-bottom: 1px solid #ccc;
  padding: .5em 1em;
  display: flex;
  justify-content: space-between;
}

.site-identity h1 {
  margin: .1em 0;
  display: inline-block;
}

.site-navigation ul,
.site-navigation li {
  margin: 0;
  padding: 0;
}

.site-navigation li {
  display: inline-block;
  margin: 1.7em 1.5em 1.5em 1.5em;
}

.logo {
  width: 100%;
  height: 120px;
}

.nav {
  font-size: 20pt;
  font-family: 'Amusette', sans-serif;
}

/* FOOTER */

.site-footer {
  background-color: #175732;
  color: white;
  text-align: center;
  padding: 20px 0;

}

.footer-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  margin: 0 10px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ICONES RÉSEAUX SOCIAUX */

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-socials a {
  display: flex;
  align-items: center;
}

.footer-socials img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}

.footer-socials img:hover {
  transform: scale(1.2);
}

/* Responsive */

@media (max-width: 768px) {
    
  .site-header {
    display: flex;
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    padding: 1em;
  }
    .site-navigation li:nth-child(1) {
      border-right: 2px solid white;
    }
  
    .site-navigation li:nth-child(2) {
      border-right: 2px solid white;
    }
  
    .site-navigation li {
      padding-right: 10px;
    }
  .site-navigation ul {
    flex-direction: column;
    width: 100%;
  }

  .site-navigation li {
    margin: 10px 0;
  }

  .text-accueil {
    padding: 30px 10px;
  }

  .titre1 {
    font-size: 36pt;
    margin-left: 2px;
    margin-right: 2px;
  }

  .titre2 {
    font-size: 30pt;
  }
  .presentation,
  .activiter {
    margin-left: 20px;
    margin-right: 20px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links,
  .footer-socials {
    margin-top: 15px;
  }

  .footer-socials img {
    width: 25px;
    height: 25px;
  }
  

  /* Contenu */
  .presentation-container {
    flex-direction: column;
    text-align: center;
  }

  .titre1 {
    font-size: 36pt;
    margin: 15px 0; 
  }

  .titre2 {
    font-size: 30pt;
    margin: 15px 0; 
  }

  .titre3 {
    font-size: 25pt;
    margin: 15px 0; 
  }

    .footer-content {
      flex-direction: column;
      text-align: center;
    }
  
    .footer-links,
    .footer-socials {
      margin-top: 15px;
    }
  
    .footer-socials img {
      width: 25px;
      height: 25px;
    }

  /* Images Activités */
  .activite {
    flex-direction: column;
    align-items: center;
  }

.tonte {
    max-width: 80%;
    margin-bottom: 10px;
  }
  .abattage {
    width: 40%;
    height:40%;
  }
  .elagage {
    width: 40%;
    height:40%;
  }

  .text-activite {
    text-align: center;
    font-size: 14pt;
  }
}

/* Pour les très petits écrans (480px ou moins) */
@media (max-width: 480px) {
  .site-header {
    padding: 1em;
    flex-direction: column;
    justify-content: center;
  }

  .site-navigation ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
    font-size: 15pt;
  }

  .nav li {
    margin: 0 8px; 
  }


  .logo {
    width:100%
  }

  /* Contenu */
  .titre1 {
    font-size: 32pt;
    margin-left: 10px;
    margin-right: 10px;
  }

  .titre2 {
    font-size: 28pt;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links, .footer-socials {
    margin-top: 15px;
  }

  /* Images Activités */
  .abattage, .elagage, .tonte {
    max-width: 70%; /* Réduit la taille des images encore plus sur les très petits écrans */
  }

  .text-activite {
    text-align: center;
    font-size: 14pt;
  }

  .footer-socials img {
    width: 20px;
    height: 20px;
  }
}