@import url("../fonts/fonts.css");
:root {
	--color-main: #92112E;
	--color-secondary: #29A387;
}
* {
	margin: 0;
	padding: 0;
}
html {
	font-family: "Inter", sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 1.3;
}
@media (max-width: 640px) {
	html {
		font-size: 16px;
	}
}
body {
	margin-top: 48px;
	background-color: #efefef;
	background-image: url("../media/structure.jpg");
	background-position: center top;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { 
	body {
		background-image: url("../media/structure@2x.jpg");
		background-size: 235px;
	}
}
b, strong {
	font-weight: 700;
}
mark {
	color: var(--color-main);
	background-color: transparent;
	font-weight: 700;
}

/* !Special */

.message {
	border: 2px solid var(--color-main);
	padding: 1em;
	margin: 2em 0;
	border-radius: 4px;
}
.message > :first-child {
	margin-top: 0;
}
.message > :last-child {
	margin-bottom: 0;
}

/* !MENU */

#menu {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 48px;
	font-size: 16px;
	line-height: 1;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: #fff;
	padding: 8px;
	box-sizing: border-box;
	box-shadow: 0px 8px 8px rgba(0,0,0,0.1);
	z-index: 1;
}
@supports (padding: max(0px)) {
    #menu {
		padding-right: max(8px, env(safe-area-inset-right));
		padding-left: max(8px, env(safe-area-inset-left));
    }
}
#menu img {
	display: block;
	vertical-align: bottom;
}
#menu ul {
	list-style-type: none;
	display: flex;
	color: var(--color-main);
}
#menu nav a {
	display: block;
	color: inherit;
	text-decoration: none;
	padding: 8px;
	border-radius: 2px;
	transition: background-color 150ms;
}
#menu nav a:hover {
	background-color: rgba(0,0,0,0.1);
/* 			background-color: var(--color-main); */
/* 			color: #fff; */
}
#menu nav .here {
	font-weight: 700;
	color: var(--color-secondary);
}
#menu nav .here a {
	cursor: default;
}
#menu nav .here a:hover {
	background-color: transparent;
	color: inherit;
}
#menu #brand {
	font-family: "Domaine Display Web", serif;
	font-weight: 600;
	font-size: 24px;
	line-height: 1;
	white-space: nowrap;
	color: var(--color-main);
	transform: translateY(-2px);
}
#menu #brand a {
	display: block;
	text-decoration: none;
	padding: 16px;
	padding-top: 0;
	padding-bottom: 0;
	color: var(--color-secondary);
}
#menu-widget-open {
	display: none;
}
#menu-widget-close {
	display: none;
	transform: scaleY(-1);
}
#menu-widget-open a:hover,
#menu-widget-close a:hover {
	background-color: rgba(0,0,0,0.1) !important;
}
@media (max-width: 850px) {
	#menu-widget-open {
		display: inline-block;
	}
	#menu nav ul {
		display: none;
	}

	/* !STATE OPENED (target) */

	#menu:target #menu-widget-open {
		display: none;
	}
	#menu:target #menu-widget-close {
		display: inline-block;
	}
	#menu:target nav ul {
		display: block;
		position: fixed;
		left: 0px;
		top: 48px;
		display: block;
		width: 220px;
		background-color: #fff;
		box-shadow: 0px 8px 8px rgba(0,0,0,0.1);
	}
	@supports (padding: max(0px)) {
	    #menu:target nav ul {
			left: max(0px, env(safe-area-inset-left));
	    }
	}
	#menu:target nav li {
		border-top: 1px solid rgba(0,0,0,0.1);
	}
	#menu:target nav ul a {
		padding: 14px 16px;
		border-radius: 0;
	}

}

/* !HERO */

#hero {
	background-color: #720D24;
	background-image: url("../media/curtain.jpg");
	background-position: center top;
	text-align: center;
	padding: 0 48px;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { 
	#hero {
		background-image: url("../media/curtain@2x.jpg");
		background-size: 302px;
	}
}
#hero img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 540px;
	margin: 0 auto;
	text-align: left;
	position: relative;
	transform: translateY(48px);
	margin-bottom: 48px;
}
@media (max-width: 960px) {
	#hero {
		padding: 0 5vw;
	}
	#hero img {
		transform: translateY(5vw);
		margin-bottom: 5vw;
	}
}

