:root {
	color-scheme: light dark;
	--background-color: light-dark(#ffffff, #000000);
	--background-secondary-color: light-dark(#fff5f2, #110501);
	--text-color: light-dark(#000000, #ffffff);
	--main-color: light-dark(#7c1d00, #de3400);
}
@media (prefers-color-scheme: dark) {
	.logo, .series-navigation {
		img {
			filter: brightness(150%);
		}
	}
	.contact-icons, .hamburger-icons {
		img {
			filter: invert(100%);
		}
	}
}
@font-face {
	font-family: FiraSans;
	font-weight: normal;
	src:
		local("FiraSans"),
		url("/static/FiraSans-Regular.woff2") format("woff2");
}
@font-face {
	font-family: FiraSans;
	font-weight: bold;
	src:
		local("FiraSans"),
		url("/static/FiraSans-Bold.woff2") format("woff2");
}
@font-face {
	font-family: FiraSans;
	font-weight: 300;
	src:
		local("FiraSans"),
		url("/static/FiraSans-Light.woff2") format("woff2");
}
@font-face {
	font-family: EulerText;
	font-weight: normal;
	src:
		url("/static/subset-EulerText-Regular.woff2") format("woff2");
}
@font-face {
	font-family: EulerText;
	font-weight: bold;
	src:
		url("/static/subset-EulerText-Bold.woff2") format("woff2");
}
html {
	background: linear-gradient(to bottom, var(--background-color), var(--background-secondary-color));
	color: var(--text-color);
	font-family: FiraSans, sans-serif;
	font-size: 7mm;
	min-height: 100dvh;
}
a, .highlight {
	color: var(--main-color);
}
h1, h2, h3, h4, h5, h6 {
	font-family: EulerText, serif;
}

a {
	min-height: 40px;
	min-width: 40px;
}
.header {
	display: flex;
	flex-flow: row;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 40px;
}
.header-link {
	min-height: 40px;
}
.hamburger-icons {
	display: none;
	cursor: pointer;
	img {
		height: 5svh;
		min-height: 40px;
		min-width: 40px;
	}
}
@media(width <= 60em) {
	.header {
		flex-flow: column;
	}
	.hamburger-icons {
		display: revert;
	}
	.header-hamburger {
		opacity: 0;
		position: absolute;
		pointer-events: none;
	}
	.hamburger-group {
		display: flex;
		flex-flow: row;
		justify-content: space-between;
		align-items: center;
		width: 100%;
	}
	.header:has(.header-hamburger:checked) {
		.hamburger-open-button {
			display: none;
		}
	}
	.header:has(.header-hamburger:not(:checked)) {
		.hamburger-close-button {
			display: none;
		}
		.header-link {
			display: none;
		}
	}
}
.footer {
	margin-bottom: 7mm;
	margin-top: auto;
}
.contact-icons {
	display: flex;
	align-items: center;
	column-gap: .3em;
	img {
		height: 1em;
		min-width: 40px;
		min-height: 40px;
	}
	a {
		text-decoration-line: none;
	}
}
body {
	max-width: 95svw;
	margin: auto;

	display: flex;
	flex-flow: column;
	min-height: 100svh;
}
.logo {
	img {
		height: 20vh;
		width: 22.431vh;
	}
}
.picture {
	img {
		max-width: 100%;
		height: 7cm;
		width: auto;
	}
	margin-left: 1%;
	margin-right: 1%;
}
.big-picture {
	margin: 7mm;
	img {
		max-width: 100%;
		max-height: 100lvh;
		width: auto;
	}
}
.pictureseq {
	display: flex;
	flex-flow: row;
	overflow-x: scroll;
	margin-top: 1cm;
	margin-bottom: 1cm;
	row-gap: 5mm;
	img {
		max-width: none;
	}
}
.side-picture {
	display: flex;
	flex-flow: row wrap;
	column-gap: 1.3em;
	.side-paragraph {
		width: 3cm;
		flex: auto;
	}
	picture {
		margin-top: 1.5em;
		img {
			max-height: 90svh;
			max-width: 90svw;
			object-fit: contain;
		}
	}
	.secondary-picture {
		img {
			width: 30svw;
			max-width: 100%;
		}
	}
}
.side-picture:has(.secondary-picture) {
	@media(width >= 14cm) {
		.side-paragraph {
			width: 60svw;
		}
		flex-wrap: nowrap;
	}
}
h1 .gallery-title {
	display: flex;
	justify-content: center;
}
.piece-description {
	font-weight: 300;
	font-size: 0.7em;
}
.series-navigation {
	display: flex;
	justify-content: space-between;
	.next {
		margin-left: auto;
	}
	margin-top: 0.7em;
	margin-bottom: 0.7em;
	img {
		width: 2em;
		height; 2em;
	}
}
.outline {
	border: 1px solid black;
}

/* Inspired from https://webaim.org/techniques/css/invisiblecontent/ */
#skiptocontent a {
	min-height: 0;
	padding:6px;
	position: absolute;
	top:-2em;
	left:0;
	border-right:.1em solid black;
	border-bottom:.1em solid black;
	-webkit-transition: top .5s ease-out;
	transition: top .5s ease-out;
	z-index: 100;
}
#skiptocontent a:focus {
	position:absolute;
	left:0;
	top:0;
	-webkit-transition: top .05s ease-in;
	transition: top .05s ease-in;
}
@media (prefers-reduced-motion: reduce) {
	#skiptocontent a {
		transition-duration: 0.001ms !important;
	}
}
/* */
