@font-face {
    font-display: swap; 
    font-family: 'GrueneType';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/GrueneType-BlackCondensedItalic.woff') format('woff'), url('../fonts/GrueneType-BlackCondensedItalic.woff2') format('woff2');
  }

  
:root {
	--headfont: system-ui, sans-serif;
	--headfont-style: normal;
	--headfont-weight: 800;
	--textfont: 'Iowan Old Style', 'Palatino Linotype', 'URW Palladio L', P052, serif;
	--textcolor: 13, 13, 13;
	--white: 255,255,255;
	--pagemargin: 4vw;
}

  * {
	font-family: var(--textfont);
	font-weight: 300;
	font-style: normal;
	color: rgb(var(--textcolor));
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	background-color: rgb(var(--primary));
	scroll-behavior: smooth;
}

body {
  position: relative;
}


p {
    padding-bottom: 1em;
	font-size: 1rem;
}

h1,
strong,
b {
	font-weight: 700;
	font-style: normal;	
}

h1 {
	font-family: var(--headfont);
	font-style: var(--headfont-style);
	font-weight: var(--headfont-weight);	
	font-size: 6rem;
	line-height: 0.8em;
	color: #111;
	margin: 0;
	padding-top: 1.5rem;
	white-space: nowrap;
}

h2 {
	font-family: var(--textfont);
	font-size: 2em;
	color: rgb(var(--primary));
	font-weight: normal;
	margin: 0;
}

a {
	color: rgba( 81, 117, 181, 100%);
	text-decoration: none;
	transition: all 0.3s;
}

a:hover {
	color: rgba( 28, 63, 106, 100%);
}



#heroine {
	display: block;
	height: 90svh;
	/*
	background: url('../img/heroine_ls.jpg') no-repeat center center;
	background-size: cover;
	background-attachment: fixed;
	*/
	position: relative;
	background: none;
	transition: all 0.3s;
}

body.half #heroine {
	height: 96svh;
}

body.half #heroine::before {
   content: '';
   position: fixed;
   z-index: -1;
   display: block;
   top: 0px;
   left: 0px;
   bottom: 0px;
   right: 0px;
   background-image: url('../img/heroine.webp');
   background-size: cover;
   background-repeat: no-repeat;
   background-position: center top;
   transition: all 0.3s;
}

body.half #heroine::before {
   top: 48svh;
	position: absolute;
}

#heroine > span#filterspan {
	display: block;
	height: 100%;
	width: 100%;
	position: absolute;
	backdrop-filter: contrast(70%) saturate(0%) brightness(50%);
	-webkit-backdrop-filter: contrast(70%) saturate(0%) brightness(50%);
}

body.half #heroine > span#filterspan {
	height: 48svh;
	top: 48svh;
}

body.gruene #heroine div#heads {
	/* aspect-ratio: 1 / 1; */
	min-height: 0;
	position: absolute;
	top: 42.5%;
	left: 50%;
	transform-origin: center;
	transform: translate(-50%, 0);
	z-index: 100;
	/* background: #fff; */
	text-align: center;
	padding: 3rem;
	/* border-radius: 1000px; 
	display: flex;
	flex-direction: column;
	justify-content: center;*/
}

body.half #heroine div#heads {
	background-color: rgb(var(--primary));
	width: 100%;
	height: 48svh;
	position: fixed;
	top: 0;
	left: 0;
	z-index: -10;
	padding: 2rem;
	display: flex;
	flex-direction:column;
	justify-content: center;	
}

body.half #heroine div#heads::before {
	content: url('../img/viagems.svg');
	width: 25px;
	position: absolute;
	top: 2rem;
	opacity: 0.5;
}

body.gruene #heroine div#heads h1,
body.gruene #heroine div#heads h2 {
	transform: skew(-12deg);
	display: inline-block;
}

body.gruene #heroine div#heads h1 div,
body.gruene #heroine div#heads h2 div {
	transform: skew(12deg);
	color: #fff;
	font-weight: normal;
}

body.gruene #heroine div#heads h1 {
	font-family: var(--headfont);
	font-style: var(--headfont-style);
	font-weight: var(--headfont-weight);
	font-size: 2.5rem;
	line-height: 0.85em;
	color: rgb(var(--textcolor));
	margin: 0;
	padding-top: 1rem;
	white-space: normal;
	text-align: center;
	background: rgb(var(--primary));
	padding: .2em .3em .3em .3em;
}

body.gruene #heroine div#heads h1 span {
	font-family: var(--headfont);
	font-style: var(--headfont-style);
	font-weight: var(--headfont-weight);	
	font-size: 3rem;
	line-height: 0.5em;
	color: rgb(var(--textcolor));
	margin: 0;
	display: block;
	padding: 0 0 0.5rem 0;
	white-space: normal;
	text-align: center;
}

body.gruene #heroine div#heads h2 {
	font-size: 1.3rem;
	/*font-variant-numeric: oldstyle-nums;*/
	/* line-height: 3rem; */
	letter-spacing: 0.02rem;
	background: rgb(var(--secondary));
	padding: .1em .5em .1em .5em;
}