/* !MAIN */

main {
	max-width: 960px;
	margin: 0 auto;
	padding: 48px;
	padding-top: 0px;
}
main > :last-child {
	margin-bottom: 0;
}
@supports (padding: max(0px)) {
    main {
		padding-bottom: max(48px, env(safe-area-inset-bottom));
    }
}
@media (max-width: 960px) {
	main {
		padding: 5vw;
		padding-top: 0px;
	}
	@supports (padding: max(0px)) {
	    main {
			padding-bottom: max(5vw, env(safe-area-inset-bottom));
	    }
	}
}
main .narrow {
	max-width: 640px;
	margin: 0 auto;
}

/* !MAIN - intro */

main .intro {
	margin: 4em auto;
	margin-top: calc(48px + 4em);
	text-align: center;
}
@media (max-width: 960px) {
	main .intro {
		margin: 4em auto;
		margin-top: calc(5vw + 4em);
	}
}
@media (max-width: 710px) {
	main .intro {
		margin: 2em auto;
		margin-top: calc(5vw + 2em);
	}
}
main .intro h1 {
	font-family: "Domaine Display Web", serif;
	font-weight: 600;
	font-size: 92px;
	line-height: 1;
	color: var(--color-secondary);
}
main .intro .small {
	color: #999;
	margin-top: 2em;
}
@media (max-width: 1056px) {
	main .intro h1 {
		font-size: 8.75vw;
	}
}
@media (max-width: 710px) {
	main .intro h1 {
		text-align: left;
	}
	main .intro .small {
		text-align: left;
		font-size: 0.8em;
	}
}

/* !MAIN - general */

main {
	color: #333;
}
main h2 {
	font-size: 1.125em;
	margin: 1em 0;
	color: var(--color-main);
}
main h3 {
	font-size: 1em;
	margin: 1em 0;
	color: inherit;
}
main p {
	margin-top: 1em;
	letter-spacing: -0.011em;
}
main a {
	color: var(--color-secondary);
	text-decoration: none;
}
main a:hover {
	text-decoration: underline;
}
main ul {
	list-style-type: none;
	margin: 1em 0;
	margin-left: 1em;
}
main ul li::before {
	content: "–";
	display: inline-block;
	width: 1em;
	margin-left: -1em;
}
main ol {
	margin: 1em 0;
	margin-left: 1.4em;
}
main figure {
	margin: 1em 0;
}
main figure img {
	display: block;
	width: 100%;
	height: auto;
}
main figure figcaption {
	font-size: 0.8em;
	padding-top: 0.5em;
	color: #999;
}

/* Button */

a.button {
	display: inline-block;
	padding: 0.3em 0.6em;
	border-radius: 4px;
	background-color: var(--color-main);
	color: #fff;
	transition: background-color 150ms;
}
a.button:hover {
	text-decoration: none;
	background-color: #52081A;
}

/* !MAIN - gallery */

main .gallery figure {
	margin: 2em 0;
}
main .gallery > :last-child {
	margin-bottom: 0;
}
main .gallery img {
	display: block;
	max-width: 100%;
	height: auto;
}
main .gallery figcaption {
	font-size: 0.8em;
	max-width: 400px;
	padding-top: 0.5em;
	color: #999;
}

/* !MAIN - cards */

.cards {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 48px;
	margin: 2em auto;
}
@media (max-width: 960px) {
	.cards {
		grid-gap: 5vw;
	}
}
@media (max-width: 900px) {
	.cards {
		grid-gap: 24px;
	}
}
@media (max-width: 736px) {
	.cards {
		grid-template-columns: 1fr 1fr;
		grid-gap: 24px;
/* 				margin: 2em auto; */
	}
}
@media (max-width: 520px) {
	.cards {
		grid-template-columns: 1fr;
		grid-gap: 2em;
/* 				margin: 2em auto; */
		max-width: 308px;
	}
}
.cards figure figcaption {
	font-size: 0.8em;
	padding-top: 0.5em;
	color: #999;
}

