@import url(./fonts/AtkinsonHyperlegibleNextVF-Variable/AtkinsonHyperlegibleNextVF-Variable.css);

:root {
  --top-row-height: 4rem;
  --top-row-mobile-height: 2.5rem;
  --logo-height: 7.125rem;
  --logo-margin: var(--logo-height);
  --content-max-width: 990px;
  --cd-blue-color-6: #0A4B78;
  --cd-blue-color-7: #005AA7;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  color: black;
  background-color: white;
  font-size: 100%;
  font-family: "Atkinson Hyperlegible Next", system-ui, sans-serif;
  margin: 0;
}

div#page {
  text-align: left;
  margin: auto;
  width: 100%;
  border: 0;
}

a#logo {
  background-image: url("./StN_Markenzeichen_Farbe_RGB.svg");
  background-repeat: no-repeat;
  background-position: right;
  height: var(--logo-height);
  aspect-ratio: 11 / 7.125;
  margin-right: var(--logo-margin);
  display: block;
  position: absolute;
  right: 0;
  top: 0;
}

div#header {
  font-size: 1.5rem;
  color: #ffffff;
  background-color: var(--cd-blue-color-6);
  margin-top: 4rem;
}

div#header p {
  margin: auto;
  max-width: var(--content-max-width);
  padding: 2rem 1rem;
}

div#center {
  margin: auto;
  padding: 1rem;
  font-size: 1rem;
  min-height: 3.125rem;
  max-width: var(--content-max-width);
}

div#center h1 {
  font-size: 1.125rem;
  margin: 0.625rem 0 1rem 0;
  color: var(--cd-blue-color-7);
}

div#center h2 {
  font-size: 1rem;
  margin: 0 0 0.625rem 0;
  color: var(--cd-blue-color-7);
}

div#center h3 {
  font-size: 0.875rem;
  margin: 0 0 0.375rem 0;
  color: var(--cd-blue-color-7);
}

div#center p {
  font-size: 1rem;
  margin: 0.625rem 0;
}

div#footer {
  clear: both;
  font-size: 0.75rem;
  background-color: #dcdcdc;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

div#footer p {
  width: 100%;
  max-width: var(--content-max-width);
  margin: auto;
  padding: 1rem;
}

@media only screen and (max-width: 939px) {
  div#header {
    font-size: 1.5rem;
  }

  a#logo {
    background-image: url("./StN_Markenzeichen_Avatar.svg");
    height: var(--top-row-height);
    aspect-ratio: 1 / 1;
    margin: 0;
  }

  div#center {
    padding: 1rem;
  }

  div#center h1 {
    font-size: 1.25rem;
  }

  div#center h2 {
    font-size: 1.125rem;
  }

  div#center h3 {
    font-size: 1rem;
  }
}

@media only screen and (max-width: 640px) {
  div#header {
    margin-top: var(--top-row-mobile-height);
  }
  a#logo {
    height: var(--top-row-mobile-height);
    aspect-ratio: 1 / 1;
  }
}
