.gallery {
    padding: 50px;
}
.gallery__container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
}

@media (max-width: 950px) {
    .gallery__container {
        flex-direction: column;
        align-items: center;
        height: fit-content;
      
    }
    
}

.gallery__item {
    width: 100%;
    max-width: 500px;
    transition: transform 0.5s;
}

.gallery__item:hover {
    transform: scale(1.1);
}




.Slider {
    background-color: #e6e6e6;
    padding: 70px;
}

.slideshow-container {
  position: relative;
  max-width: 1000px;
  margin: auto;
  
}

.mySlides {
  display: none;
}

img {
  vertical-align: middle;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: 0.5} 
  to {opacity: 1}
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

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

.prev:hover, .next:hover {
  background-color: rgba(136, 136, 136, 0.295);
}

.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}


.insta{
    padding-left: 5%;
   margin-bottom: 80px;
   padding-right: 5%;
}

.yt{
    margin-left: 5%;
    margin-right: 5%;
    max-width: 600px;
    width: 100%;
}

.insta {

max-width: 400px;  /* auf großen Bildschirmen nicht größer als 500px */
aspect-ratio: 9 / 16; 
 
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16 / 9; /* Standard YouTube-Verhältnis */
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width:950px) {
  .insta {
    max-width: 100%;
    aspect-ratio: 9 / 17; 
  }

  .video-container {
    max-width: 90%;
  }
}



