/* The signature in block capitals: a stage as big as the window and an SVG the script fills with ink.
   Minimal: a warm white ground, one near-black ink for the capitals, one blue for the pen. */
:root {
  --ground: #f3f0e8;        /* the background */
  --ink: #141414;           /* the name in block capitals */
  --pen: #2b3ff0;           /* the signature, wet from the pen, and the line it leaves */
  --hint: #8e897e;          /* 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;
}
/* every bit of ink is a short stroked path: round ends and joins make them one line */
.palco path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* the caption under the line: the script puts it in place and lets it in, a little narrow at first */
.didascalia {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  font-family: 'Instrument Sans Variable', 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px;
  font-weight: 450;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--hint);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

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