/* Source Sans 3 lokal eingebunden */
@font-face {
  font-family: 'Source Sans 3';
  src: url('../fonts/SourceSans3-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('../fonts/SourceSans3-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Source Sans 3';
  src: url('../fonts/SourceSans3-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('../fonts/SourceSans3-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Source Sans 3', sans-serif;
  height: 100%;
}

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

header {
  background-color: #9bc34b;
  padding: 0.5% 10%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.mlulogo {
  text-align: right;
}
.mlulogo img {
  width: 85%;
}

header h1 {
  font-weight: 300;
  color: white;
}

main{
  flex: 1 0 auto;
}

main>div{
  margin: auto;
  display: flex;
}

main p {
  margin: 1em 0 0.5em 0;
  line-height: 1.5em;
  font-size: 1.3em;
}

main h1{
  color: #008aa3;
  text-transform: uppercase;
  margin: 0.5em 0 0.5em 0;
  font-weight: 600;
}

h2 {
  color: black;
  margin: 0em 0 0.5em 0;
}

img {
  max-width: 100%;
  max-height: 400px;
}

.hidelarge {
  display: none;
}

.hidesmall {
  display:block;
}
.hidesmall.d-inline {
  display: inline;
}

.tipp:before {
  content: "❗ ";
  color: #d61b7f;
  font-size: 1.2em;
  font-weight: bold;
}
.tipp {
  text-indent: -1.75em;
  margin-left: 1.25em;
}

.bigger {
  font-size: 1.6em;
  line-height: 1.75em;
}

.question {
  font-size: 1.75em;
  color: #008aa3;
}

.answer {
  margin-left: 2em;
}

.yes {
  color: #9bc34b;
  font-weight: bold;
}

.no {
  color: #d61b7f;
  font-weight: bold;
}

.btn {
  font-weight: bold;
  padding: 0.25em;
  margin: 0 0.25em;
  border: 1px solid black;
  border-radius: 17px;
  white-space: nowrap;
  font-size: 0.9em;
}

.btn.square {
  border-radius: 5px;
  padding: 0.25em 0.5em;
}

.btn.red {
  background-color: #e97584;
  color: black;
}

.btn.wide {
  padding: 0.25em 2em;
}

.btn.filled {
  background-color: #d1d1d1;
  color: black;
}

.withbtn {
  line-height: 2em; 
}

.slideshow {
  padding: 0 10vw;
  width: 100%
}

.slide {
  display: none;
}
.slide-row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
  justify-content: space-between;
  align-items: flex-start;
}

 .border{
  border-bottom: 1px solid gray;
  padding-bottom: 2em;
} 

.contentblock {
  margin: 1.5em 0;
}


.prev, .next {
  cursor: pointer;
  position: absolute;
  position: fixed;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: rgba(155,195,75,0.5);
  font-weight: bold;
  font-size: 2.75em;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(4,4,4,0.1);
}

.prev:hover, .next:hover {
  background-color: rgba(190,190,190,0.8);
  color: rgba(155,195,75,1);
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.half {
  flex-basis: 50vw;
  flex-grow: 2;
}

.half img {
  margin-left: 0.5em;
}

 #sect-3 .half, #sect-2 .half {
  flex-basis: 30vw;
  flex-grow: 2;
}

#sect-5 h1 {
  color: #d61b7f;
}

ul {
  font-size: 1.3em;
}

.bullets {
  margin-left: 2em;
  list-style-type: disc;
}

/* Thumbs up as bullet points*/
.thumbs {
  list-style: none;
  padding: 0;
  line-height: 2em;
  margin-left: 1.25em;
}

.thumbs li {
  text-indent: -3em;
}

.thumbs li:before{
  content: '\1F44D';
  margin: 0 0.4em 0 2em;
  color: #9bc34b;
  font-weight: bold;
}

footer {
  width: 100%;
  background-color: #008aa3;
  padding: 0.5em 1em;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5% 10%;
  color: white;
}

.footer-img {
  flex-basis: 25%;
}

.footer-info {
  font-size: 1.1em;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
  align-items: center;
}

a, a:link, a:active {
  color: white;
}
.contentblock a {
  color: #008aa3;
  text-decoration: underline;
}

#lightbox-overlay {
  position: fixed;
  z-index: 9999;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}
#lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: 0 0 20px #000;
  border-radius: 8px;
}
#lightbox-close {
  position: absolute;
  top: 2vw;
  right: 3vw;
  color: #fff;
  font-size: 3em;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  text-shadow: 0 0 10px #000;
}

@media (max-width: 800px) {
  header {
    flex-direction: column-reverse;
  }
  header div img {
    max-width: 50%;
  }
  header h1 {
    font-size: 1.8em;
  }
  .mlulogo {
    text-align: center;
  }
  .footer-info {
    font-size: 0.9em;
  }
  .footer-img {
    flex-basis: 30%;
  }
  .hidelarge {
    display: none;
  }
  .hidesmall {
    display:block;
  }
  .hidesmall.d-inline {
    display: inline;
  }
    .slide-row {
    flex-direction: column;
    align-items: stretch;
  }
  .half {
    flex-basis: 100% !important;
    max-width: 100%;
  }
  .contentblock img,
  .contentblock.half img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  .prev, .next {
    font-size: 1.5em;
  }

  main p {
  margin: 1em 0 0.5em 0;
  line-height: 1.75em;
  font-size: 1.2em;
}
ul {
  font-size: 1.2em;
}
}

@media (max-width: 566px) {

  header {
    flex-direction: column-reverse;
  }
  header div img {
    max-width: 75%;
  }
  header h1{
    font-size: 1.4em;
  }

  .slideshow {
    padding: 1em 3em;
  }
  .footer-grid {
    flex-direction: column;
  }
  .footer-img {
    flex-basis: 100%;
  }
  .footer-info {
    font-size: 0.85em;
  }
  .hidesmall {
    display:none !important;
  }
  .hidelarge {
    display: block;
  }
}

