/* =========================
   FONT STYLES
========================= */
.parkinsans-titre {
  font-family: "Parkinsans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 3.5em; /* mobile first : plus gros sur mobile */
}

.parkinsans-soustitre {
  font-family: "Parkinsans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2em; /* mobile first */
}

.parkinsans-bouton {
  font-family: "Parkinsans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 2em; /* mobile first */
}

.parkinsans-texte {
  font-family: "Parkinsans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.6em; /* mobile first */
}

/* =========================
   GLOBAL STYLES
========================= */
html, body {
  height: 100%;
  margin: 0;
  overflow: hidden;
}

#p5-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center; /* centre verticalement */
  align-items: center;     /* centre horizontalement */
  text-align: center;
  font-family: "Parkinsans", sans-serif;
  position: relative;
  z-index: 1;
}

h1, h2, p {
  color: #073535;
  margin: 0.5em 0;
}

h1 {
  margin-top: 2em;
}

a {
  text-decoration: none;
  color: #073535;
}

.paragraphe {
  padding-top: 20px;
}

/* =========================
   CONTENT WRAPPER
========================= */
#content-wrapper {
  position: relative;
  z-index: 10;
}

/* =========================
   HEADER & LOGO
========================= */
header {
  width: 80%;
  max-width: 400px;
  padding: 0 10px;
  margin: 30px auto 40px;
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
}

#logo {
  max-width: 90%;
  height: auto;
  cursor: pointer;
  transition: all 0.2s ease;
}

#logo:hover {
  animation: vibrate 0.25s infinite;
}

@keyframes vibrate {
  0%, 100% { transform: translateX(0) scale(1); }
  25% { transform: translateX(-2px) scale(1.03); }
  75% { transform: translateX(2px) scale(1.03); }
}

/* =========================
   SECTION
========================= */
section {
  width: 90%;
  max-width: 600px;
  padding: 0 10px;
  position: relative;
  z-index: 10;
}

/* =========================
   BUTTON
========================= */
.monbouton {
  margin-top: 30px;
  background-color: #073535;
  color: #ff8155;
  display: inline-block;
  width: auto;
  text-align: center;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.monbouton a {
  color: #ff8155;
}

.monbouton:hover {
  background-color: transparent;
  color: #073535;
  border: 3px solid #073535;
}

.monbouton:hover a:hover {
  color: #073535;
}

.monbouton:active {
  background-color: #fffafb;
  color: #000;
  border: none;
}

/* =========================
   IMAGES
========================= */
img {
  max-width: 100%;
  height: auto;
}

/* =========================
   RESPONSIVE MEDIA QUERIES
========================= */

/* Tablettes */
@media (min-width: 600px) {
  .parkinsans-titre {
    font-size: 3em;
  }
  .parkinsans-soustitre,
  .parkinsans-bouton {
    font-size: 2em;
  }
  .parkinsans-texte {
    font-size: 1.6em;
  }

  header {
    max-width: 500px;
  }

  section {
    max-width: 700px;
  }

  .monbouton {
    padding: 14px 28px;
  }
}

/* Desktop / grands écrans */
@media (min-width: 1024px) {
  .parkinsans-titre {
    font-size: 2.5em;
  }
  .parkinsans-soustitre,
  .parkinsans-bouton {
    font-size: 1.8em;
  }
  .parkinsans-texte {
    font-size: 1.5em;
  }

  .parkinsans-texte a {
    font-size: 0.8em;
  }

  header {
    max-width: 600px;
  }

  section {
    max-width: 800px;
  }

  .monbouton {
    padding: 16px 32px;
  }
}