:root  {
	--accent-color: #719193;
	--accent-darker: #4b7389;
	--accent-dark: #3A4860;
	--link-hover: #f0bfb8;
	--light-background: #E6CE96;
	--light-color-darker: #EAD7AC;
	--link-hover-bg: #D0B77D;
	--white: #FFF;
	--gray: #C0C0C0;
	--black: #150f1c;
	--main-font: "Pixel Operator", Verdana;
}

* {
	box-sizing: border-box;
}

body {
	font-size: 20px;
	font-weight: 500;
	font-family: var(--main-font);
	background-color: var(--black);
	background-attachment: fixed;
	background-image: url("../images/computer bg.png");
	background-repeat: repeat;
	background-position: top;
}

#main-container {
	max-width: 900px;
	margin: 1.1em auto 0 auto;
}

#title {
	font-size: 1.2em;
	color: var(--light-background);
	font-variant: small-caps;
	margin-bottom: 0;
}

/* Header */

#main-header {
	background-color: var(--light-background);
	border: 2px solid var(--light-background);
	margin-bottom: 1em;
}

#header-image {
	height: 180px;
	background-color: var(--light-background);
	background-image: url("../images/header_bg.png");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top left;
	image-rendering: crisp-edges;
}

/* Nav */

#main-nav {
	background-image: url("../images/purple_bg.png");
	background-repeat: repeat-x;
	background-position: bottom;
	background-color: var(--accent-color);
}

#main-nav ul {
	list-style-type: none;
	padding: 0.2em 0.4em;
	margin: 0;
}

#main-nav li {
	display: inline-block;
	margin-right: 1em;
	margin-bottom: 0.2em;
	margin-top: 0.2em;
	font-variant: small-caps;
	font-size: 1.2em;
}

#main-nav a {
	color: var(--light-background);
	text-decoration: none;
}

#main-nav a:hover {
	text-decoration: underline;
	background: none;
}

/* Sections */

.window-section {
	background-color: var(--light-background);
	border: 2px solid var(--light-background);
}

.window-section:not(:first-child) {
	margin-top: 1em;
}

.window-heading {
	text-transform: lowercase;
	font-size: 1em;
	margin: 0;
	background-image: url("../images/purple_bg.png");
	background-repeat: repeat-x;
	background-color: var(--accent-color);
	color: var(--light-background);
	padding: .25em;
}

.window-heading::before {
	content: ' > ';
}

.section-content {
	padding: .25em;
}

.section-content p {
	line-height: 1.1em;
	margin: .5em .25em;
}

/* Margins */

.mb-0 {
	margin-bottom: 0;
}

/* Positioning */

.block {
	display: block;
}

.center {
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.right {
  float: right;
  margin-left: 1em;
}

.left {
  float: left;
  margin-right: 1em;
}

/* Links */

a {
	color: var(--accent-darker);
}

a:hover {
	background-color: var(--link-hover-bg);
}

.no-decoration {
	text-decoration: none;
}

.no-decoration:hover {
	background: none;
}

/* Paragraphs */

.bold {
	font-weight: bold;
}

.bottom-border {
	border-bottom: 2px dashed var(--accent-darker);
}

.muted {
	color: var(--accent-color);
}

.accent {
	color: var(--accent-darker);
	font-weight: bold;
}

.small-caps {
	font-variant: small-caps;
}

.light-text {
	color: var(--light-background);
}

.bigger {
	font-size: 1.2em;
}

.caption {
  margin-top: 0;
  font-size: 0.8em;
  font-style: italic;
}

/* Headers */

.section-content h1, .section-content h2, .section-content h3 {
	color: var(--accent-darker);
	font-family: 'Menu';
	font-size: 1.4em;
	margin: .5em 0 .25em .25em;
	border-bottom: 2px dashed var(--accent-color);
}

/* Images */

img {
	max-width: 100%;
	height: auto;
}

.pixelated {
	image-rendering: pixelated;
}

/* Lists */

.section-content ol, ul {
	margin: .25em 0 .35em 0;
	padding-left: 28px;
}

.section-content ul {
	list-style-type: square;
}

.section-content li::marker {
	color: var(--accent-darker);
}

/* Flex container that's even */

.flexcol {
	display: flex;
}

.even-flex {
	display: flex;
	flex-wrap: wrap;
}

.even-flex-item {
	flex: 1 1 0;
	width: 100%;
}

/* Horizontal rule */

hr.dashed {
	border-bottom: 2px dashed var(--accent-color);
	border-top: none;
}

/* Footer */

#main-footer {
	color: var(--light-background);
	font-size: 1.2em;
	font-variant: small-caps;
	margin-top: 1em;
}

/* Main page tooltip */

.tooltip {
	position: relative;
	display: inline-block;
}

.tooltip:hover {
	cursor: pointer;
}

.tooltip:hover .tooltip-text {
	visibility: visible;
}

.social-icon {
	position: relative;
}

.tooltip:hover .social-icon {
	top: -4px;
}

.tooltip-text {
	visibility: hidden;
	width: 106px;
	background-color: var(--accent-darker);
	color: var(--light-background);
	font-size: 0.8em;
	text-align: center;
	padding: 5px 0;
	position: absolute;
	z-index: 1;
	top: 100%;
	left: 50%;
	margin-left: -60px;
}

/* Commission thumbnails div */

.commission-thumbnails {
	margin-top: 1em;
	margin-bottom: 0;
}

.commission-thumbnails img {
	max-width: 200px;
}

.commission-thumbnails a {
	text-decoration: none;
}

.commission-thumbnails a:hover {
	background: none;
}

.jumptop {
	width: 150px;
	height: 150px;
	position: fixed;
	right: 10px;
	bottom: 10px;
	background-image: url("../images/jumptop.png");
	background-repeat: no-repeat;
	background-size: cover;
}

.jumptop:hover {
	bottom: 20px;
}

/* Fonts */

@font-face {
	font-family: "Pixel Operator";
	src: url("../fonts/PixelOperator.ttf") format("truetype");
}

@font-face {
	font-family: "Pixel Operator";
	src: url("../fonts/PixelOperator-Bold.ttf") format("truetype");
	font-weight: bold;
}

@font-face {
	font-family: "Menu";
	src: url("../fonts/pixeldroidMenuRegular.ttf") format("truetype");
}

@media screen and (max-width: 720px) {
	#main-nav {
		background-color: var(--accent-dark);
		background-repeat: repeat-x;
		background-position: top;
	}
	#header-image {
		background-position: center;
	}
	.flexcol {
		flex-direction: column;
	}
	.jumptop {
		width: 100px;
		height: 100px;
		right: 4px;
		bottom: 4px;
	}
}