@font-face
{
	font-family: 'Intel One Mono';
	src: url('/fonts/IntelOneMono-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
}

@font-face
{
	font-family: 'Intel One Mono';
	src: url('/fonts/IntelOneMono-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
}

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

html
{
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body
{
	font: 18px/1.5 'Intel One Mono', monospace;
	background: #111;
	color: #fff;
	overflow-x: hidden;
	position: relative;
}

.header, .container
{
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	overflow-x: hidden;
}

.header
{
	position: fixed;
	top: 0;
	left: 50%;
	transform: translateX(-600px);
	z-index: 100;
	background: #111;
	padding: 5px 10px;
	height: 36px;
	overflow-y: hidden;
}

.container
{
	min-height: 100vh;
}

main
{
	flex: 1;
	padding: 20px;
	padding-bottom: 50vh;
	margin-right: calc(((200px + (50vh / 3)) / 2) + 20px);
	overflow-x: hidden;
}

.sidebar
{
	font: 18px/1.0 'Intel One Mono', monospace;
	width: calc((200px + (50vh / 3)) / 2);
	padding: 10px 10px;
	position: fixed;
	right: calc(50% - 600px);
	top: 0;
	height: 100vh;
	background: radial-gradient(at top left, #122, #111 75%);
}

.sidebar::before
{
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 2px;
	background: linear-gradient(to bottom, #265, #111);
}

.logo
{
	width: calc(100% - 20px);
	height: auto;
	margin: 10px;
	padding-bottom: 10px;
	display: block;
}

nav
{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

nav a
{
	color: #bbb;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	border: 0px solid transparent;
	border-radius: 777px;
	border-color: #111;
	justify-content: left;
	padding-top: 4px;
	padding-bottom: 6px;
	padding-left: 12px;
	padding-right: 12px;
	transition: all .2s;
}

nav a:hover
{
	color: #0fb;
}

nav a.active, nav a.active:hover
{
	border: 2px solid transparent;
	border-color: #265;
	text-shadow: 0 0 .75em #265;
	box-shadow: 0 0 1.5em #043;
	color: #0fb;
}

.section
{
	position: relative;
	min-height: 100vh;
}

.divider
{
	position: relative;
	left: -20px;
	width: 100%;
	height: 2px;
	margin: 20px 0;
	border: none;
	background: linear-gradient(to right, #265, #111);
}

.dot-divider {
	text-align: center;
	margin: 16px 0;
	font-size: 16px;
	letter-spacing: 0.5em;
	line-height: 1;
}

h1, h2, h3
{
	font-weight: bold;
	color: #fff;
	margin-top: 30px;
	margin-bottom: 20px;
	text-align: center;
}

h1 { font-size: 40px; }
h2 { font-size: 30px; }
h3 { font-size: 20px; }

h4, h5, h6
{
	font-weight: bold;
	color: #0fb;
	margin: 20px 0;
	text-align: center;
}

h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

pre
{
	font-size: 16px;
	line-height: 1.5;
	border: 2px solid #122;
	padding: 14px;
	margin: 14px 0;
	overflow-x: auto;
	border-radius: 16px;
	tab-size: 2;
	-moz-tab-size: 2;
}

code
{
	background: #122;
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 0.9em;
}

pre code
{
	background: none;
	padding: 0;
	font-size: inherit;
}

a
{
	color: #0fb;
}

blockquote
{
	border-left: 4px solid #265;
	margin: 16px 0;
	padding-left: 16px;
	color: #bbb;
}

ul, ol
{
	margin: 10px 0;
	padding-left: 30px;
}

li
{
	margin-bottom: 5px;
	line-height: 1.25;
}

ul li
{
	list-style-type: disc;
}

ul li::marker
{
	color: #0fb;
	text-shadow: 0 0 0.5em #076;
}

ul ul li
{
	list-style-type: circle;
}

ul ul li::marker
{
	color: #0fb;
	text-shadow: 0 0 0.5em #076;
}

ol li
{
	list-style-type: decimal;
}

ol li::marker
{
	color: #0fb;
	text-shadow: 0 0 0.5em #076;
}

table
{
	border-collapse: collapse;
	margin: 20px 0;
	width: 100%;
}

th, td
{
	border: 1px solid #265;
	padding: 4px 6px;
	text-align: left;
}

th
{
	background: #122;
	color: #0fb;
	font-weight: bold;
	white-space: nowrap;
}

td
{
	word-break: break-word;
	white-space: normal;
}

td code
{
	white-space: nowrap;
}

tr:nth-child(even)
{
	background: rgba(17, 34, 34, 0.5);
}

p
{
	margin-bottom: 16px;
}

hr
{
	position: relative;
	left: -20px;
	width: calc(100% + 40px);
	height: 2px;
	margin: 20px 0;
	border: none;
	background: linear-gradient(to right, #265, #111);
}

.back
{
	display: inline-block;
	color: #0fb;
	text-decoration: none;
	margin-bottom: 32px;
	font-weight: bold;
	text-align: left;
	white-space: nowrap;
}

.back:hover
{
	text-shadow: 0 0 .75em #265;
}

#content
{
	padding: 5px;
	opacity: 0;
	transition: opacity 0.3s;
}

#content.loaded
{
	opacity: 1;
}

@media(max-width: 1200px)
{
	.sidebar
	{
		right: 0;
	}
}

@media(max-width: 800px)
{
	body
	{
		font-size: 16px;
	}
	
	.header
	{
		left: 0;
		transform: none;
	}
	
	.container
	{
		flex-direction: column;
	}

	main
	{
		margin-right: 0;
		padding: 10px;
		padding-bottom: 50vh;
	}

	.sidebar
	{
		font: 14px/1.0 'Intel One Mono', monospace;
		width: 100%;
		padding: 10px;
		border-left: 0;
		position: fixed;
		top: 0;
		height: auto;
		z-index: 100;
		background: radial-gradient(at bottom left, #122, #111 75%);
	}
	
	.sidebar::before
	{
		left: auto;
		top: auto;
		right: 0;
		bottom: 0;
		width: 100%;
		height: 2px;
		background: linear-gradient(to right, #265, #111);
	}
	
	.logo
	{
		width: auto;
		height: 50px;
		margin: 1px;
		padding-right: 10px;
		padding-bottom: 0px;
	}

	nav
	{
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: left;
		flex-wrap: wrap;
	}
	
	nav a
	{
		padding-top: 4px;
		padding-bottom: 6px;
		padding-right: 8px;
		padding-left: 8px;
	}

	h1 { font-size: 26px; }
	h2 { font-size: 21px; }
	h3 { font-size: 16px; }
	h4 { font-size: 15px; }
	h5 { font-size: 14px; }
	h6 { font-size: 13px; }
	
	pre
	{
		font-size: 14px;
		padding: 10px;
		margin: 10px -4px;
		border-radius: 14px;
	}

	.section
	{
		padding: 3px;
	}
	
	.dot-divider {
		margin: 14px 0;
		font-size: 14px;
	}
}

@media(hover:none)
{
	nav a:hover
	{
		background: 0;
		color: #bbb;
		transform: none;
	}
}

H
{
	font-weight: bold;
	text-shadow: 0 0 1.75em #076;
	color: #0fb;
}
EDG { color: #f04 }
C { color: #4bf }
M { color: #b4f }
Y { color: #fb4 }
DG { color: #444 }
G { color: #777 }
LG { color: #aaa }