/* The aligned orbits logo: a warm white page, the first letter of the name as a vermilion sun, the other letters on
   thin orbits around it, until they all line up. */
:root {
  --ground: #f3f0e8;        /* the page */
  --ink: #141414;           /* the letters that orbit */
  --orbit: #141414;         /* the thin orbits */
  --accent: #e2462b;        /* the sun: the first letter */
  --hint: #9b968b;          /* the replay button */
  --screen: 100vh;
}
@supports (height: 100lvh) {
  :root { --screen: 100lvh; }
}

* { box-sizing: border-box; }
html,
body {
  margin: 0;
  height: 100%;
}
body {
  background: var(--ground);
  overflow: hidden;
}

.scena {
  position: relative;
  height: var(--screen);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.palco {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: 'Unbounded Variable', 'Arial Rounded MT Bold', 'Helvetica Neue', Arial, sans-serif;
}

.pianeta {
  fill: var(--ink);
  text-anchor: middle;
}
.sole {
  fill: var(--accent);
  text-anchor: middle;
}
.orbita {
  fill: none;
  stroke: var(--orbit);
  stroke-width: 1;
}

/* the replay button: small, quiet, it shows up when the name is aligned */
.ancora {
  position: absolute;
  left: 50%;
  bottom: max(20px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  padding: 8px 14px;
  border: 0;
  background: none;
  font-family: 'Unbounded Variable', 'Helvetica Neue', Arial, sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--hint);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: color 0.2s;
}
@media (hover: hover) {
  .ancora:hover { color: var(--ink); }
}
.ancora:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 2px;
}
