*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html,
body {
	/* height: 100%; */
	position: relative;
	scroll-behavior: smooth;
}

html {
	--vh: 1vh;
	--window-height: calc(var(--vh) * 100);
	--quarter-unit: calc(var(--unit) * 0.25); /* 0.28125rem; */
	--half-unit: calc(var(--unit) * 0.5); /* 0.5625rem; */
	--three-quarter-unit: calc(var(--unit) * 0.75); /* 0.84375rem */
	--unit: 1.125rem;
	--one-half-units: calc(var(--unit) * 1.5); /* 1.6875rem; */
	--two-units: calc(var(--unit) * 2); /* 2.25rem; */
	--three-units: calc(var(--unit) * 3); /* 3.375rem; */
	--header-opened: calc(var(--three-units) + var(--two-units));
	--header-closed: var(--three-units);
	--button: 1.5rem;
	--button-margin: calc((var(--two-units) - var(--button)) / 2); /* 0.375rem */
	--color: black;
	--background: white;
	-webkit-text-size-adjust: none;
	-ms-text-size-adjust: none;
	text-size-adjust: none;
	scroll-padding-top: var(--header-opened);
}

body {
	background-color: var(--background);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	color: var(--color);
	font-family: "Gerstner Programm", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-feature-settings: "tnum" 1;
	font-size: 1rem;
	line-height: 1.125;
	font-style: normal;
	font-weight: 500;
	text-rendering: geometricPrecision;
}

body.invert {
	--color: white;
	--background: black;
}

*::selection {
	background-color: var(--color);
	color: var(--background);
}

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

a.in::before {
	content: "\2198\00a0";
	display: inline-block;
}

a.out::after {
	content: "\00a0\02C2";
	display: inline-block;
}

a:hover {
	color: var(--accent);
}

p > a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

p + p {
	margin-top: var(--unit);
}

h1,
h2 {
	font-size: inherit;
	font-weight: inherit;
}

strong {
	font-weight: normal;
}

img {
	display: block;
	object-fit: cover;
	object-position: center;
	transition: filter 0.3s, opacity 0.3s;
}

img.lazyload {
	opacity: 0;
}

img.lazyloading {
	opacity: 1;
}

img.lazyload,
img.lazyloading {
	filter: blur(5px);
}

img.landscape {
	width: 100%;
	height: auto;
	max-height: 100%;
}

img.portrait {
	width: auto;
	height: 100%;
	max-width: 100%;
}

mark {
	background-color: var(--accent);
	color: var(--accent-text);
}

.filler {
	flex: 1 1 auto;
}

.times {
	font-family: "Times Std", "Times New Roman", Times, serif;
	font-weight: normal;
}

