/* The Morse-keyed logo: a stage as big as the window, an SVG the script fills with a thin tape, the dots and dashes
   of the code and the letters of the logo. Minimal: a warm white ground, one ink and one accent for the pen. */
:root {
  --ground: #f3f0e8;        /* the background */
  --ink: #141414;           /* the letters and the marks of the code */
  --tape: #141414;          /* the hairline the code is keyed on */
  --accent: #e2462b;        /* the pen that keys the code */
  --hint: #9b968b;          /* 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;
}

/* the logo is set in this face, a variable one with a width and a weight axis: the script moves both */
.palco {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  font-family: 'Anybody Variable', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
}

.lettera,
.misura {
  fill: var(--ink);
  white-space: pre;
}
.segno { fill: var(--ink); }
.riga { fill: var(--tape); }
.penna { fill: var(--accent); }

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