body.half #heroine div#heads h1 {
	font-size: 2.5rem;
	margin: 0;
	white-space: normal;
	text-align: left;
	background: none;
	padding: .2em .3em .1em .0em;
}

body.half #heroine div#heads h1 div {
	font-family: var(--headfont);
	font-style: var(--headfont-style);
	font-weight: var(--headfont-weight);
	font-size: 2.5rem;
	line-height: 0.85em;
	color: rgb(var(--white));
	margin: 0;
	white-space: normal;
	text-align: left;
	background: none;
	padding: 0;
}

body.half #heroine div#heads h2 {
	font-size: 1.3rem;
	padding: .0em .5em .1em .0em;
}

body.half #heroine div#heads h2 div {
	font-size: 1.5rem;
	font-variant-numeric: oldstyle-nums;
	letter-spacing: 0.02rem;
	color: rgb(var(--secondary));
	padding: 0;
}

section#header {
	width: 100vw;
	height: 60px;
	position: fixed;
	top: 0;
	left: 0;
	padding: 1rem;
	background: rgba(255,255,255,0.85);
	text-align: center;
	opacity: 0;
	z-index: 1000;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

section#header strong {
	font-family: var(--headfont);
	font-style: var(--headfont-style);
	font-weight: var(--headfont-weight);
	font-size: 1.4rem;
	line-height: 1em;
	color: rgb(var(--primary));
	/* margin: 0 2rem 0 0;  */
}

div#maindiv {
	background-color: #fff;
	padding: var(--pagemargin);
	hyphens: auto;
}



div.ggpics {
	/* max-width: 950px; */
	background-color: #fff;
	padding: 0px 0vw 0px 0px;
	margin-bottom: 40px;
}

.sl-wrapper.simple-lightbox .sl-image .sl-caption {
    background: rgba(0,0,0,0.0);
	font-family: sans-serif;
	font-size: 0.6rem;
	bottom: -1rem;
	color: rgb(var(--textcolor));
	padding: 0;
}

.sl-wrapper.simple-lightbox .sl-image .sl-caption a {
	font-family: sans-serif;
	font-size: 0.6rem;
	color: rgb(var(--textcolor));
	float: right;
}


.sl-wrapper.simple-lightbox div.sl-download a {
    font-family: sans-serif;
	font-size: 0.6rem;
	color: rgb(var(--textcolor));
}

.sl-wrapper.simple-lightbox div a:hover {
	color: rgb(var(--primary)) !important;
	text-decoration: underline;
}

section#navi {
	scroll-margin-top: 60px;
	padding: var(--pagemargin) var(--pagemargin) 0 var(--pagemargin);
	overflow-y: scroll;
	background-color: rgb(var(--primary));
}

body.half section#navi {
	background-color: rgb(var(--secondary));
}

ul#albumlinks {
	list-style: none;
	display: flex;
	gap: 10px;
}

ul#albumlinks li a {
	display: block;
	width: 28vw;
	padding: 0;
	transition: all 0.3s;
	font-size: 1rem; 
	font-size: clamp(10px, calc(1vw + 0.5rem), 20px);
	text-align: left;
	color: rgb(var(--textcolor));
	text-transform: uppercase;
	letter-spacing: 0.08em;
	border-bottom: 10px solid rgb(var(--primary));
}

body.half ul#albumlinks li a {
	border-bottom: 10px solid rgb(var(--white),0.5);
}

ul#albumlinks li a span {
	padding: 0.5em 0 0.5em 0;
	display: block;
	color: rgb(var(--textcolor-on-primary));
}

ul#albumlinks li a:hover {
	border-color: rgb(var(--white),0.5);
}

body.half ul#albumlinks li a:hover {
	color: rgb(var(--primary), 0.5);
	border-color: rgb(var(--primary), 0.5);
}

body ul#albumlinks li a:hover img {
	transition: all 0.3s;
	opacity: 0.6;
}

ul#albumlinks li.active a {
	border-color: rgb(var(--secondary));
}

body.half ul#albumlinks li.active a {
	border-color: rgb(var(--primary));
}

ul#albumlinks li.active a span {
	font-weight: bold;
	color: rgb(var(--secondary));
}

body.half ul#albumlinks li.active a span {
	font-weight: bold;
	color: rgb(var(--primary));
}

body.half ul#albumlinks li a:hover span {
	color: rgb(var(--primary), 0.7);
}

ul#albumlinks li a img {
	width: 100%;
}

body ul#albumlinks li.active a {
    pointer-events: none;
}


footer {
	background-color: rgb(var(--primary));
}

footer #imp {
	display: flex;
	background: rgb(var(--textcolor));
	padding: 1rem;
	gap: 20px;
	align-items: center;
}

footer #imp img {
	height: 35px;
}

footer #imp span {
	color: #fff;
	font-family: sans-serif;
	font-weight: bold;
	font-size: 0.8rem;
	line-height: 1.2em;
}

