/* Basic Text Properties */

@font-face {
	font-family: 'Monda';
	src: url("/common/Monda-VariableFont_wght.ttf") format('truetype');
}

:root {
	--light-background-color: #eee;
	--dark-background-color: #222;

	--light-button-color: rgba(0,0,0,0.05);
	--dark-button-color: rgba(255,255,255,0.1);
}

* {
	font-family: "Monda", sans-serif;
}

h1, h2, h3 {
	font-weight: 500;
}

p {
	font-weight: 400;
	font-size: 14px;
	/*max-width: 750px;*/
	text-align: justify;
}

a {
	text-decoration: none;
	color: inherit;
}

a>img {
	pointer-events: none;
}

body {
	padding: 0;
	margin: 0;
	position: relative;
	background-color: var(--light-background-color);
}

body.prevent-scroll {
	overflow: hidden;
}

.hidden {
	visibility: hidden;
	user-select: none;
}




/* Navigation and Page Fundamentals */

nav {
	/* width: fit-content; */
	margin: auto;
	margin-top: 32px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1336px;
	/* transform: translate(-2px); */
	padding-left: 34px;
	padding-right: 39px;
}

nav a {
	/* align-self: center; */
	padding: 4px 8px;
}

nav a:hover, nav a.selected {
	background-color: black;
	color: white;
}

nav a img {
	vertical-align: middle;
}

:not(.dark) nav a:hover img {
	filter: invert();
}

nav a#menu {
	display: none;
}

.nav-container {
	position: absolute;
	width: 100vw;
}



#responsive-nav-container {
	position: fixed;
	top: 0;
	width: 100vw;
	height: 100vh;

	background-color: rgba(255, 255, 255, 0.4);
	backdrop-filter: blur(30px);
	z-index: 100;
}

.dark #responsive-nav-container {
	background-color: rgba(0,0,0,0.3);
}

nav#responsive {
	align-items: start;
}


#responsive-nav-menu {
	display: flex;
	justify-content: space-around;
	gap: 48px 0;
	width: 70vw;
	flex-wrap: wrap;
	margin-top: 3px;
	margin-left: 32px;
	margin-right: 32px;
}

#responsive-nav-menu a {
	margin-left: 18px;
	margin-right: 18px;

	width: 112px;
	text-align: center;
}



p#copyright {
	width: fit-content;
	text-align: center;
	text-wrap: balance;
	margin: auto;
	margin-top: 64px;
	margin-bottom: 32px;
	font-size: 11px;
	color: rgba(0,0,0,0.5);
}

/* div#background {
	display: none;
} */

div#background {
	position: absolute;
	z-index: -100;

	transform: translate(0px, -32px);
	width: 100%;
	height: 100%;
	min-height: 100vh;

	/* background-color: #EEE; */
	background-image: url("shadow-background.jpg");
	background-size: 3200px auto;
	background-position: top;
	background-repeat: no-repeat;
	/* filter: blur(16px); */

}



/* Page Elements */

.page {
	max-width: 1320px;
	margin: auto;
	margin-top: 32px;
	padding-left: 48px;
	padding-right: 48px;
}

.page h3 {
	margin-top: 32px;
	margin-bottom: 0;
}

.title {
	margin-top: 48px;
	/* margin-bottom: 32px; */
}

.title * {
	margin-bottom: 0;
	margin-top: 0;
}

.title .button {
	margin-bottom: 32px;
}

.title-block {
	background-color: black;
	background-position: center;
	height: 252px;
	background-size: cover;
	padding-top: 32px;
	padding-left: 32px;
	margin-top: 48px;
	margin-bottom: 32px;
}

.title-block * {
	margin-bottom: 0px;
	margin-top: 0px;
	margin-right: 48px;
	color: white;
	text-shadow: black 0 0 24px;
	text-wrap: balance;
}

p a {
	background-color: var(--light-button-color);
}

p a:hover {
	background-color: black;
	color: white;
}

p a:hover * {
	color: black;
	filter: invert();
}

p a * {
	vertical-align: middle;
}

p a.inline {
	padding: 2px;
}

p a.inline span {
	vertical-align: baseline;
}

p a.button {
	display: inline-block;
	align-self: center;
	padding: 8px 12px;
}

p a.button img {
	width: 24px;
	height: 24px;
	margin-right: 8px;
}

/* Centered Eleemnts (Other Sites, Contact) */

.center-container {
	min-height: 60vh;
}

.center-container .title {
	margin-top: 72px;
	text-align: center;
}

.center-items {
	display: flex;
	justify-content: center;
	gap: 8px;
}

.center-items p {
	margin-top: 0;
	margin-bottom: 6px;
}

