html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  background-color: white;
  font-family: Helvetica, Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  cursor: pointer;
}

#text {
  font-size: 6vw;
  font-weight: bold;
  text-transform: lowercase;
  letter-spacing: 0.1em;
  animation: heartbeatBlink 1.8s infinite ease-in-out;
  text-align: center;
  max-width: 90vw;
  z-index: 1;
  position: relative;
}

@keyframes heartbeatBlink {
  0%   { color: black; opacity: 1; }
  10%  { color: white; opacity: 0.5; }
  20%  { color: black; opacity: 1; }
  30%  { color: white; opacity: 0.5; }
  40%  { color: black; opacity: 1; }
  100% { color: black; opacity: 1; }
}

video {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover; /* remplissage total de l’écran */
  z-index: 2;
  background-color: black;
}
