* {
	--color-main: #eee;
	--color-inverse: #222;
	--color-accent: #611;
	--color-accent-2: #933;
	--color-accent-3: #ff9b9b;
	--color-support: rgb(255, 243, 178);
	--size-content: 60em;
	--size-sidebar: max(225px, 17em);
	--size-font: 16px;
}

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

body {
	background-color: var(--color-inverse);
	color: var(--color-main);
	font-family: sans-serif;
	margin: 0;
	margin-bottom: 2em;
}

/* Code Support */

code, pre {
	font-size: var(--size-font);
}

.wrappable-pre {
	white-space: pre-wrap;
}

.wrappable-code {
	overflow-wrap: anywhere;
}

/* End Code Support */

a {
	color: var(--color-accent-3);
}

header {
	margin: 0.25em 0.25em 0.25em 0.25em;
}

.sidebar {
	background-color: var(--color-accent);
}

main {
	padding-left: 0.5em;
	line-height: 1.5;
	margin-bottom: 1em;
}

/* Lists */

.nb {
	font-size: 18px;
}

.nb li {
	list-style-type: none;
}

/* Buttons */

.btn {
	border: 1px solid;
	color: var(--color-button);
	border-radius: 3px;
	padding: 0.5em;
	font-weight: bold;
	text-decoration: none;
	background-color: #000;
	font-family: inherit;
	font-size: inherit;
	cursor: pointer;
}

/* Text Boxes */

.themed-textbox {
	background-color: #000;
	color: var(--color-main);
	border: 1px solid;
	border-radius: 3px;
}

.themed-textbox:invalid {
	border-color: red;
}

.biginput {
	background-color: #000;
	color: var(--color-main);
	border: 1px solid;
	border-radius: 3px;
	font-size: 24px;
}

/* Mobile Compat */

@media screen and (max-width: 767px) {
	.desktop-only {
		display: none;
	}

	textarea {
		width: 100%;
	}
}

/* Specially Sized Tables */

@media screen and (max-width: 767px) {
	.power-of-2-table {
		font-size: 0.83rem;
	}
}

/* Footer */

.footer {
	color: #777;
	font-size: small;
	padding-bottom: 1em;
}

.footer a {
	color: inherit;
}

/* Man Pages */

.man-fB {
	color: var(--color-accent-3);
}

.man-fI {
	font-style: italic;
}

.man-RB {
	text-decoration: underline;
}

.man-RI {
	font-style: italic;
}

/* Articles */

.article-title {
	margin-bottom: 0;
}

.article-url {
	text-decoration: none;
}

.article-info {
	font-style: italic;
}

/* Sidebar Navigation */

header h1 {
	display: inline;
}

header h2 {
	display: inline;
}

.nav-link {
	color: white;
	font-weight: bold;
	text-decoration: none;
	padding: 0.25em 0 0.25em 2em;
	display: inline-block;
	width: 100%;
}

@media screen and (max-width: 767px) {
	.nav-link {
		min-height: 50px;
		font-size: 20px;
	}
}

.main-nav menu {
	padding-left: 0;
}

.main-nav-item {
	list-style-type: none;
}

.main-nav-item:hover {
	background-color: var(--color-accent-2);
}

.support-text {
	color: var(--color-support);
}

/* Table Stuff */

@media only screen and (min-width: 600px) {
	td {
		padding-right: 3em;
	}
}

/* Sidebar Stuff */

.wrapper {
	margin: 0 auto;
}

.content {
	width: 100%;
	height: 100%;
	float: left;
}

.sidebar-left {
	width: 100%;
	height: 100%;
	float: left;
}
  
  
@media only screen and (min-width: 600px) {
	.wrapper,
	.content,
	.sidebar-left {
		position: relative;
	}
  
	.sidebar-left {
		width: var(--size-sidebar);
		left: -50%;
	}
  
	.content {
		width: 50%;
		left: var(--size-sidebar);
	}
}
  