.underline {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.no-overflow {
	overflow: hidden;
}

.header {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	width: 100%;
	padding: 0 var(--two-units);
	position: fixed;
	top: 0;
	z-index: 100;
	background-color: var(--background);
}

.header--transparent {
	background-color: transparent;
}

.header--minimal::after {
	content: "";
	display: block;
	height: 1px;
	position: absolute;
	top: 100%;
	right: var(--three-units);
	left: var(--three-units);
	background-color: var(--color);
}

.header_part {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	height: var(--three-units);
}

.header_part > * {
	margin: 0 var(--unit);
}

.header_subpart {
	display: flex;
}

.header--minimal > .header_part:first-of-type > *:not(:first-child),
.header--minimal > .header_part:last-of-type > *:not(:last-child) {
	display: none;
}

.header_open,
.header_close {
	display: none;
	position: absolute;
	left: 50%;
	right: var(--unit);
	top: 0;
	line-height: var(--three-units);
	text-align: right;
	text-transform: uppercase;
}

.header--minimal > .header_open,
.header--minimal > .header_close {
	display: none;
}

.languages {
	display: flex;
	color: rgb(127, 127, 127);
}

.language:hover {
	color: var(--accent);
}

.language--selected {
	color: var(--color);
}

.button {
	display: block;
	/* align-items: center; */
	/* justify-content: center; */
	padding: calc((var(--button) - 0.75rem) / 2 - 1px) 1em;
	border: 1px solid currentColor;
	font-size: 0.75rem;
	line-height: 1;
	text-align: center;
	user-select: none;
	white-space: nowrap;
}

.button:empty {
	border: none;
	pointer-events: none;
}

.button:hover,
.button--hover,
.button--active {
	background-color: var(--color);
	border-color: var(--color);
	color: var(--background);
}

.button--active {
	cursor: default;
}

.button--transparent {
	background-color: rgba(240, 240, 240, 0.8);
	border-color: transparent;
	color: var(--color);
}

body.invert .button--transparent {
	background-color: rgba(10, 10, 10, 0.8);
}

.button--transparent:hover,
body.invert .button--transparent:hover {
	background-color: var(--background);
	border-color: transparent;
	color: var(--color);
}

.button--inactive {
	pointer-events: none;
}

main {
	/* (header + search) */
	padding: var(--header-opened) var(--three-units) var(--two-units);
	position: relative;
	z-index: 1;
	transform: translate3d(0, 0, 0);
	background-color: var(--background);
	border-bottom: 1px solid var(--color);
}

.news {
	margin: var(--unit) calc(-1 * var(--three-units)) calc(-1 * var(--unit));
	padding: var(--unit) 0;
	overflow: hidden;
	position: relative;
	z-index: 10;
	/* color: var(--accent); */
	font-family: "DMT";
	font-size: calc(1rem + 1.4vw);
	line-height: 0.75;
	text-transform: uppercase;
}

.news::before,
.news::after {
	content: "\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D\002D";
	width: 100%;
	position: absolute;
	left: 0;
	white-space: nowrap;
	letter-spacing: -0.045em;
}

.news::before {
	top: -0.3em;
}

.news::after {
	bottom: -0.3em;
}

.news_marquee {
	display: flex;
	width: 100%;
	height: 100%;
	justify-content: center;
}

.marquee.news_marquee.is-init {
	justify-content: flex-start;
}

.marquee > div,
.marquee > span,
.marquee3k__wrapper > div,
.marquee3k__wrapper > span {
	display: flex !important;
	align-items: center;
	justify-content: center;
	height: 100%;
	padding: 0 0.125em;
	white-space: nowrap;
}

/* .marquee3k__wrapper > div::after,
.marquee3k__wrapper > span::after {
	content: "\00a0—";
} */

.news_marquee > div,
.news_marquee > .marquee3k__wrapper > div {
	padding: 0 0.25em;
}

.slideshow {
	display: flex;
	height: calc(
		var(--window-height) - var(--header-opened) - var(--two-units) * 3 - (1rem + 1.4vw) * 0.75
	);
	margin-top: var(--two-units);
}

.slideshow--embed {
	height: 100%;
	margin-top: 0;
	overflow: hidden;
}

.slideshow > div {
	flex: 1;
	position: relative;
}

.slideshow .event {
	width: 100%;
	height: 100%;
	margin: 0;
	position: absolute;
	top: 0;
	left: 0;
}

.slideshow_left .event {
	transform: translateY(-100%)
		translateY(calc((var(--header-opened) + var(--two-units) * 2 + (1rem + 1.4vw) * 0.75) * -1));
	animation: slideshow-bottom 6s cubic-bezier(0.6, 0, 0.2, 1) infinite;
}

.slideshow--embed > .slideshow_left .event {
	transform: translateY(-100%);
}

.slideshow_right .event {
	transform: translateY(100%) translateY(calc(var(--two-units) * 2 + (1rem + 1.4vw) * 0.75));
	animation: slideshow-top 6s cubic-bezier(0.6, 0, 0.2, 1) infinite;
}

.slideshow--embed > .slideshow_right .event {
	transform: translateY(100%);
}

.slideshow .event_image {
	width: 100%;
	height: 100%;
}

.slideshow .event_image > picture > img {
	height: 100%;
}

.slideshow .event_informations {
	align-items: flex-end;
	position: absolute;
	bottom: 0;
	left: 0;
}

.slideshow .event_title,
.slideshow .event_year {
	position: relative;
	z-index: 1;
	white-space: normal;
}

.slideshow .event_place {
	display: block;
}

.slideshow .event_place + .event_title,
.slideshow .event_year {
	margin-left: 1px;
}

.categories,
.subcategories {
	display: flex;
	flex-wrap: wrap;
}

.category,
.subcategory {
	margin-top: -1px;
	margin-right: -1px;
}

.category {
	font-feature-settings: "case" 1, "tnum" 1;
	text-transform: uppercase;
}

.category.button--transparent,
.subcategory.button--transparent {
	margin-top: 1px;
	margin-right: 1px;
}

.visuals {
	display: grid;
	grid-template-columns: 1fr 1fr;
	height: calc((var(--window-height) - var(--header-opened) - var(--two-units) * 2) / 2);
	margin-top: var(--two-units);
	margin-bottom: var(--unit);
	position: relative;
}

.visuals > .map:only-of-type,
.visuals > .slideshow:only-of-type {
	grid-column: span 2;
}

.timeline {
	display: flex;
	align-items: center;
	height: calc(var(--three-units) - 1px);
	margin-bottom: -1px;
	position: sticky;
	top: var(--header-opened);
	z-index: 10;
	border-bottom: 1px solid currentColor;
	text-transform: uppercase;
}

.timeline::after {
	content: "";
	display: block;
	position: absolute;
	top: -1px;
	right: calc(-1 * var(--three-units));
	bottom: 0;
	left: calc(-1 * var(--three-units));
	z-index: -1;
	background-color: var(--background);
}

.timeline_past,
.timeline_ontour,
.timeline_present {
	display: flex;
	align-items: center;
	position: relative;
}

.timeline_past {
	flex: 1;
}

.timeline_ontour {
	flex: 0 0 7rem;
}

.timeline_present {
	flex: 0 0 14.5rem;
	justify-content: flex-end;
}

.timeline_years {
	flex: 1;
	display: flex;
	align-items: center;
	position: relative;
	margin: 0 -1px;
}

.timeline_years::after,
.timeline_present::before {
	content: "";
	display: block;
	height: 1px;
	background-color: var(--color);
	flex: 1;
}

.timeline_years::before {
	order: 1;
	content: "";
	display: block;
	width: 7px;
	height: 7px;
	margin-left: -5px;
	transform: translateX(7px) rotate(-45deg);
	border-top: 1.5px solid;
	border-left: 1.5px solid;
}

.timeline_years::after {
	order: 2;
}

.timeline_year {
	width: var(--width);
	height: var(--button);
	position: absolute;
	left: var(--left);
	transform: translateX(var(--offset));
	z-index: 1;
}

.timeline_year > .button {
	width: max-content;
	position: absolute;
	top: 50%;
	left: var(--left, 0);
	transform: translate(var(--offset, 0), -50%);
	opacity: 0;
	pointer-events: none;
}

.timeline_years:not(:hover) > .timeline_year > .button--active,
.timeline_year:hover > .button {
	color: var(--background);
	background-color: var(--color);
	border-color: var(--color);
	opacity: 1;
}

.selection_title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--two-units);
	margin: var(--unit) 0 calc(-1 * var(--half-unit));
	border-top: 1px solid currentColor;
	text-transform: uppercase;
}

