.thumb-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 30px;
  max-width: 1200px;
  margin: auto;
}

.thumbnail {
  width: 200px;
  height: 200px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 5px;
  transition: transform 0.3s;
}

.thumbnail:hover {
  transform: scale(1.05);
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 99;
  align-items: center;
}

.modal-content {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}

/* Standard-Desktop-Stile */
.nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 30px;
  z-index: 100;
}

.nav span {
  font-size: 4rem;
  color: white;
  cursor: pointer;
  user-select: none;
}

/* Schließen-Symbol */
.close {
  position: absolute;
  top: 6rem;
  right: 2rem;
  width: 40px;       /* Größe des Icons – passe bei Bedarf an */
  height: 40px;
  color: white;
  cursor: pointer;
  z-index: 101;
}

@media (max-width: 1200px) {
  .nav span {
    font-size: 5rem;
  }
  .thumbnail {
    width: 150px;
    height: 150px;
  }
    .nav {
    display: none; /* Pfeile ausblenden */
  }
  .close {
    font-size: 4rem; /* Größeres X-Symbol */
    top: 40px;
    left: 40px;
    width: 30px;       /* Größe des Icons – passe bei Bedarf an */
    height: 30px;
  }
}
