@font-face {
	font-family: 'Hack';
	src: url('assets/woff2/hack/Hack-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-size: 16px;
	font-family: 'Hack', monospace;
	scrollbar-color: #404040 transparent;
	scrollbar-width: thin;
	line-height: 200%;
}

body {
	background-image: url("assets/background.png");
	background-size: cover;
	background-attachment: fixed;
	background-position: center;
	color: #c0c0c0;
	line-height: 1.5;
	max-width: 700px;
	margin: 0 auto;
	padding: 1rem;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

main {
	flex: 1;
}

.page-date {
	color: #808080;
	padding-bottom: 3rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid #404040;
}

.title {
	font-size: 175%;
	margin: 0;
}

.list-title {
	font-size: 175%;
	padding-bottom: 3rem;
	margin-bottom: 1rem;
	border-bottom: 1px solid #404040;
	
}

a {
	text-decoration: none;
	color: #c06060;
	border-radius: 3px;
}

a:hover {
	text-decoration: none;
	color: #101010;
	background: #c06060;
}

h1, h2 {
	margin: 0 0 1rem 0;
}

h1 {
	font-size: 150%;
}

h2 {
	font-size: 125%;
}

p {
	margin-bottom: 1rem;
}

code, pre {
	font-family: inherit;
}

code {
	border-radius: 3px;
	margin: 0 0.25rem;
	background-color: #484848;
}

pre {
	overflow-x: auto;
	margin-bottom: 1rem;
	padding: 0.5rem;
	border: 2px solid #404040;
	border-radius: 6px;
	background-color: #40404040;
}

ul, ol {
	margin-bottom: 1rem;
	list-style-position: inside;
}

pre code {
	background-color: #00000000;
	margin: 0;
}

ul {
	list-style-type: "- ";
}

nav {
	margin-top: 1rem;
	margin-bottom: 3rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #404040;
}

nav a {
	margin-right: 2rem;
}

footer {
	margin-bottom: 1rem;
	margin-top: 3rem;
	padding-top: 1rem;
	border-top: 1px solid #303030;
	text-align: center;
	color: #808080;
}
