h2,h3 {
    text-align: center;
    margin-top: 1.5vh;
}

section {
    width: 90%;
    margin: auto;
}

.expanded {
    display: none;
    margin-top: 2%;
}

.default {
    margin-top: 2vh;
    justify-content: center;
}

.default img{
    display: block;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
}

.jahre {
    display: flex;
    justify-content: space-around;
}

.anordnung {
    margin: 0;
    list-style: none;
    -ms-box-orient: horizontal;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -moz-flex;
    display: -webkit-flex;
    display: flex;
    flex-wrap:wrap;
}

.demoparent {
  min-width: 2.5%;
  max-width: 5%;
  min-height: 2.5%;
  max-height: 5%;
}

img {
    vertical-align: middle;
  }
  
  /* Position the image container (needed to position the left and right arrows) */
  .container {
    position: relative;
  }
  
  /* Hide the images by default */
  .mySlides {
    display: none;
    position: relative;
  }
  
  /* Add a pointer when hovering over the thumbnail images */
  .cursor {
    cursor: pointer;
  }
  
  /* Next & previous buttons */
  .prev,
  .next {
    cursor: pointer;
    position: absolute;
    bottom: 20%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    z-index: 10;
  }
  
  /* Position the "next button" to the right */
  .next {
    right: 5%;
    border-radius: 3px 0 0 3px;
  }
  
  /* On hover, add a black background color with a little bit see-through */
  .prev:hover,
  .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  /* Number text (1/3 etc) */
  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
  }
  
  /* Add a transparency effect for thumnbail images */
  .demo {
    opacity: 0.4;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .expand:hover {
    text-decoration: underline;
    cursor: pointer;
    font-weight: 800;
  }
  
  .active,
  .demo:hover {
    opacity: 1;
  }

  .full {
    max-width: 90vw;
    width: auto;
    max-height: 100vh;
    object-fit: cover;
  }

  @media screen and (max-width: 992px) {
    .jahre {
      align-items: center;
      flex-flow: row wrap;
      row-gap: 5vh;
    }

    .expand {
        width: 10vw;
    }

    .demoparent {
      min-width: 10%;
      max-width: 12.5%;
      min-height: 10%;
      max-height: 12.5%;
    }

    .prev, .next {
      background-color: rgba(0, 0, 0, 0.8);
      font-size: 10px;
      padding: 10px;
      position: absolute;
    }
}