@charset "utf-8";
/* CSS Document */
/* Grundlayout für SELFHTML-Beispiele */

* {
  box-sizing: border-box;
}

html {
  background: transparent !important;
  background: pink;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 1em auto;
  min-height: 600px;
  font-family: sans-serif;
  color: #333333;
  background-color: #6f8787;
  overflow-x: hidden;
}

h1,
main,
aside,
main svg {
  border-radius: 1em;
  padding: 0em;
  margin: 0em;
}

/* Subtle Borders */
article img,
.myButton,
nav a,
section,
table,
th,
td {
  box-shadow: inset 0px 0px 14px -3px #f2fadc;
  border: 1px solid #b2b8ad;
}

article img,
section img {
  float: right;
  margin-left: 1.5ch;
  max-width: 320px;
  height: auto;
}

figure {
  display: inline-block;
  width: 30%;
  margin: 0.5em;
}
figure img {
  width: 100%;
}
figure figcaption {
  font-style: italic;
}

div.gallery {
  margin: 0em;
  border: 0.1em solid #ccc;
  float: left;
  width: 320px;
}

div.gallery:hover {
  border: 0.1em solid #ffffff;
}

div.gallery img {
  width: 316px;
  height: auto;
}

div.desc {
  padding: 1em;
  text-align: left;
  font-style: italic;
  line-height: 30px;
}

.sr-only {
  display: none;
}

/* .resize-animation-stopper * {
  transition: none !important; 
  animation: none !important; 
} */

main {
  display: block; /* für IE */
  min-height: 400px;
  min-width: 600px;
  max-width: 800px;
}

aside {
  -moz-border-radius: 1em;
  border-radius: 1em;
  background-color: #afc2ae;
  /* gecko based browsers */
  background: -moz-linear-gradient(top, #afc2ae, #ffffff 120%);
  /* webkit based browsers */
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#afc2ae),
    to(#ffffff)
  );
  /* IE */
  filter: progid:DXImageTransform.Microsoft.Gradient(
                StartColorStr='#AFC2AE', EndColorStr='#FFFFFF', GradientType=0);
}

#hinweis {
  /* für Container */

  border-left: 5px solid #c32e04;
}

.hinweis {
  /* für Textzeile */
  color: #c32e04;
  font-style: italic;
  border-bottom: 1px dotted;
  display: inline-block;
}

.myButton {
  /* background:linear-gradient(to bottom, #dbe6c4 5%, #9ba892 100%); */
  background-color: #dbe6c4;
  border-radius: 6px;
  display: inline-block;
  cursor: pointer;
  font-family: Arial;
  font-size: 16px;
  color: #757d6f;
  font-weight: bold;
  padding: 6px 24px;
  text-decoration: none;
  text-shadow: 0px 1px 1px #ced9bf;
}
.myButton:hover {
  /* background:linear-gradient(to bottom, #9ba892 5%, #dbe6c4 100%); */
  background-color: #dfac20;
}
.myButton:active {
  position: relative;
  top: 1px;
}

tr:nth-child(odd) {
  background-color: #dddddd;
}
tr:first-child {
  background-color: #aaaaaa;
}

/* responsives Layout */

body {
  display: flex;
  flex-flow: row wrap;
  min-width: 400px;
  max-width: 1200px;
}

/* Mobile first - alle Dokument-Blöcke bekommen 100% Breite */
header,
nav,
nav a,
article,
section,
aside,
footer {
  border-radius: 0.8em;
  padding: 0.5em;
  margin: 0.5em;
  flex: 1 100%;
}

header {
  position: sticky;
  top: 0;
  background-color: rgba(171, 205, 238, 0.8);
  display: flex;
  flex-flow: row wrap;
  margin: 0.5em;
  margin-top: 0;
}

header img {
  flex: 0 0 150px;
  margin-right: 2em;
}

h1 {
  margin-left: 2.5rem;
}

/* the navigation pane for small screens */
.primary-navigation {
  position: fixed;
  top: -0.2rem;
  left: 0em;
  display: flex;
  flex-direction: column;
  padding: 0em 0em;
  width: 14em;
  background-color: rgba(51, 51, 51, 0.7);
  /* backdrop-filter: blur(0.3rem);  */
  transform: translateX(-100%);
  transition: 250ms;
}

.primary-navigation[data-visible="true"] {
  transform: translateX(0%);
  transition: 250ms;
}