.card-audio {
	position: relative;
/* 			max-width: 256px; */
/* 			width: 100%; */
	border-radius: 4px;
	box-shadow: 0px 16px 24px rgba(0,0,0,0.25);
	overflow: hidden;
}
.card-audio img {
	display: block;
	width: 100%;
	height: auto;
}
.card-audio audio {
	position: absolute;
	bottom: 8px;
	left: 8px;
	width: calc(100% - 16px);
}

/* !EVENTS */

.events {
	margin: 2em auto;
}
.events article {
	background-color: #fff;
	box-shadow: 0px 16px 24px rgba(0,0,0,0.25);
	border-radius: 4px;
	overflow: hidden;
	display: flex;
	margin-bottom: 2em;
}
.events > :last-child {
	margin-bottom: 0;
}
.events .timestamp,
.events .prime {
	padding: 16px;
}
.events .timestamp {
	font-family: "Domaine Display Web", serif;
	font-weight: 600;
	font-size: 2em;
	background-color: var(--color-secondary);
	color: #fff;
	min-width: 7em;
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
}
.events .timestamp .year {
	display: block;
	opacity: 0.6;
}
.events article.red .timestamp {
	background-color: #92112E;
}
.events article.purple .timestamp {
	background-color: #6C3D8F;
}
.events article.blue .timestamp {
	background-color: #296FA3;
}
.events article.petrol .timestamp {
/* 	background-color: #3D8F7C; */
	background-color: #29A387;
}
.events article.green .timestamp {
	background-color: #7F8F3D;
}
.events article.yellow .timestamp {
	background-color: #B9983E;
}
.events .prime {
	color: #333;
	font-size: 0.9em;
	flex-grow: 1;
}
.events .content {
	max-width: 32em;
}
.events .content h3 {
	font-size: 1.2em;
	color: var(--color-main);
}
.events .category {
	background-color: var(--color-main);
	background-color: #999;
	color: #fff;
	display: inline-block;
	margin-top: 0;
	padding: 0.5em 1em;
	padding-right: 2em;
	text-transform: uppercase;
	font-size: 0.75em;
	letter-spacing: 0.15em;
	font-weight: bold;
	background-image: url(../media/flagend.svg);
	background-position-y: center;
	background-position-x: calc(100% + 1em);
	background-repeat: no-repeat;
	background-size: auto 100%;
}
.events .toolbar {
	text-align: right;
	margin-top: 1em;
	display: flex;
	justify-content: flex-end;
}
.events .toolbar a {
	display: inline-block;
	padding: 0.5em 1em;
	border-radius: 4px;
	background-color: var(--color-main);
	color: #fff;
	line-height: 1;
	margin-left: 16px;
	transition: background-color 150ms;
}
.events .toolbar a:hover {
	text-decoration: none;
	background-color: #52081A;
}
.events .toolbar > :first-child {
	margin-left: 0;
}
@media (max-width: 710px) {
	.events article {
		flex-direction: column;
	}
	.events .timestamp {
		font-size: 1.2em;
		padding-top: 6px;
		padding-bottom: 6px;
		background-image: none !important;
	}
	.events .timestamp .year {
		display: inline;
	}
}

/* !EVENT-ARCHIVE */

#eventarchive a {
	display: block;
	color: #333;
	background-color: #fff;
	background-image: url("../media/nav-element.svg");
	background-repeat: no-repeat;
	background-position: calc(100% - 14px) center;
	text-decoration: none;
	padding: 16px;
	border-radius: 4px;
	box-shadow: 0px 16px 24px rgba(0,0,0,0.25);
	font-size: 0.9em;
	margin-bottom: 1em;
	padding-right: 60px;
}
#eventarchive a:hover {
	background-image: url("../media/nav-element-active.svg");
	background-color: var(--color-main);
	color: #fff;
}
#eventarchive a:active {
	background-color: #52081a;
}
#eventarchive h2 {
	color: inherit;
	font-size: inherit;
	margin: 0;
}
#eventarchive p {
	color: inherit;
	font-size: inherit;
	margin: 0;
}
