@font-face {
  font-display: swap;
  font-family: "PT Sans";
  font-style: normal;
  font-weight: normal;
  src: url("/pt-sans-v18-latin-regular.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "PT Sans";
  font-style: normal;
  font-weight: bold;
  src: url("pt-sans-v18-latin-700.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "PT Sans Narrow";
  font-style: normal;
  font-weight: normal;
  src: url("pt-sans-narrow-v19-latin-regular.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "PT Sans Narrow";
  font-style: normal;
  font-weight: bold;
  src: url("pt-sans-narrow-v19-latin-700.woff2") format("woff2");
}

body {
  margin: 0;
  font-family: "PT Sans", sans-serif;
  font-size: 1.25rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "PT Sans Narrow", sans-serif;
  font-weight: bold;
}

a {
  color: inherit;
}

.container {
  max-width: 60rem;
  margin: 0 auto;
  padding-inline: 2rem;
}

.site-header {
  display: flex;
  justify-content: center;

  .logo {
    height: 4rem;
  }
}

.hero {
  background: url(/hero.jpg) no-repeat center / cover;
  color: #22324d;
  height: 37rem;
  font-size: 1.5rem;
  padding-top: 5rem;
  box-sizing: border-box;

  .content {
    width: max-content;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.65);
    padding: 3rem 4rem;
    box-sizing: border-box;
  }

  h1 {
    font-size: 3rem;
    margin-block: 0.5rem 0;
    line-height: 1.25;
  }
}

.section {
  padding-block: 4rem;

  h2 {
    font-size: 2.5rem;
    margin-block: 0 1.5rem;
  }
}

.teaser-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem 5%;
  margin-block: 3rem 1rem;

  .teaser {
    img {
      width: 100%;
      aspect-ratio: 16 / 9;
      object-fit: cover;
    }

    h3 {
      font-size: 1.75rem;
      margin-block: 1rem 0.5rem;
    }

    p {
      margin: 0;
    }
  }
}

.site-footer {
  background: #22314d;
  color: #fff;
  padding-block: 3rem;

  .content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
}

@media (min-width: 37.5rem) {
  .hero {
    font-size: 2rem;

    h1 {
      font-size: 4rem;
    }
  }

  .columns {
    columns: 2;

    > * {
      margin-block: 0 1rem;
    }
  }

  .teaser-grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer .content {
    flex-direction: row;
    justify-content: space-between;

    :last-child {
      text-align: right;
    }
  }
}
