/* The ripple logo: a still, warm white page like the surface of a pond, a single vermilion drop and the thin rings
   it sends out; the name comes up where the rings pass. */
:root {
  --ground: #f3f0e8;        /* the page: the still water */
  --ink: #141414;           /* the name and the rings */
  --accent: #e2462b;        /* the drop, which stays as the dot of the i */
  --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: 'Fraunces Variable', Georgia, 'Times New Roman', serif;
}

.lettera {
  fill: var(--ink);
  text-anchor: middle;
}
.anello {
  fill: none;
  stroke: var(--ink);
}
.goccia { fill: var(--accent); }

/* the replay button: small, quiet, it shows up when the water is still again */
.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: 'Fraunces Variable', Georgia, serif;
  font-size: 13px;
  font-weight: 450;
  letter-spacing: 0.04em;
  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;
}
