#grossansicht  {
	width: 100%;
	height: 100%;
	min-height: 100vh;
	position: fixed;
	left: 0px;
	background-color: rgb(0, 0, 0, 0.8);
	top: 0px;
	text-align: center;
}
.mySlides {
	/* display: block; per javascript */
	text-align: center;
	justify-content: center;
}
.slide_content {
	min-height: 70vh;
	padding-top: 10vh;
	padding-bottom: 10vh;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center; /* Horizontal centering */
}
.mySlides img {
	flex: 1;  /* Ensures the content area takes up remaining space */
	max-width: 90%; 
	margin: 0 auto;
	object-fit: contain;
	background-size: 100%;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}
#grossansicht figcaption {
	color: white;
	margin-top: 5vh;
	font-size: var(--bigger);
}
/* Slideshow container */
.slideshow_grid_container {
	display: grid;
	grid-template-columns: 10% 80% 10%; /* Column widths */
	gap: 10px; /* Optional: Adds space between columns */
	width: 100%; /* Ensures the grid spans the full width of its container */
}
/* grid-items */

.kleineBilderContainer {
	background-color: white;
	width: 100%;
}


/* Next & previous buttons */
.prev, .next, .schliesskreuz {
	cursor: pointer;
	color: white;
	font-weight: bold;
	transition: 0.6s ease;
	border-radius: 0 3px 3px 0;
	width: auto;
	position: absolute;
	padding: 16px;
}

.prev, .next {
	font-size: 20px;
	top: 50%;
	margin-top: -22px;
	border-radius: 3px 0px 0px 3px;
}


/* Position the "next button" to the right */
.next {
	right: 10%;
}
.prev {
	left: 10%;
}
.schliesskreuz {
	top: 8px;
	right: 0px;
}

@media (max-width: 600px) {
	.slideshow_grid_container {
	  grid-template-columns: 1fr; /* Stacks columns vertically */
	}
  }

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover, .schliesskreuz:hover {
	background-color: rgb(0, 0, 0, 0.5);
}