.footer {
	display: grid;
	/* (header + search) */
	/* height: calc(var(--window-height) - var(--header-opened)); */
	max-height: 24em;
	padding: var(--two-units) var(--three-units);
	grid-template-columns: calc(50% - var(--unit)) 1fr 200px;
	gap: var(--unit) var(--two-units);
	grid-template-rows: 1fr auto auto;
	overflow: hidden;
	position: sticky;
	bottom: 0;
}

body.invert .footer img {
	filter: invert(1);
}

.footer_logo {
	grid-row: 1 / -1;
}

.footer_logo > img {
	display: block;
	width: 101%;
	max-height: 102%;
	background-position: right top;
	background-repeat: no-repeat;
	background-size: auto 100%;
	object-fit: initial;
	object-position: initial;
}

.footer_css {
	grid-column: 2;
	grid-row: span 2;
}

.footer_opening {
	display: grid;
	gap: 0 var(--half-unit);
	grid-template-columns: auto 1fr;
	margin-top: var(--unit);
}

/* .footer_opening > div > span + span::before {
	content: "\00a0";
} */

.footer_social {
	grid-column: 2;
	grid-row: 3;
	padding: 0 1px 1px 0;
}

.footer_social > div {
	display: flex;
	flex-wrap: wrap;
}

.footer_social > div + div {
	margin-top: var(--quarter-unit);
}

.footer_social .button {
	text-transform: uppercase;
	margin-right: -1px;
	margin-bottom: -1px;
}

.footer_prohelvetia {
	grid-column: 3;
	grid-row: 1 / -1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: var(--two-units);
}

.footer_prohelvetia img {
	max-width: 100%;
}

#cursor {
	display: block;
	width: 38px;
	height: 48px;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10000;
	pointer-events: none;
	visibility: hidden;
	will-change: transform;
	image-rendering: -moz-crisp-edges;
	image-rendering: -webkit-crisp-edges;
	image-rendering: pixelated;
	image-rendering: crisp-edges;
}

body.no-cursor {
	overflow-x: hidden;
}

body.no-cursor,
body.no-cursor * {
	cursor: none !important;
}

@media (max-width: 1280px) {
	.header_part {
		padding: 0 var(--half-unit);
	}

	.header_part > * {
		margin: 0 var(--half-unit);
	}
}

@media (min-width: 1024px) and (max-width: 1280px) {
	.header_part:first-of-type {
		padding-right: 0;
	}

	.header_part:last-of-type {
		padding-left: 0;
	}
}

