/* code générale pour body */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: url('../images/background2.png') no-repeat center center fixed; /* Image de fond pour la deuxième page */
    background-size: cover;
    backdrop-filter: blur(5px); /* Flou de l'image de fond */
  }
  
  /* code pour le header */
  header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8); /* Fond semi-transparent */
    text-align: center;
  }
  
  header a {
    margin-bottom: 10px;
  }
  
  header img {
    max-width: 120px; /* Taille du logo */
    height: auto;
  }
  
  header h1 {
    font-size: 2em;
    color: #333;
    margin: 0;
  }
  
  header h2 {
    font-size: 1.2em;
    color: #666;
    margin: 5px 0 0 0;
  }
  
  /* Styles pour le nav */
  
  main {  background-color: rgba(255, 255, 255, 0.8); /* Fond semi-transparent */}
  nav {
    margin: 10px 0;
  }
  
  nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  nav ul li {
    margin: 0;
  }
  
  nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1.2em;
    transition: color 0.3s ease;
  }
  
  nav ul li a:hover {
    color: #666;
  }
  
  nav {
    margin: 1px 0;
  }
  
  nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  nav ul li {
    margin: 0;
  }
  
  nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1.2em;
    transition: color 0.3s ease;
  }
  
  nav ul li a:hover {
    color: #666;
  }
 
 /* Navigation Bar */
 nav {
  background-color: #e7d9d9;
  overflow: hidden;
}
 
 nav ul {
   list-style-type: none;
   margin: 0.5em;
   padding: 0;
   display: flex;
   justify-content: left;
 }
 
 nav li {
   margin: 0;
   padding: 0;
 }
 
 nav a {
   display: block;
   color: white;
   text-align: left;
   padding: 14px 16px;
   text-decoration: none;
 }
 
 nav a:hover {
   background-color: #bfbfbf;
   color: rgb(118, 118, 118);
 }




  /* Styles pour le main */
  main {
    margin: 5%;
    padding: 20px;
  }
  
  main h1 {
    text-align: center;
    color: #333;
  }
  
  section {
    margin-bottom: 20px;
  }
  
  section img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
  }
  
  section audio {
    display: block;
    margin: 10px 0;
  }
  
  section p {
    margin: 10px 0;
    color: #444;
    line-height: 1.6;
  }
  
 
/* Styles pour le footer */
footer {
  margin-top: 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

footer p {
  margin: 0px 5px;
}

footer a {
  margin: 0 10px;
}

footer a img {
  max-width: 40px;
  height: auto;
}

footer figure {
  display: inline-flex;
}

footer figure figcaption {
  display: none;
}

footer img:hover {
  background-color: #595f59;
  transform: scale(1.5);
}

footer img:active {
  background-color: #919191;
  transform: scale(0.8);
}

footer figcaption {
  display: none;
}
  
  /* Media queries pour rendre le site responsive */
  @media (min-width: 600px) {
    header {
      flex-direction: row;
      justify-content: space-between;
    }
  
    header a {
      margin-bottom: 0;
    }
  
    header h1, header h2 {
      text-align: left;
    }
  
    nav ul {
      justify-content: flex-end;
    }
  }
  