@font-face {
	font-family: "IBM Plex Mono";
	src: url("assets/fonts/IBMPlexMono-Regular.ttf");
	font-weight: 500;
	font-style: normal;
}
@font-face {
	font-family: "IBM Plex Mono";
	src: url("assets/fonts/IBMPlexMono-Thin.ttf");
	font-weight: 300;
	font-style: normal;
}
@font-face {
	font-family: "IBM Plex Mono";
	src: url("assets/fonts/IBMPlexMono-Italic.ttf");
	font-weight: 500;
	font-style: italic;
}
@font-face {
	font-family: "IBM Plex Mono";
	src: url("assets/fonts/IBMPlexMono-Bold.ttf");
	font-weight: 700;
	font-style: normal;
}
@font-face {
	font-family: "IBM Plex Mono";
	src: url("assets/fonts/IBMPlexMono-BoldItalic.ttf");
	font-weight: 700;
	font-style: italic;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
	background-color: #003059;
	font-family: "IBM Plex Mono", sans-serif;
	font-weight: normal;
}

::-webkit-scrollbar {
    display: none;
}
html, body {
  overscroll-behavior: none;
}




/* Container with images */
.container {
	display: flex;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	height: 100dvh;
	padding-right: 100vw;
}
.container img {
	flex-shrink: 0;
	height: 100%;
	background-color: black;
	display: block;
	line-height: 0;
}

/* Death counter */
.death-counter {
	position: fixed;
	right: 40px;
	top: 40px;
	color: white;
	text-align: right;
	opacity: 0;
	transition: opacity 0.6s ease;
	pointer-events: none;
	z-index: 100;
}
.death-counter.visible {
	opacity: 0.9;
}
.counter-number {
	display: block;
	font-size: 48px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}
.counter-label {
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-top: 4px;
	opacity: 0.6;
}

/* Descriptions */
.descriptions {

	pointer-events: none;
}
.description-block {
	position: fixed;
	left: 40px;
	bottom: 40px;
	max-width: min(400px, calc(100vw - 80px));
	width: 100%;
	background-color: #003059;
	opacity: 0;
	color: white;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 30px;
	transition: opacity 0.3s ease;
	text-wrap: pretty;
}

/* Title splash block */
.description-block.title-splash {
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	min-width: unset;
	min-height: unset;
	width: 100vw;
	height: 100dvh;
	max-width: 100vw;
	opacity: 1;
	text-align: center;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 48, 89,0.9);
}
.description-block.title-splash h1 {
	font-size: clamp(40px, 12vw, 200px);
	font-weight: 300;
}

/* Abstract splash block */
.description-block.splash {
	left: 50%;
	bottom: 50%;
	transform: translate(-50%, 50%);
	max-width: min(640px, calc(100vw - 80px));
	
	opacity: 0;
	transition: left 0.6s ease, bottom 0.6s ease, transform 0.6s ease, max-width 0.6s ease;
}
.description-block.splash.scrolled {
	left: 40px;
	bottom: 40px;
	transform: translate(0, 0);
	max-width: min(400px, calc(100vw - 80px));
}

.description-block h1 {
	font-size: 32px;
	font-weight: 300;
	line-height: 1.1em;
	text-transform: uppercase;
}
.description-block h2 {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.1em;
}
.description-block p {
	font-size: 14px;
	line-height: 1.45em;;
	font-weight: 300;
}

@media only screen and (max-width: 600px) {
	.description-block.splash {
		max-width: min(640px, calc(100vw - 40px));
		max-height: calc(100dvh - 40px);
		overflow-y: scroll;
	}
	.description-block {
		left: 20px;
		bottom: 20px;
		max-width: min(400px, calc(100vw - 40px));
		padding: 20px;
	}
	.description-block p {
		font-size: 16px;
		font-weight: 500;
		/* make font weight a liiiiiiittle 700er */
	}
}