@charset "UTF-8";

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  cursor: none;
}

#rond {
  width: 80px;
  height: 80px;
  background: #111;
  border-radius: 50%;
  transition: width 0.3s, height 0.3s;
  cursor: pointer;
}

#camera {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@font-face {
  font-family: "HelveticaRoundedLTStd-Bd";
  src: url("../fonts/HelveticaRoundedLTStd-Bd.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "JGS9";
  src: url("../fonts/jgs9.woff2") format("woff2");
  font-display: swap;
}

#top-text,
#bottom-text {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  color: #222;
  font-size: 2.2rem;
  font-family: "HelveticaRoundedLTStd-Bd", sans-serif;
  z-index: 10;
  user-select: none;
  pointer-events: none;
}

#top-text {
  top: 0px;
  text-align: center;
  width: calc(100vw - 40px); /* Laisse 20px de marge de chaque côté */
  max-width: 100vw;
  box-sizing: border-box;
  left: 50%;
  transform: translateX(-50%);
  white-space: pre-line;
  word-break: break-word;
  padding-left: 0;
  padding-right: 0;
}

#bottom-text {
  bottom: 40px;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.15s;
  box-shadow: 0 0 16px 4px #2196f3, 0 0 36px 15px #00eaff;
  border-radius: 16px;
  animation: glow 1s infinite alternate;
}

@keyframes glow {
  0% {
    box-shadow: 0 0 8px 2px #2196f3, 0 0 16px 4px #00eaff;
  }
  100% {
    box-shadow: 0 0 32px 8px #2196f3, 0 0 64px 16px #00eaff;
  }
}

.cursor-blue {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2196f3;
  mix-blend-mode: multiply;
  transform: translate(-50%, -50%);
  transition: background 0.2s;
  will-change: transform;
}

.random-matrix-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.matrix-col {
  position: absolute;
  top: 0;
  font-family: "JGS9", monospace;
  font-size: 1rem;
  color: #111;
  opacity: 0.1;
  white-space: pre;
  user-select: none;
  letter-spacing: 0.05em;
}