@media (max-width: 1023px) {
	html {
		--header-opened: var(--three-units);
	}

	.header {
		height: var(--header-opened);
		padding: 0;
		overflow: hidden;
	}

	.header--minimal {
		padding: 0 var(--unit);
	}

	.header--minimal::after {
		display: none;
	}

	.header:target {
		height: auto;
	}

	.header--transparent:target {
		background-color: var(--background);
	}

	.header_open {
		display: block;
	}

	.header:target > .header_open {
		display: none;
	}

	.header:target > .header_close {
		display: block;
	}

	.header_part {
		width: 100%;
		height: auto;
		flex-wrap: wrap;
	}

	.header--minimal > .header_part {
		flex: 1;
		width: auto;
		padding: 0;
	}

	.header--minimal > .header_part:last-of-type {
		flex: 0 1 auto;
	}

	.header_part > * {
		width: 100%;
		height: var(--two-units);
		border-bottom: 1px solid var(--color);
		line-height: var(--two-units);
	}

	.header_part:first-of-type > :first-child {
		height: var(--three-units);
		line-height: var(--three-units);
	}

	.header--minimal > .header_part > * {
		margin: 0;
	}

	.header--minimal > .header_part > .languages {
		justify-content: end;
		height: var(--three-units);
		line-height: var(--three-units);
	}

	main {
		padding: var(--header-opened) var(--unit) var(--unit);
	}

	.news {
		margin: var(--three-quarter-unit) calc(-1 * var(--unit)) calc(-1 * var(--quarter-unit));
		padding: var(--three-quarter-unit);
	}

	.slideshow {
		height: calc(
			var(--window-height) - var(--header-opened) - var(--two-units) * 2 - (1rem + 1.4vw) *
				0.75
		);
		margin-top: var(--unit);
	}

	.footer {
		padding: var(--unit);
		gap: var(--unit);
		grid-template-columns: calc(50% - var(--half-unit)) 1fr 150px;
	}

	.footer_logo > img {
		width: 101.5%;
	}

	.footer_css {
		grid-column: 2 / span 2;
		grid-row: 1;
	}

	.footer_social {
		grid-column: 2 / span 2;
		grid-row: 2;
	}

	.footer_prohelvetia {
		grid-column: 2 / span 2;
		grid-row: 3;
		flex-direction: row;
	}

	.footer_prohelvetia > p {
		flex: 1;
	}

	.footer_prohelvetia > a {
		display: none;
	}
}

@media (max-width: 768px), (max-height: 600px) {
	html {
		--unit: calc(16rem / 14);
		font-size: 0.875em;
	}
}

@media (max-width: 768px) {
	.footer {
		max-height: none;
	}

	.footer_logo {
		grid-column: 1 / -1;
		grid-row: 1;
		margin-bottom: var(--unit);
	}

	.footer_logo > img {
		width: 100.7%;
		max-height: 33.333vw;
	}

	.footer_css {
		grid-column: 1 / span 2;
		grid-row: 2;
	}

	.footer_social {
		grid-column: 1 / span 2;
		grid-row: 3;
	}

	.footer_prohelvetia {
		grid-column: 3;
		grid-row: 2 / span 2;
		flex-direction: column;
		gap: var(--unit);
	}

	.footer_prohelvetia > a {
		display: block;
		max-width: 150px;
	}
}

@media (max-width: 600px) {
	.footer_logo > img {
		max-height: none;
	}
}

@media (max-width: 420px) {
	.footer {
		grid-template-columns: 1fr;
	}

	.footer_css {
		grid-column: 1 / -1;
	}

	.footer_social {
		grid-column: 1 / -1;
	}

	.footer_prohelvetia {
		grid-column: 1 / -1;
		grid-row: 4;
	}
}

@media (orientation: portrait) {
	.slideshow {
		flex-direction: column;
	}

	.slideshow_left .event {
		transform: translateX(100%) translateX(var(--three-units));
		animation: slideshow-left 6s cubic-bezier(0.6, 0, 0.2, 1) infinite;
	}

	.slideshow_right .event {
		transform: translateX(-100%) translateX(calc(var(--three-units) * -1));
		animation: slideshow-right 6s cubic-bezier(0.6, 0, 0.2, 1) infinite;
	}
}

@media (orientation: portrait) and (max-width: 1023px) {
	.slideshow_left .event {
		transform: translateX(100%) translateX(var(--unit));
	}

	.slideshow_right .event {
		transform: translateX(-100%) translateX(calc(var(--unit) * -1));
	}
}
