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

header {
  background-color: #333;
  color: white;
  padding: 10px 0;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

nav ul li {
  display: inline;
  margin-right: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover {
  color: #ff6347;
}

section {
  padding: 20px;
  background-color: white;
  margin: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

footer {
  text-align: center;
  padding: 10px;
  background-color: #333;
  color: white;
}

h1 {
  color: #333;

  nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
}

nav ul li {
  margin-right: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover {
  color: #ff6347;
}

/* Mobile responsive - menu hamburger */
@media screen and (max-width: 768px) {
  nav ul {
    display: none; /* Cacher les éléments du menu par défaut */
    flex-direction: column;
    width: 100%;
    background-color: #333;
  }

  nav ul li {
    margin: 10px 0;
    text-align: center;
  }

  nav ul li a {
    display: block;
    padding: 10px;
  }

  .hamburger {
    display: block; /* Affiche le bouton hamburger */
    font-size: 30px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 20px;
  }

  nav.active ul {
    display: flex; /* Affiche le menu quand on clique sur le hamburger */
  }
}

/* Conteneur de l'en-tête avec logo */
.header-container {
    display: flex;
    align-items: center;  /* centre verticalement */
    justify-content: space-between; /* texte à gauche, logo à droite */
    padding: 0 20px;
}

/* Style du titre */
.header-container h1 {
    font-size: 1.8rem;
    color: #fff;
}

/* Style du logo */
.header-container .logo {
    height: 50px; /* ajuste selon la taille souhaitée */
    width: auto;
}

/* Responsive : réduire le logo et le texte sur petit écran */
@media (max-width: 600px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    .header-container .logo {
        margin-top: 10px;
        height: 40px;
    }
}
.photo-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.photo-profil {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

}