/* The spirograph logo: a stage as big as the window, an SVG the script fills with the ring, the wheel, the rosette
   and the name. Minimal: a warm white ground, one ink for the lines and the name, one accent for the pen. */
:root {
  --ground: #f3f0e8;        /* the background */
  --ink: #141414;           /* the wheel, the name and the rule */
  --accent: #0f7a66;        /* the pen: the rosette */
  --hint: #9b968b;          /* the ring, its teeth and the small text */
  --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: visible;
  font-family: 'Roboto Flex Variable', 'Helvetica Neue', Arial, sans-serif;
}

.anello,
.dente {
  fill: none;
  stroke: var(--hint);
}
.ruota,
.raggio,
.foro {
  fill: none;
  stroke: var(--ink);
}
.penna {
  fill: var(--ground);
  stroke: var(--accent);
}
.traccia {
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.riga {
  fill: none;
  stroke: var(--ink);
}
.nome { fill: var(--ink); }

.nota {
  position: absolute;
  left: 0;
  right: 0;
  bottom: max(18px, env(safe-area-inset-bottom));
  margin: 0;
  font-family: 'Roboto Flex Variable', 'Helvetica Neue', sans-serif;
  font-size: 12px;
  font-weight: 420;
  letter-spacing: 0.04em;
  text-align: center;
  color: var(--hint);
  opacity: 0;
  pointer-events: none;
}