footer #imp span a {
	color: #fff;
	font-family: sans-serif;
}

footer a.nextLink {
	margin: 0rem 0 0rem auto;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	text-align: right;
	gap: 10px;
	color: rgb(var(--textcolor-on-primary));
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

footer a.nextLink span {
	color: rgb(var(--textcolor-on-primary));
}

footer a.nextLink img {
	height: 80px;
}







.scrolltop-wrap {
	 box-sizing: border-box;
	 position: absolute;
	 z-index: 10;
	 top: 12rem;
	 right: 1rem;
	 bottom: 0;
	 pointer-events: none;
	 backface-visibility: hidden;
}
 .scrolltop-wrap #scrolltop-bg {
	 fill: rgb(var(--primary), 0.7);
}
 .scrolltop-wrap #scrolltop-arrow {
	 fill: white;
}
 .scrolltop-wrap a:hover #scrolltop-bg {
	 fill: rgb(var(--primary));
}
 .scrolltop-wrap a:hover #scrolltop-arrow {
	 fill: white;
}

 @supports (-moz-appearance: meterbar) {
	 clip: rect(0, 3rem, auto, 0);
}

 .scrolltop-wrap a {
	 position: fixed;
	 position: sticky;
	 top: -5rem;
	 width: 3rem;
	 height: 3rem;
	 margin-bottom: -5rem;
	 transform: translateY(100vh);
	 backface-visibility: hidden;
	 display: inline-block;
	 text-decoration: none;
	 user-select: none;
	 pointer-events: all;
	 outline: none;
	 overflow: hidden;
}
 .scrolltop-wrap a svg {
	 display: block;
	 border-radius: 50%;
	 width: 100%;
	 height: 100%;
}
 .scrolltop-wrap a svg path {
	 transition: all 0.1s;
}
 .scrolltop-wrap a #scrolltop-arrow {
	 transform: scale(0.66);
	 transform-origin: center;
}



 @media print {
	 .scrolltop-wrap {
		 display: none !important;
	}
}




.grid {
  position: relative;
}
.grid-item {
	display: block;
	position: absolute;
	width: 48%;
	height: auto;
	margin-inline-end: 2%;
	margin-bottom: 2%;
	z-index: 1;
}

.grid-item.muuri-item-dragging {
  z-index: 3;
}
.grid-item.muuri-item-releasing {
  z-index: 2;
}
.grid-item.muuri-item-hidden {
  z-index: 0;
}
.grid-item img {
	position: relative;
	width: 100%;
	height: 100%;
	display: block;
	transition: all 0.3s;
}

.grid-item img:hover {
	outline: 8px solid rgb(var(--primary));
	cursor: zoom-in;
}


.grid-item img.lazy {
	filter: blur(20px);
  opacity: 0.3 !important;
  transform: scale(0.9) !important;
	margin-top: 50px;	
  transition: outline 0.3s, opacity 0.6s ease, transform 0.6s ease, margin 0.6s ease;
}

.grid-item img.lazy.loaded {
	filter: blur(0px);
  opacity: 1 !important;
  transform: scale(1) !important;
	margin-top: 0px;
}

.sl-overlay {
    opacity: 0.95 !important;
}


#disclaimer p {
	font-family: sans-serif;
	color: rgba(var(--textcolor),0.5);
	font-size: 0.7rem;
	text-align: center;
	line-height: 1.4em;
	background: #fff;
	padding: 2rem;
}




@media only screen and (min-width: 400px) {
	
	#heroine {
		height: 90vh;
		background: url('../img/heroine.webp') no-repeat center center;
		background-size: cover;
		background-attachment: fixed;
	}

	body.half #heroine {
		height: 98vh;
		width: 50vw;
		background-attachment: scroll;	
		background-position: top;
	}	

	body.half #heroine::before {
		display: none;
	}	

	#heroine::before {
	   display: none;
	}

	#heroine div#heads {
		top: 25%;
		/* padding: 4rem; */
	}

	body.half #heroine div#heads::before {
		width: 25px;
		right: auto;
	}
	
	body.half #heroine div#heads {
		top: 0;
		left: auto;
		height: 98vh;
		width: 50vw;
		margin-left: 50vw;
		position: absolute;
	}	
	
	#heroine div#heads h1 {
		font-size: 5rem;
		padding: 1rem 2rem 1.5rem 1.5rem;
		padding: .2em .3em .3em .3em;
	}
	
	#heroine div#heads h2 {
		font-size: 2rem;
		padding: .2em .5em .1em .5em;
	}

	body.half #heroine div#heads h2 div {
		font-size: 2rem;
		padding: 0;
	}	
	
	ul#albumlinks li a {
		width: 100%;
	}

	.grid-item {
		display: block;
		position: absolute;
		width: 30%;
		height: auto;
		margin-inline: 1.6%;
		margin-bottom: 3%;
		z-index: 1;
	}	

	body.half #heroine span#filterspan {
		height: 100%;
		top: 0;
	}
}