
/* slider */

#gallery {
	position: relative;
	display: block;
	margin: 0;
	height: 800px;
	/* background: black; */
	/* border: none; */
}

#gallery figure {
	position: absolute;
	display: inline-block;
	top: 0;
	left: 0;
	-webkit-animation: wechseln 30s infinite;
	animation: wechseln 30s infinite;
}

#gallery figure:last-of-type {
	position: relative;
}

/* #gallery > figure figcaption { */
	/* position: absolute; */
	/* left: 1em; */
	/* font-size: 2em; */
	/* font-weight: bold; */
	/* bottom: 0.5em; */
	/* z-index: 2; */
	/* color: white; */
/* } */
@-webkit-keyframes wechseln {
		0% {
		opacity: 0;
		z-index: 2;
	}
	10% {
		opacity: 1;
		z-index: 2;
	}
	16% {
		opacity: 1;
		z-index: 2;
	}
	26% {
		opacity: 0;
		z-index: 2;
	}
	27% {
		opacity: 0;
		z-index: 1;
	}
	100% {
		opacity: 0;
		z-index: 1;
	}
}
@keyframes wechseln {
	0% {
		opacity: 0;
		z-index: 2;
	}
	10% {
		opacity: 1;
		z-index: 2;
	}
	16% {
		opacity: 1;
		z-index: 2;
	}
	26% {
		opacity: 0;
		z-index: 2;
	}
	27% {
		opacity: 0;
		z-index: 1;
	}
	100% {
		opacity: 0;
		z-index: 1;
	}
}

	#gallery figure:nth-of-type(2) {
		animation-delay: 5s;
		opacity: 0;
	}
	#gallery figure:nth-of-type(3) {
		animation-delay: 10s;
		opacity: 0;
	}
	#gallery figure:nth-of-type(4) {
		animation-delay: 15s;
		opacity: 0;
	}
	#gallery figure:nth-of-type(5) {
		animation-delay: 20s;
		opacity: 0;
	}
	#gallery figure:nth-of-type(6) {
		animation-delay: 25s;
		opacity: 0;
	}
