:root {
  --schnitt1: #ffa8b6;
  --schnitt2: #fbccc7;
  --bg-body: lightgrey;
  --bg-head: #ff758c;
  --color: #8f3645;
  --footer-color: #232323;
  --caption: #88214d;
  --bg-wrapper: #ff758c;
  --bg-section-1: white;
  --bg-section-2: white;
  --bg-table-1: var(--schnitt1);
  --bg-table-2: var(--schnitt2);
  --border: white;
  --link-primary: blue;
  --link-secondary: white;
  --color-shadow: black;
  --text-shadow: none;
}

* {
  line-height: 1.5em;
}

body {
  font-size: 12pt;
  background-color: var(--bg-body);
  margin: 0;
  font-family: 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 darkgrey;
  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: 100%;
  margin: 0 auto;
  height: auto;
  flex-shrink: 0;
}
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.1em;
}
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-shadow: var(--text-shadow);
}

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

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

figure {
  display: contents;
}

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

.quote, figcaption {
  font-style: italic;
  font-family: serif;
}

.smalltext {
  font-size: 0.8em;
}

.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 var(--color-shadow);
}
.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 picture, .col-right figure {
  width: 100%;
}

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(--footer-color);
}

h2 + p {
  margin: 0;
}

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

table {
  background-color: white;
  text-align: left;
  color: black;
  width: 100%;
}
table tr td, table tr th {
  background-color: var(--bg-table-1);
  padding: 0.25em;
}
table tr th {
  padding-right: 2em;
  width: 40%;
}
table tr:nth-of-type(even) td, table tr:nth-of-type(even) th {
  background-color: var(--bg-table-2);
}
table .quote {
  font-size: 1rem;
  text-align: left;
}

@media screen and (max-width: 600px) {
  body {
    font-size: 11pt;
  }
  .wrapper {
    box-shadow: none;
    position: relative;
    padding-bottom: 4rem;
  }
  main {
    padding-bottom: 2em;
  }
  header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  footer {
    padding-bottom: 3rem;
  }
  figcaption, .quote {
    font-size: 1rem;
  }
  .col {
    min-width: 100%;
    display: contents;
  }
  #intro {
    order: 1;
  }
  #melonenfrau {
    order: 2;
  }
  #ausschnitt {
    order: 3;
  }
  #melonenschnitten {
    order: 4;
  }
  #sahneschnitten {
    order: 5;
  }
  #melonenwoche {
    order: 6;
  }
  #abschnitt {
    order: 7;
  }
  #trivia {
    order: 8;
  }
  #durchschnitt {
    order: 9;
  }
  #stats {
    order: 10;
  }
  #oberschnitte {
    order: 11;
  }
}

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