:root {
	--color-primary: rgb(150, 150, 150);
	--color-secondary: rgb(190, 190, 190);
}
* {
	box-sizing: border-box;
	font-variant-emoji: text;
}
body {
	background-color: rgb(22, 22, 22);
	color: var(--color-primary);
	margin: 4em 2em;
	font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-weight: 300;
}
h1, h2, h3, h4 {
	font-size: 1em;
	margin: 0;
	padding: 0;
	font-weight: 300;
}

h1 {
	font-weight: bold;
	font-size: 3.6em;
	margin: -0.1em 0;
	color: white;
}
.version {
	font-size: 0.6em;
	vertical-align:text-top;
	font-weight: 300;
}

h2, h3{
	color: var(--color-primary);
}

h4 {
	color: white;
}
.grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 4px;
}
video {
	position: relative;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	display: block;
	background-color: black;
	aspect-ratio: 1/1;
}
figure {
	position: relative;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	margin: 0;
	display: block;
}
figcaption {
	font-size: 0.8em;
	color:white;
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	color: white;
	opacity: 0;
	transition: opacity 0.3s ease;
	padding: 1em;
	display: block;
}
figcaption h2 {
	font-weight: normal;
	font-size: 1em;
	margin: 0;
	padding: 0;
}
figcaption p {
	opacity: 0.75;
}

figcaption p.bottom {
	position: absolute;
	bottom: 1em;
	left: 1em;
}

figcaption:hover {
	opacity: 1;
}
p {
	hyphens: auto;
	width: 66.6%;
	max-width: 40em;
	margin: 0;
}

hr {
	margin: 1em 0;
	border: 0;
}
a {
	color: var(--color-secondary);
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
	color: white;
}

.fullscreen-link:before {
	content: "\26F6";
	width: 1.5em;
	display: inline-block;
}
.download-link:before {
	content: "\2198";
	width: 1.5em;
	display: inline-block;
}

@media (max-width: 600px) {
	body {
		margin: 1.2em 0.6em;
	}
	.grid {
		gap: 2px;
		grid-template-columns: repeat(2, 1fr);
	}
	p {
		width: 100%;
	}
}

