/* Style zurücksetzen
 *
 * Das macht einheitliche Darstellung auf allen Browsern wahrscheinlicher.
 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
figure,
blockquote,
pre,
dl,
dd,
ul,
ol {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: inherit;
}

p {
  font-size: inherit;
  font-weight: inherit;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
}

input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}
/* Ende Style zurücksetzen */

:root {
  --primary: #330033;
  --background-primary: #77cc77;
  --background-secondary: #99ee99;
  --background-highlight: #ffcc00;
  --highlight: #ff0000;
  --big-font: 1.5rem;
}
body {
  font-family: sans-serif;
  color: var(--primary);
  background-color: var(--background-primary);
  margin: 1rem;
}
body::before {
  content: '';
  position: fixed;
  background-image: url("img/Kraniche-oval-4a.png");
  top: calc(615px/2 + 2rem);
  left: 50%;
  transform: translate(-50%, -50%);
  width: 465px;
  height: 615px;
  background-size: contain;
  background-repeat: no-repeat;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: -1;
}
a {
  color: var(--primary);
}
a:hover, a:focus-visible {
  background-color: var(--background-primary);
}
td > table {
  text-align: center;
  background-color: var(--background-secondary);
  border-color: var(--highlight);
}
td {
  border-color: var(--highlight);
}
th {
  color: var(--highlight);
  background-color: var(--background-highlight);
  height: var(--big-font);
  font-size: var(--big-font);
}
header, footer {
  text-align: center;
}
header nav ul, footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
header nav a, footer nav a {
  background-color: var(--background-secondary);
  padding: 0.5rem;
  display: block;
}
div.table {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 1rem;
}
div.column, section {
  margin: 2pt;
  padding: 1.5pt;
  border: 1pt outset red;
  flex-basis: 25%;
  background-color: var(--background-secondary);
  display: flex;
  flex-direction: column;
  gap: 1.5pt;
}
.content {
  background-color: var(--background-secondary);
  padding: 1rem;
}
.row {
  padding: 1rem;
  border: 1pt inset red;
}
.centered {
  text-align: center;
}
p.row {
  margin: 0;
}
div.row:last-child {
  flex-grow: 1;
}
div.table h1, section h1 {
  color: var(--highlight);
  font-weight: bold;
  font-size: var(--big-font);
  background-color: var(--background-highlight);
  padding: 0.5rem 1rem;
  margin: -1rem;
}
section h1 {
  border: 1pt inset red;
  margin: 0;
}
div.welcome {
  background-color: initial;
  border: initial;
  flex-basis: 50%;
  align-self: center;
}
div.welcome h1 {
  background-color: initial;
  font-variant: small-caps;
  font-size: 2rem;
  color: #ff9900;
}
.highlight {
  color: var(--highlight);
}
.big, .news {
  font-size: var(--big-font);
  font-weight: bold;
  margin: 0;
}
.news {
  color: white;
}
.highlight-box {
  margin: 1rem 0;
  padding: 1rem;
  border: 1pt solid var(--highlight)
}
section {
  background-color: var(--background-secondary);
  max-width: 50rem;
  margin: 1em auto;
}
dt.event-title {
  font-size: var(--big-font);
  font-weight: bold;
  margin-top: 1.5pt;
  border: 1pt inset red;
  border-bottom: none;
  padding: 1rem;
  padding-bottom: 0;
}
dt.event-title:first-of-type {
  margin-top: 0;
}
dt.event-title a {
  text-decoration: none;
}
dd.event-body {
  margin: 0;
  border: 1pt inset red;
  border-top: none;
  padding: 1rem;
  padding-left: 2rem;
}
dl.event-data {
  margin: 1rem 0;
}
dl.event-data dt {
  display: inline;
}
dl.event-data dt:before {
  content: "";
  display: block;
  margin-top: 1rem;
}
dl.event-data dd {
  display: inline;
  margin: 0;
}
dl.event-data dd + dd::before {
  content: ", ";
}
ul.default li {
  margin-left: 1rem;
  list-style-type: disc;
}
.vertical-margin {
  margin: 1rem 0;
}
details {
  margin: 1rem 0;
}
dl.default dd {
  margin-left: 1rem;
}
dl.default dd:has(+ dt) {
  margin-bottom: 0.3rem;
}
dl.with-colons dt:after {
  content: ":";
}
@media (width < 50rem) {
  body {
    margin: 0 0.5rem;
  }
  div.table {
    flex-wrap: wrap;
  }
  div.column {
    flex-basis: 100%;
  };
  section h1 {
    text-align: center;
  }
}
@media (width > 50rem) {
  div.column {
    order: 3;
  }
  div.column:nth-child(2) {
    order: 1;
  }
  div.column.welcome {
    order: 2;
  }
}
