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

@font-face {
    font-display: swap; 
    font-family: 'NyghtSerif';
    font-style: italic;
    font-weight: 200;
    src: url('../fonts/NyghtSerif-LightItalic.woff') format('woff'), url('../fonts/NyghtSerif-LightItalic.woff2') format('woff2');
  }
  
:root {
	--headfont: "NyghtSerif", serif;
	--headfont-style: italic;
	--headfont-weight: 200;
	--textfont: "NyghtSerif", 'Iowan Old Style', 'Palatino Linotype', 'URW Palladio L', P052, serif;
	--primary: 120, 193, 186;
	--textcolor: 13, 13, 13;
	--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: 90vh;
	/*
	background: url('../img/heroine_ls.jpg') no-repeat center center;
	background-size: cover;
	background-attachment: fixed;
	*/
	position: relative;
	background: none;
}

#heroine::before {
   content: '';
   position: fixed;
   z-index: -1;
   display: block;
   top: 0px;
   left: 0px;
   bottom: 0px;
   right: 0px;
   background-image: url('../img/heroine_ls.jpg');
   background-size: cover;
   background-repeat: no-repeat;
   background-position: center top;

}

#heroine > span {
	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%);
}

#heroine div#heads {
	aspect-ratio: 1 / 1;
	min-height: 0;
	position: absolute;
	top: 40%;
	left: 50%;

	transform-origin: center;
	transform: translate(-50%, 0);
	z-index: 100;
	display: inline-block;
	background: #fff;
	text-align: center;
	padding: 3rem;
	border-radius: 1000px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

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

#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;
}

#heroine div#heads h2 {
	font-size: 1.3rem;
	/*font-variant-numeric: oldstyle-nums;*/
	line-height: 3rem;
	letter-spacing: 0.02rem;
}

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: 2rem;
	line-height: 0.8em;
	color: #111;
	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 .sl-image .sl-caption {
    background: rgba(0,0,0,0.0) !important;
}

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

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));
}

ul#albumlinks li a span {
	padding: 0.5em 0 0.5em 0;
	display: block;
}

ul#albumlinks li a:hover {
	border-color: rgba(255,255,255,0.5);
}

ul#albumlinks li a:hover img {
	opacity: 0.6;
}

ul#albumlinks li.active a {
	border-color: #fff;
}

ul#albumlinks li.active a span {
	font-weight: bold;
}

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


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));
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

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







.scrolltop-wrap {
	 box-sizing: border-box;
	 position: absolute;
	 top: 12rem;
	 right: 1rem;
	 bottom: 0;
	 pointer-events: none;
	 backface-visibility: hidden;
}
 .scrolltop-wrap #scrolltop-bg {
	 fill: rgb(var(--primary), 0.5);
}
 .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;
}


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







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

	#heroine::before {
	   display: none;
	}

	#heroine div#heads {
		top: 25%;
		padding: 4rem;
	}
	
	#heroine div#heads h1 {
		font-size: 5rem;
		padding: 0 0 0.5rem 0;
	}
	
	#heroine div#heads h2 {
		font-size: 2rem;
	}
	
	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;
	}	
}