/*		===		Base styling	===		 */
* {
	font-family: MS UI Gothic, DejaVu Sans, Verdana, Arial, sans;
	font-size: 13px;
}
html {
	background-color: #1E1D39;
	padding: 80px 0;
}
body {
	overflow: visible;
}
hr {
	border: none;
	border-top: dotted 2px #000;
	margin: 12px 64px;
}
/* Remove top margins from paragraphs */
p {
	margin-top: 0;
}
a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-decoration-style: dotted;
	text-underline-position: under;
	color: #0163C6;
}
a:hover {
	color: #E53B44;
}
/*		===		Special element styling	===		 */
/* Main page area */
#main {
	margin: auto;
	max-width: 340px;
	overflow: hidden;
}

/* Header div */
#header {
	background-color: #1E1D39;
	color: #F1EBDB;
	image-rendering: -moz-crisp-edges;
	image-rendering: -o-crisp-edges;
	image-rendering: -webkit-optimize-contrast;
	-ms-interpolation-mode: nearest-neighbor;
}
/* Header - Text */
#header h1 {
	font-family: monospace;
	padding: 12px 12px 0px 12px;
	margin: 0;
	font-size: 24px;
	font-weight: bold;
	font-style: italic;
}

/* Navbar - Main area */
#navbar {
	padding: 0px 10px 0px 10px;
}
#navbar li {
	margin: 0px;
}
/* Global values for nav buttons */
#navbar a {
	display: inline-block;
	padding: 2px 6px;
	color: #F1EBDB;
	padding-bottom: 4px;
}
/* Unselected nav buttons */
#navbar a:hover:not(#selected) {
	background-color: #00000000;
	color: #F8C53A;
	-webkit-border-radius: 0px;
	-khtml-border-radius: 0px;    
	-moz-border-radius: 0px;
	border-radius: 0px;
}
/* Selected nav button */
#selected {
	background-color: #F1EBDB;
	cursor: default;
	color: #000 !important;
	text-decoration: none !important;
}

/* Footer - Text */
#footer p {
	color: #000;
	text-align: center;
	font-size: 12px;
	margin: 0;
	padding-bottom: 4px;
}
#content {
	width: 100%;
	display: inline-block;
	background-color: #F1EBDB;
}

/*		===		Common element styling	===		 */
/* Splitter - Main area */
.splitter {
	margin: 8px;
	display: flex;
}
/* Splitter - Child divs */
.child {
	padding: 8px;
	flex: 1;
}

/* Buttons */
.button {
	display: table;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	border: 1px solid #CEC9BB;
}
.button:hover {
	border: 1px solid #000;
	background-color: #F8C53A;
}
.button img {
	height: 32px;
}

/* Horizontal unordered lists */
.hList {
	display: flex;
}
.hList ul {
	list-style-type: none;
	padding-left: 0;
	margin: 0px;
}
/* Horizontal UL - Make list horizontal */
.hList ul li {
	float: left;
	margin: 2px;
}

/* Project div */
.project {
	overflow: hidden;
	border: 1px solid #CEC9BB;
	padding: 12px;
}
/* Margin between projects */
.project:not(:last-child) {
	margin-bottom: 8px;
}
.project span {
	color: #886E6A;
}
.project p {
	margin: 0px 0px 8px 0px;
	
}
.project img {
	text-align: center;
	width: 100%;
}
