@charset "UTF-8";
/* CSS Document */

body {
    width: 100%;
    min-height: 100vh;
    background-color: white;
    color: black;
    font-size: clamp(1.125rem, 2.2vw, 2rem);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    width: 100%;
    height: 250px;
    margin: auto;
    background-color: white;
    text-align: center;
    font-size: 100px;
    color: black;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

h1 {
  background-color: #B0C4DE;
  font-size: clamp(2rem, 5vw, 4rem); /* ~32px à 64px */
  color: black;
  margin: 35px auto 0;
  text-align: center;
  width: 90%;
  padding: 1rem; /* évite height fixe */
  line-height: 1.2; /* meilleur ajustement sur petits écrans */
  border: 4px solid black;
  border-radius: 20px;
  box-sizing: border-box; /* meilleure gestion des tailles */
}

h2 {
    background-color: #F5F5F5;
     font-size: clamp(1.75rem, 4vw, 3rem); /* ~28px à 48px */
    color: pink;
    margin: auto;
    margin-top: 35px;
    text-align: center;
    width: 80%;
    line-height: 1.2;
    padding: 0.5em;
    border: 6px solid black;
    border-radius: 20px;
}
/* Par défaut : desktop */
.container {
  display: flex;
  flex-direction: row;
}

/* Pour mobile */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }
}
img {
  max-width: 100%;
  height: auto;
}
button {
  padding: 1em;
  font-size: 1em;
}
