@font-face {
  font-family: "Six Caps";
  src: url("../fonts/six-caps-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Roboto Mono";
  src: url("../fonts/roboto-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--colore-sfondo);
  color: var(--colore-testo);
  font-family: var(--font-testi);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: clip;
}

.hero {
  max-width: var(--larghezza-pagina);
  margin: 0 auto;
  padding: var(--spazio-5) var(--margine-laterale);
}

.hero__titolo {
  margin: 0;
  font-family: var(--font-titoli);
  font-weight: 400;
  font-size: clamp(6rem, 17vw, 17rem);
  line-height: 0.85;
}

.hero__riga {
  display: block;
}

.hero__presentazione {
  font-size: 0.4em;
  margin-bottom: var(--spazio-1);
}

.hero__viola {
  color: var(--colore-viola);
}

.hero__linea {
  display: inline-block;
  width: 0.9em;
  height: 0.06em;
  margin-left: 0.15em;
  vertical-align: middle;
  background: var(--colore-corallo);
}

.titolo-contorno {
  margin: 0;
  font-family: var(--font-testi);
  font-weight: 400;
  font-size: clamp(1.5rem, 8vw, 8rem);
  line-height: 1;
  letter-spacing: 0.35em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--colore-corallo);
}

.solo-lettori {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.bottone {
  display: inline-block;
  padding: var(--spazio-2) var(--spazio-3);
  border-radius: var(--raggio);
  background: var(--colore-viola);
  color: var(--colore-bianco);
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .bottone {
    transition: border-radius 0.6s var(--molla), transform 0.5s var(--molla);
  }

  .bottone:hover,
  .bottone:focus-visible {
    border-radius: 2rem;
    transform: scale(1.05);
  }
}

.bottone:focus-visible {
  outline: 2px solid var(--colore-viola);
  outline-offset: 4px;
}

.titolo-doppio {
  position: relative;
  isolation: isolate;
  display: inline-block;
  margin: 0;
  font-family: var(--font-titoli);
  font-weight: 400;
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 2px var(--colore-viola);
}

.titolo-doppio::before {
  content: attr(data-testo) / "";
  position: absolute;
  top: 0.04em;
  left: 0.04em;
  z-index: -1;
  white-space: nowrap;
  color: var(--colore-corallo);
  -webkit-text-stroke: 0;
}