.center-items a.button {
	width: 160px;
	padding: 32px;
}

.center-items a.button img {
	display: block;
	margin: auto;

	width: 52px;
	height: 52px;

}

.center-items a.button span {
	display: block;
	text-align: center;
	margin-top: 8px;
}


/* Dark Pages */

body.dark {
	background: var(--dark-background-color);
}

.dark div#background {
	background-image: url("light-background.jpg");
}

.dark * {
	color: white;
}

.dark p#copyright {
	color: rgba(255,255,255,0.3);
}

.dark nav a:hover, .dark nav a.selected {
	background-color: white;
	color: black;
} 

.dark nav a img {
	filter: invert();
}

.dark nav a:hover img {
	filter: unset;
}

.dark p a {
	background-color: var(--dark-button-color);
}

.dark p a:hover {
	background-color: white;
}

.dark p a * {
	filter: invert();
	color: black;
}

.dark p a:hover * {
	filter: unset;
}

.dark .more-content-placeholder {
	background-color: var(--dark-button-color);
}



/* Gallery */

.gallery {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 8px;
	
	margin-top: 32px;
	margin-bottom: 32px;
}

.gallery.enforce-width {
	justify-content: space-between;
}

.thumbnail {
	height: 200px;
	/* background-color: rgba(0,0,0,0.3);  */
	background-size: cover;
	background-position: center;
	object-fit: cover;

	/* margin-bottom: 8px;
	margin-right: 8px; */
}

.gallery.enforce-width .thumbnail {
	width: 320px;
}



.gallery-link-item {
	margin-bottom: 18px;
}

.gallery-link-item:hover .thumbnail {
	filter: contrast(80%);
}

.gallery-link-item h3, .gallery-link-item p {
	max-width: 300px;

	margin-bottom: 12px;
	margin-top: 12px;

	line-height: 120%;
}


.gallery-image-item {
	position: relative;
}

.gallery-image-item:hover .thumbnail {
	filter: contrast(80%);
	cursor: pointer;
}

.more-content-placeholder {
	width: 314px;
	height: 194px;
	border-style: dashed;
	border-width: 3px;
	position: relative;
	color: rgba(0,0,0,0.5);
}

.more-content-placeholder h3 {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	text-wrap: nowrap;
	margin: 0;
}
/*
.gallery-image-item p.caption {
	position: absolute;
	bottom: -7px;
	padding: 3px 5px;
	background-color: rgba(0,0,0,0.4);
	color: white;
}

.gallery-image-item:not(:hover) p.caption {
	visibility: hidden;
}*/

.dummy {
	height: 0;
	width: 320px;
}



/* Lightbox */

div.full-cover-view {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-color: rgba(28,28,28,.95);
	display: block;
	backdrop-filter: blur(10px);
	z-index: 100;
}

div.full-cover-view:not(.visible) {
	display: none;
}

.full-cover-view .view-container {
	margin: auto;
	display: block;
	position: relative;
	top: 50%;
	transform: translate(0,-50%);
}

.lightbox-container {
	display: inline-block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	width: 100%;
}

img.lightbox {
	max-width: 100vw;
	max-height: calc(100vh - 48px);
	object-fit: contain;
	margin: auto;
	display: block;
}

.full-cover-view p {
	color: white;
	margin: auto;

	height: 40px;
	padding-top: 8px;
	text-align: center;
	text-wrap: balance;
	max-width: 80vw;
}

a.navigation {
	padding: 4px;
	background-color: black;
	cursor: pointer;
}

a.navigation>img {
	filter: invert();
	display: block;
	width: 32px;
}

a.navigation.close {
	position: fixed;
	right: 12px;
	top: 12px;
}

a.navigation.download {
	position: fixed;
	right: 12px;
	top: 60px;
}

a.navigation.next {
	position: fixed;
	right: 12px;
	top: 50%;
	transform: translate(0,-50%);
}

a.navigation.previous {
	position: fixed;
	left: 12px;
	top: 50%;
	transform: translate(0,-50%) scaleX(-1);
}


/* Audio Player */

div.audio-player {
	position: relative;
	display: inline-block;
	width: 728px;
	background-color: var(--light-button-color);
}

.audio-player img.album-art {
	display: block;
	width: 162px;
	height: 162px;
	object-fit: cover;
	float: left;
	margin-right: 32px;
}

img.album-art:hover {
	filter: brightness(110%) contrast(70%);
	cursor: pointer;
}

.audio-ui {
	display: inline-block;
	position: absolute;
	top: 50%;
	transform: translate(0,-50%);
}

.audio-player p {
	margin-top: 0;
}

.audio-player audio {
	width: 500px;
}
