:root {
  --hintergrund: #ffffff;
  --hintergrundD: #001122;
  --font: #000000;
  --fontD: #dddddd;
  --oec: #4dc187;
  --trennerC: #ffaa00;
  --trennerW: 4px;
  --trennerS: solid;

  --station1: #FF0000;
  --station2: #FF8700;
  --station3: #FFD300;
  --station4: #DEFF0A;
  --station5: #A1FF0A;
  --station6: #0AEFFF;
  --station7: #580AFF;
  --station8: #BE0AFF;
  --karte: #444444;
  --gapcolor: #44444488;
  --gapwide: 4px;
  --h-color: #888888;
  --buttonlight: #ffffff;
  --buttondark: #444444;
  --headderheigt: 120px;
  --iconwidth: 42px;
  --logowidth: 84px;
}



@media (prefers-color-scheme: light) {
  body, headder, footer, .nav li, menu {
    background: var(--hintergrund);
    color: var(--font);
  }
}

@media (prefers-color-scheme: dark) {
  body, headder, .nav li, menu {
    background: var(--hintergrundD);
    color: var(--fontD);
  }
}

body {
  font-family: 'Lato', sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}


text {
    text-align: center;
}

logo {
  margin: 8px;
  height: 100%;
  line-height: 100%;
}

headder {
  display:grid;
  grid-template-columns: 50px auto;
  width: 100vw;
  border-bottom:  var(--trennerC) var(--trennerW) var(--trennerS);
  position: sticky;
  top: 0;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--oec);
}

p {
  padding: 0 8px 0 8px;
}

content {
  width: 100vw;
  display: grid;
  grid-template-columns: 50vw 50vw;
  z-index: 1;
}

footer {
  width: 100vw;
  position: fixed;
  left: 0;
  bottom: 0;
  border-top: var(--trennerC) var(--trennerW) var(--trennerS);
  background: var(--hintergrund);
  color: var(--font);
}

spacer {
  height: 40px;
  display:inline-block;
}

stationhead {
  grid-column-start:1;
  grid-column-end:3;
}

station1 {
  background: var(--station1);
}

station2 {
  background: var(--station2);
}

station3 {
  background: var(--station3);
}

station4 {
  background: var(--station4);
}

station5 {
  background: var(--station5);
}

station6 {
  background: var(--station6);
}

station7 {
  background: var(--station7);
}

station8 {
  background: var(--station7);
}

gedichte {
  margin: 0 0 2em 0;
  display: block;
}
gedicht {
  padding: 1em;
  margin: 1em;
  border-radius: 4px;
  background: var(--gapcolor);
  display: inline-grid;
}
gedicht novel {
  display: block;
  margin: 1em 0 1em 0;
}
gedicht author {
  margin: 0 0 1em 0;
  font-style: italic;
}

#menu {
  grid-column: 1 / 3;
  position: absolute;
  top: 0;
  margin: 0;
  padding: 8px;
  height: 100vh;
  width: 200px;
  z-index: 2;
  -webkit-transition: all 1.0s ease;
  border-right: var(--trennerC) var(--trennerW) var(--trennerS);
  transition: 2s;
}

#map {
  width: 100vw;
  height: calc(100vh -  200px);
}

#menu-toggle {
  display: none;
}

#menu-toggle:checked + #menu {
  display: block;
}

#formular {
  display:grid;
  grid-template-columns: 100px 200px;
}

.station {
  height: 50vw;
  text-align: center;
  align-content: center;
  vertical-align: middle;
  display: grid;
}

.logo {
  height: 48px;
  display: inline-block;
  vertical-align: middle;
}

.logo-footer {
  height: 24px;
}

.nav {
  list-style: none;
  padding: 8px;
}
.nav li {
  padding: 8px;
  margin: 4px 0 4px 0;
  vertical-align: middle;
  text-align: center;
  border-radius: 4px;
  border: 1px solid var(--trennerC);
}
.nav a {
  text-decoration: none;
}

.nav li:hover {
  background: #ffaa00;
  transition: 0.5s;
}

.icon {
  height: 24px;
}

.abutton  {
  height: 48px;
  width: 140px;
  margin: 4px;
}

.recht {
  border: 2px solid #ff0000;
  max-width: 400px;
}


.hexagon {
  display:flex;
  --s: 25vw;  /* size  */
  --m: 4px;    /* margin */
  --f: calc(1.732 * var(--s) + 4 * var(--m)  - 1px);
}

.hexcon {
  font-size: 0; /*disable white space between inline block element */
}

.hexcon div {
  width: var(--s);
  margin: var(--m);
  height: calc(var(--s)*1.1547);
  display: inline-block;
  font-size:initial;
  clip-path: polygon(0% 25%, 0% 75%, 50% 100%, 100% 75%, 100% 25%, 50% 0%);
  background: #ffaa00;
  margin-bottom: calc(var(--m) - var(--s)*0.2885);
}
.hexcon::before {
  content: "";
  width: calc(var(--s)/2 + var(--m));
  float: left;
  height: 120%;
  shape-outside: repeating-linear-gradient(
                   #0000 0 calc(var(--f) - 3px),
                   #000  0 var(--f));
}

#hex0 {
  background: #aaa;
}
#hex6 {
  background: #aaa;
}
