/* code générale pour body */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: url('/images/background.png') no-repeat center center fixed;
  background-size: cover;
  backdrop-filter: blur(5px);
}

/* Styles pour le header */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2%;
  background-color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

figcaption {
  display: none;
}

header img {
  max-width: 120px;
  height: auto;
  margin-bottom: 10px;
}

header .container {
  border: 0;
  margin: 0;
}

header .container div {
  margin-bottom: 10px;
}

header .container p {
  margin: 0;
  font-size: 1.2em;
  color: #171616;
  text-align: left;
}
header .container :last-child p {
  margin: 0;
  font-size: 1.2em;
  color: #818181;
}

/* Media queries pour les grands écrans */
@media (min-width: 600px) {
  header {
    flex-direction: row;
    justify-content: space-between;
    text-align: flex;
  }

}

/* Styles pour le main */
main {
  margin: 9%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

main ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 20px;
  margin: 0;
}

main ul li {
  margin: 0;
}

main ul li a {
  display: block;
  padding: 10px 8px;
  background-color: #494c49;
  color: white;
  text-align: center;
  text-decoration: none;
  font-size: 100%;
  border-radius: 10px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

main ul li a:hover {
  background-color: #595f59;
  transform: scale(1.2);
}

main ul li a:active {
  background-color: #000000;
  transform: scale(1.1);
}

/* 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 img:hover {
  background-color: #595f59;
  transform: scale(1.5);
}

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

/* Media queries pour rendre le site responsive */
@media (max-width: 600px) {
  header img {
    margin-bottom: 20px;
    align-self: center;
  }
}
