@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');
}

/*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;
}

/*header*/
/* 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);
}

/*contenu*/
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
  gap: 30px;
}

.machine-block {
  display: flex;
  align-items: center;
  width: 80%;
  justify-content: space-between;
}

.machine-block img {
  width: 300px;
  height: auto;
  transition: transform 0.3s ease;
}

.machine-block img:hover{
  transform: scale(1.05);
}

.machine-text-right,.machine-text-left {
  width: 50%;
}


.left {
  flex-direction: row;
}

.right {
  flex-direction: row-reverse;
}
/*titre*/

.titre1 {
  font-family: Verdana, Tahoma, sans-serif;
  text-align: center;
  font-size: 45pt;
  margin-left: 265px;
  margin-right: 265px;
  margin-bottom: 30px;
  border-bottom: 3px solid #00561B;
  padding-bottom: 40px;
  color: #00561B;
}

/*text*/
p{
font-size: 16pt;
  text-align: center;
  line-height: 1.6;
  font-family: Arial, Helvetica, sans-serif;;
}
.presentation{
  margin-left: 200px;
  margin-right: 200px;
  margin-bottom: 17px;
}
/*contenu*/
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
  gap: 40px; 
}

.machine-block {
  display: flex;
  align-items: center;
  width: 80%;
  justify-content: space-between;
  margin-bottom: 20px;
  border: 1px solid #175732; 
  border-radius: 8px; 
  box-shadow: 3px 3px 10px #585858; 
  padding: 15px; 
  box-sizing: border-box; 
  background-color: #c6ffd7; 
}

.machine-block img {
  width: 350px; 
  height: auto;
  margin-right: 15px; 
  margin-left: 15px; 
}

.machine-text {
  width: 40%;
  text-align: left;
  font-size: 16px; 
}

.left {
  flex-direction: row;
}

.right {
  flex-direction: row-reverse;
}
/*body*/
body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #e0fbe8;
  color: #333;
}

@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;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-links,
  .footer-socials {
    margin-top: 15px;
  }

  .footer-socials img {
    width: 25px;
    height: 25px;
  }

  .machine-block {
    width: 95%;
    flex-direction: column;
  }

  .machine-block img {
    width: 100%;
    margin-bottom: 15px;
  }

  .machine-text-right, .machine-text-left {
    width: 100%;
    text-align: center;
  }

  .titre1 {
    font-size: 36pt;
    margin: 10px 0;
    margin-left: 10px;
    margin-right: 10px;
  }

  p {
    font-size: 14pt;
    margin-left: 15px;
    margin-right: 15px;
  }

  .presentation {
    margin-left: 20px;
    margin-right: 20px;
  }
}

@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%
  }
  .footer-socials img {
    width: 20px;
    height: 20px;
  }

  .machine-block {
    width: 100%;
    flex-direction: column;
  }

  .machine-block img {
    width: 100%;
    margin-bottom: 10px;
  }

  .machine-text-right, .machine-text-left {
    width: 100%;
    text-align: center;
  }

  .titre1 {
    font-size: 30pt;
    margin: 5px 0;
    margin-left: 5px;
    margin-right: 5px;
  }

  p {
    font-size: 13pt;
    margin-left: 10px;
    margin-right: 10px;
  }

  .presentation {
    margin-left: 10px;
    margin-right: 10px;
  }
}