/* winky.cc — a dark sky and a name, nothing else. */
:root {
  --bg: #04040a;
  --ink: #c9d2ff;
  --dim: #5a6290;
}

* {
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  background: var(--bg);
  overflow: hidden;
}

canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

main {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
  pointer-events: none;
}

h1 {
  font: 500 clamp(1rem, 2.4vw, 1.5rem) / 1 ui-monospace, "SF Mono", Menlo,
    monospace;
  letter-spacing: 0.4em;
  color: var(--ink);
  text-shadow: 0 0 18px rgba(140, 160, 255, 0.45);
  opacity: 0;
  animation: rise 4s ease-out 0.8s forwards;
}

h1 span {
  color: var(--dim);
}

@keyframes rise {
  to {
    opacity: 0.85;
  }
}

@media (prefers-reduced-motion: reduce) {
  h1 {
    animation: none;
    opacity: 0.85;
  }
}
