/* css/reset.css
   Azzera i comportamenti predefiniti dei browser
   Va importato PRIMA di tutti gli altri CSS */

*, *::before, *::after {
  box-sizing: border-box;  /* padding e border inclusi nella larghezza */
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased; /* testo più nitido su Mac */
}

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

input, button, textarea, select {
  font: inherit; /* ereditano il font del body invece di usare il default del browser */
}

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

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

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

ul, ol {
  list-style: none;
}
