/* Reset léger */
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background-image: url("Fond_site.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.logo{
  width: 160px;
  height: auto;
  display: block;
  margin: 0 auto 24px;
}


/* Titre */
h1 {
    font-family: "Helvetica Neue", Arial, sans-serif; /* change ici la police */
    font-size: 70px;
    text-align: center;
    margin-bottom: 50px;
    margin-top: 30px;
    
}

.btn {
    display: block;
    width: 400px;
    padding: 20px;
    margin: 8px 0;
    border: none;
    font-size: 30px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

/* Couleur différente pour chaque lien-bouton */
.btn:nth-of-type(1) {
    background-color: #e63946;
    color: white;
}

.btn:nth-of-type(2) {
    background-color: #f1faee;
    color: #000;
}

.btn:nth-of-type(3) {
    background-color: #a8dadc;
    color: #000;
}

.btn:nth-of-type(4) {
    background-color: #457b9d;
    color: white;
}

.btn:nth-of-type(5) {
    background-color: #1d3557;
    color: white;
}

.btn {
    transition: background-color 0.2s ease;
}

/* Bouton 1 */
.btn:nth-of-type(1):hover {
    background-color: #c92f3b;
}

/* Bouton 2 */
.btn:nth-of-type(2):hover {
    background-color: #d8e2d3;
}

/* Bouton 3 */
.btn:nth-of-type(3):hover {
    background-color: #8fc8ca;
}

/* Bouton 4 */
.btn:nth-of-type(4):hover {
    background-color: #3b6c8a;
}

/* Bouton 5 */
.btn:nth-of-type(5):hover {
    background-color: #162a46;
}


/* ---------- Responsive mobile ---------- */
@media (max-width: 600px) {
  /* marge latérale globale */
  body {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }

  /* évite les largeurs fixes trop grandes */
  h1 {
    font-size: 34px;       /* au lieu de 70px */
    margin-bottom: 24px;
  }

  .logo {
    width: 120px;          /* au lieu de 160px */
    margin-bottom: 16px;
  }

  .btn {
    width: 100%;           /* au lieu de 400px */
    max-width: 420px;
    font-size: 18px;       /* au lieu de 30px */
    padding: 14px;
  }
}

#fireworks {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  display: block;
}

p {
    font-size: 20px;
    text-align: center;

}


