/* ═══ reset minimo ═══════════════════════════════════════════════════ */

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

* { margin: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg, video, canvas {
  display: block;
  max-width: 100%;
}

img { height: auto; }

input, button, textarea, select { font: inherit; color: inherit; }

button { background: none; border: 0; cursor: pointer; }

p, h1, h2, h3, h4 { overflow-wrap: break-word; }

h1, h2, h3, h4 { font-size: inherit; font-weight: inherit; }

ul, ol { list-style: none; padding: 0; }

a { color: inherit; text-decoration: none; }

address { font-style: normal; }

dl, dd { margin: 0; }

/* L'attributo hidden deve vincere sempre: qualunque regola che imposti display
   su un elemento lo renderebbe altrimenti visibile pur essendo hidden. */
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--lime, #c0ff36);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
