/* Kleinakte: one stylesheet for every page. System font, system colours, sizes in rem. */

:root {
  color-scheme: light dark;
}

html {
  font-family: system-ui, sans-serif;
  line-height: 1.5;
  background: Canvas;
  color: CanvasText;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  max-width: 40rem;
  margin: 0 auto;
  /* At the largest text sizes 1rem is over 50 px; keep the side margins readable. */
  padding: 1rem min(1rem, 5vw);
  overflow-wrap: anywhere;
}

a {
  color: LinkText;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 1.5rem 0 1rem;
}

h2 {
  font-size: 1.25rem;
  line-height: 1.3;
  margin: 2rem 0 0.5rem;
}

h1,
h2 {
  -webkit-hyphens: auto;
  hyphens: auto;
}

/* Safari on iPhone and iPad: Apple's text styles, so the page follows Dynamic Type.
   Other browsers ignore these fonts. Touch only, because macOS Safari resolves
   the body style to 13 px. */
@media (pointer: coarse) {
  html {
    font: -apple-system-body;
    line-height: 1.5;
  }

  h1 {
    font: -apple-system-title1;
    font-weight: 700;
    line-height: 1.2;
  }

  h2 {
    font: -apple-system-title3;
    font-weight: 600;
    line-height: 1.3;
  }
}

.icon {
  display: block;
  width: 5rem;
  max-width: 100%;
  height: auto;
  border-radius: 22.5%;
}

.marke {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: CanvasText;
  text-decoration: none;
}

.marke .icon {
  width: 2rem;
}

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 0.0625rem solid GrayText;
}

footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
