/*ANCHOR - galerie*/
#kopf_container-galerie {
	display: flex;
	width: 100%;
	height: auto;
	height: 800px;
}

.bg-kopf-galerie {
	background-image: url("../grafiken/galerie/hg-kopf-galerie.webp");
	background-size: cover;
	background-repeat: no-repeat;
}

.bereich-kopf-aussen {
	display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: auto;
	padding: 120px 0 100px;
}

.bereich-kopf-innen {
  display: flex;
  gap: 20px;
  justify-content: space-between;
	align-items: center;
  flex-wrap: wrap;
  width: 80%;
	height: auto;
}

.bereich-kopf-innen-links {
	box-sizing: border-box;
	width: auto;
}

.txt-kopf-galerie {
	font-family: 'Roboto';
	font-size: 6.5em;
	font-weight: 600;
	transition: all 0.7s;
}

.animate-text-gal {
  background-image: linear-gradient(-270deg, #0876a6 20%, #3f7174 29%, #e90505 67%, #19f605 100%);
  background-size: auto auto;
  background-clip: border-box;
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gal 5.5s linear infinite;
}

@keyframes gal {
  to {
  	background-position: 200%;
  }
}

.flex-container-gal {
	width: 100%;
	padding: 5px 0;
	display:flex;
	flex-shrink : 1;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
}

.flex-item1-gal_php {
	padding: 0 0 0 20px;
	color: black;
	font-size: 1.35rem;
	font-family: 'Oswald';
}

/*ANCHOR - container für Bilder*/
.container {padding: 0 16px;}

/* Clear floats */
.container::after, .row::after {
	content: "";
	clear: both;
	display: table;
}

.flex-item1-gal {
	box-sizing:border-box; 
	flex:2;
	padding: 20px;
	min-width: 350px;
	max-width: 70%;
	height: auto;
	box-shadow: 6px 6px 10px #bbbaba;
	border-radius: 10px;
	background-color: #e8e9ec;
}

.flex-item1-gal a:hover{
	color: crimson;
	font-weight: bold;
	text-decoration: underline;
}

.flex-item1-gal ul li a {
	color: black;
	font-size: 1.5em;
	font-family: 'Oswald';
	list-style-type: disc;
}	

.flex-item2-gal {
	box-sizing:border-box; 
	padding: 20px;
	min-width: 320px;
	max-width: 50%;
	height: auto;
}

.flex-item2-gal a{
	letter-spacing: 0.1em;
	color: white;
}

.thumbnail {
	max-width: 160px;
	height: 128px;
	filter: grayscale(75%);
	cursor: url(../basis/lupe-p.png), pointer;
}

.details {
	position: fixed;
	top: 20%;
	background-color: #F1F3F4;
	border: 0.1em solid #3983ab;
	box-shadow: 10px 10px 20px rgba(37 37 37 / 0.9);
	border-radius: 0 8px 8px;
	padding: 1em 1em .2em;
	width: 35em;
	max-height: 30em;
	overflow: auto;
	display: none;
}

.details img {width: 90%}

.details:target {
	display: block;
	filter: grayscale(0%);
}

.aktuell {
	width: 100%;
	background: orange;
	padding-left: 60px;
	font-family: 'Oswald';
	font-size: 1.3em;
	letter-spacing: .1em;
	line-height: 2em;
	color: #141b2d;
}

.txt-gal-ueber {
	text-align: left;
	margin: 0 auto;
	color: #141b2d;
	font-size: 3rem;
	font-family: 'Oswald';
	font-weight: 900;
}

.quellegal {
	padding: 0 0 0 55px;
	height: auto;
	width: 100%;
	background: orange;
	font-style: italic;
	font-size: 14px;
	font-family: Oswald;
	letter-spacing: 0.1em;
	color: #42414d;
}

/** ende galerie **/

#navfarbe-gal a {
  color: var(--menue-farbe);
  text-decoration: underline 3px;
}

/*ANCHOR - @media screen*/

@media screen and (max-width: 962px) {
	.flex-container-gal {
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
	.flex-item1-gal {
		max-width: 70%;
	}
	
}

@media screen and (max-width: 762px) {
	.txt-kopf-galerie {
		font-size: 5.5rem;
	}
	.txt-gal-ueber {
		font-size: 2.5rem;
	}
}

@media screen and (max-width: 720px) {
	.container {
		margin-left: 10px;
	}
}

@media screen and (max-width:600px) {
	.txt-kopf-galerie {
		font-size: 5em;
	}
	.flex-item1-gal ul li a {
		font-size: 1.3em;
	}	
	.flex-item1-gal_php {
		font-size: 1.2em;
		letter-spacing: 0;
	}
	.txt-gal-ueber {
		text-align: left;
		padding-left: 10px;
		font-size: 2rem;
		font-family: 'Oswald';
		font-weight: 600;
	}
	.aktuell {
		padding-left: 10px;
		font-size: 1.1em;
	}
	
}

@media screen and (max-width: 462px) {
	.txt-kopf-galerie {
		font-size: 4em;
	}


}

@media screen and (max-width: 360px) {
	.container {
		margin-left: 0;
	}	
}
