@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: #222;
  background-color: #f9f9f9;
  margin: 0;
  padding: 0;
}
/* ---- Header ---- */
#header {

  font-size: 1.8em;
  position: fixed;
  background-color: #ff8b00;
  color: #222;
  text-align: center;
  padding: 20px;
  font-weight: bold;     /* la bannière reste en haut */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10; 
  height: 120px;        /* pour être au-dessus du contenu, mais pas du menu */
}
/* --- MENU LATÉRAL --- */
nav {
  position: fixed;
  top: 130px; /* hauteur exacte sous ta bannière */
  left: 0;
  width: 200px;
  height: calc(100vh - 240px);
  background-color: #f5f5f5;
  padding: 1em;
}

/* --- CONTENU PRINCIPAL --- */
#content {
  justify-content: center; 
  margin-top: 130px;
  width: 640px;
  margin-left: 200px; /* espace à droite du menu */
  padding: 3em;
  text-align: justify; /* <=== ajoute ceci */
}



#content img {
  max-width: 640px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; /* centre les images */
  border-radius: 10px;     /* optionnel : coins légèrement arrondis */
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
  border: 2px solid #ccc; /* couleur douce et fine */
}

/* --- LIENS DU MENU --- */
nav a {
  display: block;
  color: #000;
  text-decoration: none;
  margin: 0.3em 0;
}

nav a:hover {
  text-decoration: underline;
}


/* ---- Footer ---- */
#footer {
  text-align: right;
  padding: 15px;
  color: #555;
  background-color: #f0f0f0;
  border-top: 1px solid #ccc;
}
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 20px;
  }

  nav ul li a {
    font-size: 16px;
    padding: 8px 15px;
  }
}
