@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #0a0010;
  font-family: 'VT323', monospace;
}

canvas {
  display: block;
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  image-rendering: pixelated;
  cursor: crosshair;
}

.shroom-hint {
  position: fixed;
  bottom: 14px;
  width: 100%;
  text-align: center;
  font-size: 16px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.2);
  pointer-events: none;
  z-index: 10;
  animation: hint-fade 3s ease-in-out infinite alternate;
}

@keyframes hint-fade {
  from { opacity: 0.1; }
  to   { opacity: 0.4; }
}

.centered {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float-center 5s ease-in-out infinite;
}

@keyframes float-center {
  0%, 100% { transform: translate(-50%, -50%) translateY(0px); }
  50%       { transform: translate(-50%, -50%) translateY(-15px); }
}