:root {
  --bg-body: #f4f6f9; /* Cool grey-blue background */
  --bg-head: #1b3b6f;
  --color: #1c2d42; /* Dark maritime navy for maximum text legibility */
  --footer-color: #7a828b;
  --caption: #065a82; /* Rich ocean blue for headings */
  --bg-wrapper: #6a8caf; /* A solid, mid-tone maritime blue for the gap */
  --bg-section1: #fafaff;
  --bg-section2: #f0f4f8; /* Very pale blue-grey for alternating sections */
  --bg-table1: #bde0fe; /* Light sky/water blue */
  --bg-table2: #edf6f9; /* Soft neutral seafoam */
  --border: #1b3b6f; /* Maritime navy border */
  --color-shadow: var(--border);
  --link-primary: #a31d42; /* Brightened Claret Red for links */
  --link-secondary: #fafaff;
  --text-shadow: 1px 1px white;
}

* {
  line-height: 1.5em;
}

html, body, main, header, footer, section, div, p, .wrapper {
  box-sizing: border-box;
}

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

.wrapper {
  margin: 0 auto;
  max-width: 1000px;
  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;
  display: flex;
  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: 70px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
header img {
  max-width: 100%;
  margin: 0 auto;
  height: auto;
  flex-shrink: 0;
  position: relative;
  bottom: -10px;
}
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;
  color: var(--bg-body);
  text-shadow: none;
  display: none;
}

main {
  display: flex;
  flex-wrap: wrap;
  margin: auto;
  padding: 0.25rem 0.25rem 2rem;
  flex: 2;
}

.col {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.col-left {
  flex: 3;
}

.col-right {
  flex: 1;
  max-width: calc(380px + 2.5rem);
}

section {
  padding: 1rem;
  background-color: var(--bg-section1);
  box-shadow: 0 0 2px var(--color-shadow);
  margin: 0.25em;
  flex-grow: 0; /* Default: do not grow */
}
section:last-of-type {
  flex-grow: 1;
}
section p {
  text-align: justify;
  hyphens: auto;
}
section img {
  max-width: stretch;
}

figure {
  display: contents;
}

figcaption {
  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;
}

/* Alternating colors logic */
.col-left section:nth-of-type(odd) {
  background-color: var(--bg-section2);
}

.col-right section:nth-of-type(even) {
  background-color: var(--bg-section2);
}

/* Specific stretch logic */
#stats {
  flex-grow: 1; /* This one stretches to fill remaining space in left column */
}

.quote {
  margin-top: 0.25em;
  text-align: center;
  font-size: 0.8em;
  font-style: italic;
  font-family: serif;
  display: inline-block;
  width: 100%;
}

table .quote {
  font-size: 1em;
  text-align: left;
}

footer {
  text-align: center;
  font-size: 0.8em;
  padding: 0.8em;
  background-color: var(--bg-head);
  width: 100%;
  color: var(--footer-color);
  box-sizing: border-box;
  margin-top: auto;
}
footer a:link, footer a {
  color: var(--link-secondary);
}
footer a:hover {
  color: var(--link-primary);
  background-color: var(--link-secondary);
}

h2 + p {
  margin: 0;
}

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

table {
  background-color: white;
  text-align: left;
  color: black;
}
table tr td {
  background-color: var(--bg-table1);
  padding: 0.25em;
}
table tr td:first-of-type {
  padding-right: 2em;
  width: 33%;
  font-weight: bold;
}
table tr:nth-of-type(even) td {
  background-color: var(--bg-table2);
}

/* Responsive Layout */
@media screen and (min-width: 761px) {
  .col-right {
    min-width: calc(380px + 2.5rem);
  }
}
@media screen and (max-width: 760px) {
  .wrapper {
    box-shadow: none;
    height: auto;
    min-height: 100vh;
  }
  header {
    max-height: 45px;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  header img {
    max-height: 70px;
  }
  footer {
    padding-bottom: 2rem;
  }
  caption, h1, h2, h3, h4 {
    font-size: 1.2em;
  }
  main {
    display: flex;
    flex-direction: column;
    padding-bottom: 2em;
    height: auto;
    min-height: min-content;
    align-items: center;
  }
  .col {
    display: contents; /* Unwrap the columns so children become direct flex items of main */
    width: 100%;
  }
  .col-right {
    max-width: none;
  }
  .quote {
    font-size: 1rem;
  }
  /* Mobile Order and Stacked Layout */
  #intro {
    order: 1;
    background-color: var(--bg-section1);
  }
  #promenade {
    order: 2;
    background-color: var(--bg-section2);
  }
  #promenade-text {
    order: 3;
    background-color: var(--bg-section1);
  }
  #etab {
    order: 4;
    background-color: var(--bg-section2);
  }
  #history {
    order: 5;
    background-color: var(--bg-section1);
  }
  #diving {
    order: 6;
    background-color: var(--bg-section2);
  }
  #stats {
    order: 7;
    background-color: var(--bg-section1);
  }
  #amelie {
    order: 8;
    background-color: var(--bg-section2);
  }
  #monique {
    order: 9;
    background-color: var(--bg-section1);
  }
  main img,
  .lightbox img,
  section img {
    margin: 0 auto;
    width: 100%;
    height: auto;
    display: block;
  }
  section {
    width: calc(100% - 0.5em);
    box-sizing: border-box;
    height: auto;
    min-height: min-content;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
  }
  #stats {
    flex-grow: 0;
  }
  .lightbox {
    display: block;
    width: 100%;
    height: auto;
  }
}
@media screen and (max-width: 500px) {
  body {
    font-size: 11pt;
  }
  main {
    padding: 0;
    width: 100%;
  }
  section {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}
@media screen and (max-width: 380px) {
  .quote {
    font-size: 0.8rem;
  }
}

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