html, body {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  min-height: 100vh;
  font-family: Arial, sans-serif;
  flex-direction: column; /* important pour éviter que tout se mette en row */
}

.menu {
  display: flex;
  flex-direction: column; /* par défaut : mobile */
  justify-content: center;
  align-items: center;
  text-align:center ;
  gap: 10px;
  width: 100%;
  max-width: 400px;
}

.bio {
  display: flex;
  flex-direction: column; /* mobile */
  justify-content: center;
  align-items: center;
  font-size: 0.9em;
  width: 50%;
  max-width: 500px;
  padding: 30px;
}

.portrait > p {
  margin: 2px;
  font-size: 10px;
}

.logo {
  width: 150px;
  padding: 15px;
}

.portrait, .pres {
  width: 100%; /* mobile : prend toute la largeur */
  padding: 20px;
}

.pres {
  text-align: justify;
  font-family: Arial, sans-serif;
}

img {
  width: 100%;
  height: auto;
}

ul {
  margin: 0;
  padding: 10px;
  width: 100%;
}

ul li {
  list-style: none;
  margin: 8px 0;
}

a {
  color: black;
  text-decoration: none;
}

a:hover {
  font-weight: bold;
}

/* Version ordinateur */
@media screen and (min-width: 900px) {
  .menu {
    flex-direction: row;
    text-align: justify;
  }

  .bio {
    flex-direction: row;
     width: 100%;
  max-width: 500px;
  padding: 30px;

  }

  .portrait, .pres {
    width: 50%;
  }
}
