:root {
	--background: #111;
	--secondary-background: rgba(255, 255, 255, 0.05);
	--cell: rgba(40, 40, 40, 1);
	--cell-border: rgba(255, 255, 255, 0.1);
	--title: rgba(255, 255, 255, 0.85);
	--text: rgba(255, 255, 255, 0.5);
	--strong-text: rgba(255, 255, 255, 0.8);
	--shadow: rgba(0, 0, 0, 0.8);
	--tint: #f09000;
	--tint-bg: rgba(240, 144, 0, 0.25);

	--header-text: rgba(0, 0, 0, 0.7);
	--nav-height: 4em;
}

* {
	box-sizing: border-box;
	text-size-adjust: none;
}

html,
body {
	margin: 0;
	padding: 0;
	background: var(--background);
	color: var(--text);
	font-family: ui-rounded, system-ui;
	overflow-x: hidden;
}

main,
header > div {
	max-width: 30rem;
	padding: 0 30px;
}

main {
	margin: 0 auto 100px auto;
}

header {
	margin: 6em auto 0 auto;
	padding: 0;
	text-align: center;
}

header > div {
	margin: 0 auto;
}

header img {
	height: 8em;
	width: auto;
}

header h1 {
	font-size: 3em;
}

h1,
h2,
h3 {
	color: var(--title);
	font-weight: 800;
	font-family: ui-serif, Georgia, serif;
}

h2 {
	font-size: 2em;
	text-align: center;
	margin: 2em 0 0 0;
}
h2 p {
	margin: 0.3em 0 0 0;
	font-size: 0.85em;
	opacity: 0.6;
	line-height: 1;
}
h2 p + p {
	margin: 0.2em 0 0 0;
	font-size: 1em;
	opacity: 1;
}

h2 p + p + p {
	padding: 0;
	margin: 0.4em 0 0 0;
	font-size: 0.7em;
	opacity: 0.3;
	line-height: 1;
}

h2 {
	padding-bottom: 0.8em;
}

h2 strong {
	font-weight: inherit;
	color: var(--tint);
}

.top-nav-logo {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.top-nav-logo img {
	height: 2em;
	width: auto;
}

.top-nav-links {
	display: flex;
}

nav {
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--nav-height);
	padding: 0 1.5em;
	border-bottom: 2px solid rgba(0, 0, 0, 0.7);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
	position: relative;
	max-width: 30rem;
	margin: 0 auto;
	text-align: center;
}

nav div {
	display: inline-block;
}

nav a {
	color: var(--text);
	text-decoration: none;
	font-size: 0.9em;
	font-weight: 500;
	transition: color 0.2s ease;
	vertical-align: middle;
	text-align: left;
	display: inline-block;
	text-transform: uppercase;
	padding: 0.3em 0.4em;
	border-radius: 0.4em;
	margin: 0 0.3em;
}

nav div > a span {
	font-weight: 400;
	font-size: 0.7em;
	text-transform: none;
	opacity: 0.5;
	display: none;
}

nav a:hover {
	background: var(--tint-bg);
}

.tinted {
	color: var(--tint);
}

ul {
	list-style-type: none;
	padding: 0 0 2em 0;
	margin: 1em 0;
	border-bottom: 2px solid rgba(0, 0, 0, 0.7);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

li ul {
	list-style-type: disc;
	padding-left: 2em;
	border-bottom: none;
	box-shadow: none;
}

li ul li {
	margin-bottom: 0.3em;
}

#privacy {
	border-bottom: 0;
}

li {
	position: relative;
	list-style-position: outside;
}
li > h3 {
	font-family: ui-rounded, system-ui;
	font-weight: 700;
	margin: 2em 0 0 0;
	font-size: 1em;
	padding: 0.4em 0 0.5em 0;
	background-size: 2em;
	background-position: center right;
	background-repeat: no-repeat;
	background: none !important;
}

li > h3.intro {
	margin-top: 0;
}

li > p {
	font-weight: 400;
	margin: 0.5em 0;
	padding: 0 0 0 0;
	line-height: 1.5;
}

li > p strong {
	font-weight: inherit;
	color: var(--strong-text);
}

li img {
	position: relative;
	width: 100%;
	height: auto;
	border-radius: 5px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 1);
}

li img.wide {
	--width: min(100vw, calc(100% + 300px));
	--content: calc(100%);
	width: var(--width);
	left: calc((var(--content) - var(--width)) * 0.5);
}

li img.borderless {
	box-shadow: none;
}

li img.trailing {
	width: 40%;
	float: right;
	margin-left: 1em;
	margin-bottom: 0.5em;
}

main a {
	text-decoration: none;
	color: var(--tint);
	font-weight: 500;
}

.hearts {
	font-weight: inherit;
	font-style: normal;
	background-image: url(/hover_bg.gif);
	background-position: center;
	background-size: auto 100%;
}
