@font-face {
  font-family: 'Open Sans Variable';
  font-style: normal;
  font-weight: 300 800;
  src: url(/styles/open-sans.woff2) format('woff2-variations');
}

:root {
  color-scheme: light dark;
  font-family: 'Open Sans Variable', -apple-system, BlinkMacSystemFont,
    avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu,
    roboto, noto, arial, sans-serif;
  letter-spacing: -0.03em;

  hyphens: auto;

  --font-heading: 30px;
  --font-large: 24px;
  --font-medium: 18px;
  --primary-color: #ca0218;
  --gradient-start: hsl(353 98% 20% / 1);
  --gradient-end: hsl(353 48% 50% / 1);
  --accent: #facb03;
  --muted: rgb(89, 89, 89);
  --primary-muted: hsl(353deg 100% 90%);
  --container-padding: 1.5rem;
}

.only-dark {
  display: none;
}

.only-light {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root {
    --muted: rgb(185, 185, 185);
    background: black;
    --primary-color: #ff213a;
  }

  .only-light {
    display: none;
  }

  .only-dark {
    display: block;
  }
}

a {
  color: inherit;
}

body {
  padding-bottom: 5rem;
}

.container {
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

svg {
  height: 1em;
  margin-top: 1px;
}

main {
  max-width: 1000px;
  padding: 10px;
  margin: 0 auto;
  font-size: var(--font-medium);
}

p {
  margin-bottom: 20px;
  line-height: 1.7;
  text-wrap: pretty;
  text-align: justify;
  hyphens: auto;
}

h1 {
  color: var(--primary-color);
  font-size: var(--font-heading);
  font-weight: normal;
}

h2 {
  font-size: var(--font-medium);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.deco {
  float: right;
  width: min(250px, 30vw);
  height: auto;
}

.termine {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact {
  margin-top: 4rem;
}

.empty {
  font-weight: 700;
  margin-top: 3rem;
}

.rotation {
  transform: rotate(-2deg);
  margin-bottom: 4rem;
}

footer,
header {
  display: flex;
  justify-content: center;
}

header {
  margin: 2rem;
}

footer {
  margin-top: 3rem;
  color: var(--muted);
}

.ffa-logo {
  display: block;
}

.ffa-logo img {
  max-width: 250px;
  height: auto;
}

.termin.highlighted {
  display: flex;
  flex-direction: column;
  gap: 5px;

  border-radius: 10px;
  color: white;
  background: linear-gradient(
    45deg,
    var(--gradient-start) 20%,
    var(--gradient-end)
  );
  padding: var(--container-padding);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.termin.regular {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.data-with-icons {
  display: grid;
  grid-template-columns: min-content auto;
  align-items: center;
  margin-top: 2px;

  row-gap: 4px;
  column-gap: 5px;
}

.note {
  line-height: 1.5;
  margin-top: 0.5rem;
}

.note.highlighted {
  margin-top: 2rem;
}

.date {
  font-weight: 700;
  font-size: var(--font-large);
}

.date.regular {
  color: var(--primary-color);
}

.data-with-icons.highlighted {
  color: var(--primary-muted);
}

.data-with-icons.regular {
  color: var(--muted);
}

.icon.regular {
  color: var(--primary-color);
  /*color: blue; */
}

a {
  text-underline-offset: 5px;
}

a:hover {
  color: var(--primary-color);
}

.highlighted a:hover {
  color: white;
}

.backlink {
  margin: 3rem 0 5rem;
  display: block;
}

.seminar img {
  max-width: 100%;
}

.seminar hr {
  border: none;
  border-bottom: 1px solid rgba(128 128 128 / 50%);
  margin: 3rem 0;
}

.sr-only {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  user-select: none;
}