.mobile-nav-toggle {
  display: block;
  position: absolute;
  z-index: 9999;
  background-color: transparent;
  background-image: url("../img/icons8-menu-24.png");
  background-repeat: no-repeat;
  width: 2rem;
  aspect-ratio: 1;
  top: 0.8rem;
  left: 0.5rem;
  border: 0;
}

.mobile-nav-toggle[aria-expanded="true"] {
  foreground-color: hotpink;
  background-image: url("../img/icons8-close-24.png");
}

nav li {
  list-style-type: none;
  flex: 0 0 auto;
}

nav a {
  /* navigation buttons */
  display: inline-block;
  width: 8em;
  background: #cccccc;
  font-size: large;
  margin-left: 3.5rem;
  text-decoration: none;
  text-align: center;
  text-shadow: 0px 1px 0px #ced9bf;
}
nav a:hover,
nav a:focus {
  /* hover upper navigation buttons */
  background-color: #dfac20;
}

nav a[aria-current="page"] {
  /* text colour upper navigation buttons default*/
  color: black;
  font-weight: bold;
}
section {
  background-color: #e5dfad;
  /* gecko based browsers */
  background: -moz-linear-gradient(top, #e5dfad, #ffffff 120%);
  /* webkit based browsers */
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#e5dfad),
    to(#ffffff)
  );
  /* IE */
  filter: progid:DXImageTransform.Microsoft.Gradient(
                StartColorStr='#E5DFAD', EndColorStr='#FFFFFF', GradientType=0);

  min-width: 330px;
}
#news {
  /* aside pane */
  flex: 1 1 100%;
  background-color: #afc2ae;
  /* margin-top: 8rem; */
  /* gecko based browsers */
  background: -moz-linear-gradient(top, #afc2ae, #ffffff 120%);
  /* webkit based browsers */
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#afc2ae),
    to(#ffffff)
  );
}
article {
  /* background main content pane */
  background-color: #e5dfad;
  /* gecko based browsers */
  background: -moz-linear-gradient(top, #e5dfad, #ffffff 120%);
  /* webkit based browsers */
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#e5dfad),
    to(#ffffff)
  );

  min-width: 320px;
  /* max-width: 800px; */
}

aside {
  /* background right pane */
  background-color: #b0b57b;
  /* gecko based browsers */
  background: -moz-linear-gradient(top, #b0b57b, #ffffff 120%);
  /* webkit based browsers */
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#b0b57b),
    to(#ffffff)
  );
  /* IE */
  filter: progid:DXImageTransform.Microsoft.Gradient(
                StartColorStr='#B0B57B', EndColorStr='#FFFFFF', GradientType=0);
  flex-direction: row;
  flex: 1 1 100%;
  border: 2px;
  border-color: hotpink;
}
footer {
  background: #e4ebf2;
  border-color: #8a9da8;
  display: flex;
  flex-flow: row wrap;
}
footer * {
  flex: 1 1 0%;
  justify-content: space-between;
}
footer p:last-child {
  text-align: right;
}

/* Large screens */
@media all and (min-width: 38em) {
  .mobile-nav-toggle {
    display: none;
  }

  .primary-navigation {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-flow: row wrap;
    width: 100%;
    background-color: unset;
    margin: 0em;
    transform: translateX(0%);
    transform: translateY(15%);
  }

  nav a {
    width: 95%;
    margin-left: 0rem;
    margin-bottom: 0rem;
  }

  h1 {
    margin-left: 1ch;
  }

  article {
    /* Der Article wird 2.5x so breit wie die aside! */
    flex: 4 1 0%;
    flex-direction: column;
  }

  aside {
    flex: 1 1 0%;
  }

  #news {
    flex: 1 1 0%;
    min-width: 12ch;
    /* max-width: 600px; */
  }

  article img,
  section img {
    float: right;
    margin-left: 1.5ch;
    max-width: 320px;
    height: auto;
  }

  header {
    padding: 0.23em;
  }
}

/* Terminkalender */

table,
th,
td {
  width: 100%;
  /* border: 1px solid;  */
  border-collapse: collapse;
  table-layout: fixed;
}

th,
td {
  padding: 0.5em;
}

th {
  background: #c32e04;
  color: #ffede0;
}

caption {
  caption-side: bottom;
  padding-top: 2em;
  font-style: italic;
}
