/*----------0.0 Variables----------*/

/*----------1.0 Fonts----------*/
@font-face {
	font-family: WorkSans;
	font-style: normal;
	src: url(../fonts/WorkSans-Light.ttf);
}

@font-face {
	font-family: WorkSans;
	font-style: italic;
	src: url(../fonts/WorkSans-LightItalic.ttf);
}
:root {
	font-size: 16px;
}
body {
	font-family: WorkSans, sans-serif;
}
article ul,
article ol {
	list-style: "– " outside;
}
em {
	font-style: italic;
	font-size: smaller;
}
* {
	line-height: 1.35;
}
/*----------2.0 Layout----------*/
body {
	padding: 0rem;
	background-color: rgb(242, 240, 238);
}
main {
	background-color: rgb(242, 240, 238);
	display: block;
	padding-top: 7rem;
	padding-left: 12rem;
	padding-right: 2rem;
	padding-bottom: 10rem;
}
main.galerie {
	padding-top: 9rem;
	padding-bottom: 10rem;
	padding-left: 2rem;
	padding-right: 2rem;
}
#oben {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	/*mix-blend-mode: difference;*/
	color: black;
}
#oben h1,
#oben button {
	padding: 2rem 2rem;
	color: black;
}
#einzelansicht {
	display: none;
	flex-direction: row;
	background: rgb(242, 240, 238);
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
}
#bild {
	height: 100vh;
	max-width: 70vw;
	object-fit: contain;
	pointer-events: none;
}
#information {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-end;
	width: 100%;
}
#beschreibung {
	margin: 2rem;
	margin-bottom: 9rem;
	max-width: 20rem;
	align-self: flex-start;
	text-align: left;
}
#knöpfe {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	position: fixed;
	bottom: 0px;
	background-color: rgb(242, 240, 238);
}
#knöpfe p {
	display: block;
	padding: 1rem 0;
	text-align: center;
}
button {
	display: block;
	background: none;
	padding: 1rem;
	width: 5rem;
	cursor: pointer;
	color: black;
}
button {
	background: none;
	padding: 1rem;
	width: 40vw;
	color: black;
}

#oben button {
	width: unset;
}

#beschreibung {
	margin: 1rem;
	margin-bottom: 10rem;
	align-self: unset;
	justify-self: flex-start;
	text-align: center;
}

#knöpfe p {
	display: block;
	padding: 1rem 0;
	width: 20vw;
	text-align: center;
}

#einzelansicht {
	flex-direction: column;
	padding: 1rem;
	padding-top: 7rem;
	overflow-y: scroll;
}

#bild {
	height: 55vh;
	width: 100%;
	max-width: unset;
	object-position: center center;
}

#information {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
}

#knöpfe {
	position: fixed;
	bottom: 0;
}

#oben h1 {
	font-size: 2rem;
}
@media (max-width: 768px) {
	main {
		padding-top: 5rem;
		padding-left: 2rem;
		padding-right: 2rem;
		padding-bottom: 5rem;
	}
	#oben {
		padding: 1rem 2rem;
	}
	#oben h1 {
		font-size: 1rem;
	}

	#oben h1,
	#oben button {
		padding: unset;
	}
	#einzelansich {
		padding-top: 5rem;
	}
}
/*----------2.1 Header & Navigation----------*/
header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: fixed;
	top: 0;
	width: 100%;
	background-color: rgb(242, 240, 238);
	border-bottom: 1px solid rgb(205, 203, 201);
	/*mix-blend-mode: difference;*/
}
nav ul {
	display: flex;
	justify-content: space-between;
}
header h1 a,
header nav ul li a,
header nav ul li h2 {
	padding: 2rem;
	display: block;
	color: black;
	/*text-transform: uppercase;*/
}
header h1 {
	font-size: 2rem;
}
header nav ul li h2 {
	text-decoration: underline;
	text-underline-offset: 0.25rem;
	text-decoration-thickness: 0.1rem;
}
header nav ul li a:hover {
	text-decoration: underline;
	text-underline-offset: 0.25rem;
	text-decoration-thickness: 0.1rem;
}
header nav ul li:last-child a,
header nav ul li:last-child h2 {
	padding-right: 2rem;
}
#th h1 {
	display: none;
}
@media (max-width: 768px) {
	header h1 a {
		font-size: 1rem;
		padding: 0;
	}
	header nav ul li a,
	header nav ul li h2 {
		padding: 0rem 0rem;
	}
	header nav ul li:first-child a,
	header nav ul li:first-child h2 {
		padding-left: 0rem;
	}
	header nav ul li:last-child a,
	header nav ul li:last-child h2 {
		padding-right: 0rem;
	}
	header {
		padding: 1rem 2rem;
	}
	header,
	nav {
		justify-content: space-between;
		align-items: flex-start;
	}
	nav ul {
		flex-direction: column;
		align-items: flex-end;
		padding: 0rem;
		gap: 0.5rem;
	}
	#th h1 {
		display: block;
		padding: 2rem 1rem;
		align-self: flex-start;
	}
	main.galerie {
		padding-top: 7.5rem;
	}
}
/*----------2.2 Footer----------*/
footer {
	background-color: rgb(242, 240, 238);
	color: black;
	padding: 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
	width: 100%;
}
footer a {
	color: black;
}
footer a:hover {
	text-decoration: underline;
	text-underline-offset: 0.25rem;
	text-decoration-thickness: 0.1rem;
}
.formalia {
	display: flex;
	justify-content: space-between;
	gap: 2rem;
}
@media (max-width: 768px) {
	footer {
		flex-direction: column;
	}
	.formalia {
		order: 0;
	}
	footer p {
		order: 2;
	}
}
/*----------2.3 Grid----------*/
section.gitter {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	width: 100%;
	padding: unset;
	gap: 1rem;
}
.werkbox {
	min-height: 40vh;
	max-height: 60vh;
	height: 200px;
	max-width: 50%;
	overflow: hidden;
	cursor: pointer;
}
.werk {
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
	object-position: center center;
	display: block;
	pointer-events: none;
}
@media (max-width: 768px) {
	section.gitter {
		flex-flow: column nowrap;
		align-content: center;
		gap: 2rem;
	}
	.werkbox {
		min-height: unset;
		height: unset;
		max-height: unset;
		min-width: auto;
		max-width: unset;
		width: 100%;
	}
	.werk {
		max-height: 50vh;
		width: 100%;
		object-fit: contain;
		object-position: center center;
		display: block;
	}
}
/*----------2.4 Article----------*/
article {
	max-width: 40rem;
	margin-bottom: 1rem;
}
article h2,
article h3 {
	text-decoration: underline;
	text-underline-offset: 0.25rem;
	text-decoration-thickness: 0.1rem;
	margin-bottom: 1rem;
}
article img {
	width: 100%;
}
article.spotlights img {
	width: 100%;
	height: 550px;
	object-fit: cover;
	object-position: center center;
}

@media (max-width: 768px) {
	article.spotlights img {
		height: 350px;
		width: 100%;
	}
}
#beschreibung {
	visibility: visible !important;
}
