* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
}

html {
  font-family: serif;
  font-size: 100%;
}
@media screen and (min-width: 768px) {
  html {
    font-size: 120%;
  }
}

body {
  background-color: white;
  color: #0e0e0e;
  display: flex;
  flex-direction: column;
}

header {
  padding: 1rem 1.5rem;
}
.logo {
  width: 8.5rem;
}

main {
  padding: 1rem 1.5rem 2rem 4.5rem;
}
main.frontpage {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}

h1 {
  font-size: 1rem;
  word-spacing: -0.15ch;
  font-family: sans-serif;
}

h2 {
  font-size: 1.2rem;
  font-family: sans-serif;
  margin: 0;
}

h3 {
  font-size: 1rem;
  font-family: sans-serif;
}

p {
  margin: 0;
}

.big {
  font-size: 1.2rem;
}

a {
  color: inherit;
  text-underline-offset: 2px;
  text-decoration-thickness: 0.75px;
}

u {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 0.75px;
}

section.attivita {
  flex: 1;
  padding: 0 0 3rem;
  display: flex;
  align-items: center;
  ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
  }
  .img {
    width: 16em;
    height: 20em;
    margin: 0 0 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  h2 {
    font-size: 1rem;
    margin: 0;
  }
  a {
    text-decoration: none;
  }
}
