/* Font */

@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  src: url('_font/AtkinsonHyperlegibleNext/AtkinsonHyperlegibleNext-Regular.woff2') format('woff2'),
       url('_font/AtkinsonHyperlegibleNext/AtkinsonHyperlegibleNext-Regular.ttf') format('ttf');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  src: url('_font/AtkinsonHyperlegibleNext/AtkinsonHyperlegibleNext-RegularItalic.woff2') format('woff2'),
       url('_font/AtkinsonHyperlegibleNext/AtkinsonHyperlegibleNext-RegularItalic.ttf') format('ttf');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  src: url('_font/AtkinsonHyperlegibleNext/AtkinsonHyperlegibleNext-Bold.woff2') format('woff2'),
       url('_font/AtkinsonHyperlegibleNext/AtkinsonHyperlegibleNext-Bold.ttf') format('ttf');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Elementi HTML */

html {
  min-height: 100%;
  margin-bottom: 1px;
  font-synthesis: none; /* evita finto bold/italic */
}

body {
  text-align: center;
  font-family: "Atkinson Hyperlegible Next", Arial, Verdana, sans-serif;
}

strong {
  color: #01b701;
}

#header h1 {
  margin-top: 0;
  margin-bottom: 0;
}

#header h2 {
  margin-top: 0;
}

#header p {
  text-align: center;
  margin: -0.8em auto 1.5em auto
}

#content .family {
  margin: 0.5em;
  font-size: 105%;
  border-bottom: 2px solid #01b701;
}

#content #info {
  width: 90%;
  margin: 1em auto;
  text-align: left;
}

#content dd {
  margin-bottom: 0.5em;
}

#content a {
  font-weight: bold;
}

#content h2 {
  margin: 1.2em 0 0 0;
}

#footer {
  margin: 0.5em;
  font-size: 105%;
  border-top: 2px solid #01b701;
}

#wrap {
  text-align: left;
}

.center {
  text-align: center;
}

.center img {
  display: block;
  margin: 1em auto;
}

#info img {
  width: 100%;
  height: 100%;
  max-width: 500px;
  max-height: 500px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: light dark;
  }

  body {
    background-color: #000;
  }

}
