@font-face {
	font-family: 'ToProcess';
	src: url('ToProcess-Regular.woff2') format('woff2'),
		 url('ToProcess-Regular.woff') format('woff');
	font-weight: normal;
	font-style: normal;
}

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

html {
	font-size: 10px;
}

html,
body {
	height: 100%;
}

body {
	display: flex;
	flex-direction: column;
	-moz-osx-font-smoothing: greyscale;
	-webkit-font-smoothing: antialiased;
	color: white;
	font-family: 'ToProcess', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	font-feature-settings: "ss01" 1, "ss02" 2;
	background-color: black;
}

body.hover a:not(.hover),
body.hover h2,
body.hover p span {
	opacity: 0.25;
}

body.hover video {
	opacity: 0.1;
}

body.special video {
	opacity: 1;
}

h1,
h2 {
	font-weight: normal;
	font-size: 2rem;
}

h1 {
	padding: 2rem 2rem 0;
}

h1 + p {
	padding-top: 0.2rem;
}

h2 {
	transition: opacity 0.5s ease-in-out;
}

details {
	font-size: 2rem;
}

summary {
	padding: 2rem;
	opacity: 0.25;
	transition: opacity 0.5s ease-in-out;
	cursor: pointer;
}

summary:hover {
	opacity: 1;
}

nav {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	position: relative;
}

a {
	display: block;
	position: relative;
	color: white;
	text-decoration: none;
	transition: opacity 0.5s ease-in-out;
}

a.soon {
	opacity: 0.5;
	pointer-events: none;
}

a small {
	display: block;
	margin-top: 0.2rem;
	font-size: 1.2rem;
	opacity: 0.5;
}

a small::before {
	content: "w/ ";
}

nav a {
	padding: 2rem;
}

p {
	padding: 2rem;
	font-size: 1.2rem;
}

p:last-of-type {
	margin-top: auto;
}

p span {
	opacity: 0.5;
	transition: opacity 0.5s ease-in-out;
}

p a {
	display: inline-block;
}

video {
	width: 100%;
	height: 100%;
	max-width: 600px;
	max-height: 600px;
	position: fixed;
	top: 50%;
	left: 50%;
	z-index: -1;
	transform: translate(-50%, -50%);
	opacity: 0.1;
	transition: opacity 0.5s ease-in-out;
}