:root{
  --primary: #707070;
  --secondary: #d41414;
}

header {
  position: fixed;
  top: 0;
}



.cover {
  position: absolute;
}

.illiContent {
  margin: auto;
  margin-top: 10vh;
  position: relative;
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  width: 90%;
}

.contentBox {
  width: 100%;
  margin-top: 4vh;
  margin-bottom: 5vh;
}

.pageHeading {
  grid-column: 1/4;
  text-align: center;
  font-size: 3rem;
}

.spaceDivider {
  margin-bottom: 2rem;
}

.illiContainer {
  width: 99%;
  margin: auto;
}

.inhalt {
  width: 100%;
  min-height: 200px;
  margin-bottom: 1.5rem;
}

.inhalt h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.infoText p {
  text-align: center;
}

.infoText {
  width: 60%;
  margin: auto;
  margin-bottom: 4rem;
}

.imgContainer {
  width: 100%;
  overflow: hidden;
}

.vari {
  max-width: 100%;
  display: grid;
  gap: 2rem;
  padding: 0.8rem;
}

.vari img {
  border-radius: 10px;
}


.hor, .por {
  max-width: 100%;
  margin-bottom: 1.5rem;
  box-shadow: 2px 2px 10px var(--primary);
}





.row > .column {
  padding: 0 8px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.column {
  float: left;
  width: 25%;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  max-height: 100vh;
  min-height: 100vh;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.93);
  -webkit-backdrop-filter: blur(0.4rem);
  -moz-backdrop-filter: blur(0.4rem);
  backdrop-filter: blur(0.4rem);
}

.modal-content {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  margin: auto;
  padding: 0;
  max-width: 90%;
  height: 90vh;
  max-height: 90%;
}

.close {
  position: absolute;
  top: 5vh;
  right: 8vw;
  color: #f1f1f1;
  font-size: 3rem;
  font-weight: bold;
  font-family: 'Rounded_Elegance';
  src: url("../font/Rounded_Elegance.ttf");
  transition: 0.6s ease;
  text-shadow: 0 0 3px rgb(0, 0, 0);
  z-index: 1001;
}

.close:hover,
.close:focus {
  color: #d41414;
  text-decoration: none;
  cursor: pointer;
  transition: 0.6s ease;
}
 
.mySlides {
  display: none;
  margin: auto;
  align-items: center;
  justify-content: center;
}

.mySlides img {
  border: 10px solid rgb(219, 219, 219);
  border-radius: 3rem;
  max-height: 100vh;
  max-width: 90%;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 0.5rem;
  transform: translateY(-50%);
  color: rgb(255, 255, 255);
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  user-select: none;
  -webkit-user-select: none;
  z-index: 1005;
}

.prev {
  left: 0;
  border-radius: 0 5px 5px 0;
}

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

.prev:hover,
.next:hover {
  color: #d41414;
  background-color: rgba(0, 0, 0, 0.8);
}

img.hover-shadow {
  cursor: pointer;
  transition: 0.8s;
}

.hover-shadow:hover {
  opacity: 0.5;
  transition: 0.8s;
}


.modal-content, #caption {
  animation-name: fade;
  animation-duration: 1.8s;
}

@keyframes fade {
  from {opacity:0;}
  to {opacity:1;}
}




@media screen and (max-width: 31.25rem) {

  .infoText {
    width: 80%;
  }

  .vari {
    grid-template-columns: 1fr;
  }

  .vari .por {
    width: 57%;
    justify-self: center;
  }

  .mySlides img {
    border-radius: 1.5rem;
  }

}




@media screen and (min-width: 31.25rem) and (max-width: 56.25rem) {
  
  .vari {
    grid-template-columns: repeat(4, 1fr);
  }

  .vari .ho1, .vari .ho2, .vari .ho3, .vari .ho4, .vari .ho5, .vari .ho6, .vari .ho7, .vari .ho8 {
    grid-column: 1/5;
  }

  .vari .po1, .vari .po3 {
    grid-column: 1/3;
  }

  .vari .po2, .vari .po4 {
    grid-column: 3/5;
  }

  .mySlides img {
    border-radius: 2rem;
  }

}


@media screen and (min-width: 56.25rem) {

  .leaf {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .vari {
    grid-template-columns: repeat(4, 1fr);
  }

  .vari .ho1, .vari .ho3, .vari .ho5, .vari .ho7 {
    grid-column: 1/3;
  }

  .vari .ho2, .vari .ho4, .vari .ho6, .vari .ho8 {
    grid-column: 3/5;
  }

}
