:root {
  --bg-body: #b03e36;
  --bg-head: #fefefe;
  --color: #fefefe;
  --caption: #fefefe;
  --bg-wrapper: #fefefe;
  --canada: #d52b1e;
  --bg-section-1: #ae4b43;
  --bg-section-2: #b03e36;
  --bg-table-1: #ae4b43;
  --bg-table-2: #b03e36;
  --border: grey;
  --link-primary: #29cc8d;
  --link-secondary: var(--bg-section-2);
  --link-footer: #066842 ;
}

* {
  line-height: 1.5em;
}

body {
  font-size: 12pt;
  background-color: var(--bg-body);
  margin: 0;
  font-family: Verdana, Helvetica, Arial, sans-serif;
  font-weight: normal;
  text-align: justify;
  hyphens: auto;
  color: var(--color);
}

div {
  box-sizing: border-box;
}

.wrapper {
  margin: 0 auto;
  max-width: 1200px;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background-color: var(--bg-wrapper);
  box-shadow: 0 0 25px black;
  position: relative;
  min-height: 100vh;
  height: 100%;
  flex-direction: column;
}

a, a:link, a:visited {
  color: var(--link-primary);
  text-decoration: underline;
  padding-left: 0.125em;
  padding-right: 0.125em;
}
a:hover {
  color: var(--link-secondary);
  background-color: var(--link-primary);
}

header {
  text-align: center;
  background: var(--bg-head);
  max-height: 90px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
header img {
  max-width: calc(100% - 20px);
  margin: auto;
  height: auto;
  flex-shrink: 0;
  width: 385px;
  filter: drop-shadow(1px 1px 0px black) drop-shadow(0px 0px 20px #cccccc);
}
header .vorort-liste {
  position: absolute;
  background: hsla(207, 90%, 54%, 0.73);
  border-radius: 0 105px 100px 0;
  overflow: hidden;
  z-index: 10;
  top: calc(50% - 1em);
}
header .vorort-liste a, header .vorort-liste a:link, header .vorort-liste a:visited {
  color: white;
  text-decoration: none;
  display: block;
  padding: 0.1em 0.5em 0.1em 0.25em;
}
header .vorort-liste a:hover {
  background-color: white;
  color: #2196f3;
}

caption,
h1,
h2,
h3,
h4 {
  margin-top: 0;
  margin-bottom: 0.25em;
  color: var(--caption);
  text-align: center;
}

h1 {
  margin: 0;
  text-align: center;
}

h2 {
  font-size: 1.25em;
}

main {
  flex-wrap: wrap;
  display: flex;
  margin: auto;
  padding: 0.25em 0.25em 2em;
  flex: 2;
  min-height: calc(100vh - 90px - 2em);
}

.col {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.col h1,
.col section {
  padding: 0.5em;
  background-color: var(--bg-section-1);
  margin: 0.25em;
  flex-grow: 1;
  min-height: 1px;
}
.col section {
  box-shadow: 0 0 2px -1px black;
  border-radius: 2px;
}
.col section:nth-of-type(odd) {
  background-color: var(--bg-section-2);
}
@media screen and (max-width: 600px) {
  .col section {
    padding: 12px;
  }
}
.col .flex-text,
.col section:last-of-type {
  flex-grow: 3 !important;
}

.row-bottom section:nth-of-type(odd) {
  background-color: var(--bg-section-1);
}
.row-bottom section:nth-of-type(even) {
  background-color: var(--bg-section-2);
}

.col-left {
  flex: 3;
}
.col-left section {
  padding-bottom: 1.5em;
}

.col-right {
  flex: 2;
  max-width: 400px;
}
.col-right img, .col-right .flag {
  border: 3px solid #fff7e5;
  display: block;
  box-shadow: 0 0 10px -5px black;
  border-radius: 5px;
  box-sizing: border-box;
}
.col-right img, .col-right picture, .col-right figure, .col-right .flag {
  width: 100%;
}
.col-right .flag {
  margin: 0 auto;
}

figcaption {
  margin-top: 0.25em;
  text-align: center;
  font-size: 0.8em;
  display: inline-block;
  width: 100%;
}

.quote, figcaption {
  font-style: italic;
  font-family: serif;
  color: var(--color);
}

figure:not(.karl) {
  display: contents;
}

.flag {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 2/1.2;
  background: url("kanada.svg") no-repeat center/cover;
  filter: drop-shadow(0px 0px 6px #61211e);
}

.smalltext, .footnote {
  font-size: 0.8em;
}

.brian {
  background-color: var(--border);
  border-radius: 50%;
  width: 150px;
  max-width: 100%;
  height: auto;
  min-height: 150px;
  aspect-ratio: 1;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: var(--grey);
  font-size: 0.8em;
}

sup {
  font-size: 0.7em;
}

#erdbeerwoche {
  display: flex;
  flex-direction: column;
}
#erdbeerwoche .footnote {
  margin-top: auto;
  color: hsl(from var(--color) h s calc(l + 5));
  padding-top: 2em;
}
@media screen and (max-width: 759px) {
  #erdbeerwoche .footnote {
    padding-top: 1em;
  }
}

footer {
  text-align: center;
  font-size: 0.8em;
  padding-bottom: 0.25em;
  position: absolute;
  background-color: var(--bg-head);
  bottom: 0;
  width: 100%;
  color: var(--canada);
}
footer a, footer a:link, footer a:visited {
  color: var(--link-footer);
}

h2 + p {
  margin: 0;
}

h3 + p {
  margin-top: 0.25em;
}

table {
  background-color: white;
  text-align: left;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.9em;
  width: 100%;
}
table tr td, table tr th {
  background-color: var(--bg-table-1);
  padding: 0.25em;
}
table tr th {
  padding-right: 2em;
  width: 38%;
}
table tr:nth-of-type(even) td, table tr:nth-of-type(even) th {
  background-color: var(--bg-table-2);
}

@media screen and (max-width: 570px) {
  body {
    font-size: 11pt;
  }
  .wrapper {
    box-shadow: none;
    position: relative;
    padding-bottom: 4rem;
    min-height: 100vh;
  }
  header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  header img {
    max-height: 45px;
    width: auto;
  }
  footer {
    padding-bottom: 3rem;
  }
  .quote, figcaption {
    font-size: 1rem;
  }
  .col {
    min-width: 100%;
    display: contents;
  }
  #intro {
    order: 1;
  }
  #wald {
    order: 2;
    background-color: var(--bg-section-1);
  }
  #erdbeerwoche {
    order: 3;
  }
  #wahlen {
    order: 4;
  }
  #brian {
    order: 5;
    background-color: var(--bg-section-2);
  }
  #stats {
    order: 6;
  }
  #erdbeerflagge {
    order: 7;
  }
}

/*# sourceMappingURL=kanada.css.map */
