:root {
	--HeaderBackgroundColor: #222;
	--NavColor: #999;
	--NavHoverColor: #666;
	--NavSelectedColor: #fff;
	--ContentBackgroundColor: #fff;
	--FooterBackgroundColor: #222;
}

html, body {
	width:  100%;
	height: 100%;
	margin: 0px;
	padding: 0px;
	border: 0px;
	display: block;
	background: black;
	font-family: "Verdana", "Geneva", sans-serif;
	font-size: 100%;
	vertical-align: baseline;
	line-height: 1;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

body {
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-color: #000;
}

/* HEADER STUFF */
#header {
	display: block;
	width: 100%;
	margin: 0px;
    padding: 0px;
	border: 0px;
    overflow: hidden;
    background-color: var(--HeaderBackgroundColor);
}
#header h1 {
	display: block;
	margin: 17px 20px;
	padding: 0px;
	font-size: 36px; /* 36px + 2*17px = 70px */
	color: white;
	float: left;
}
#header ul {
	list-style-type: none;
	padding: 0px;
	margin: 0px;
}
#header li {
	float: right;
}
#header a {
    display: block;
    text-align: center;
	margin: 25px 20px;
    padding: 0px;
	font-size: 20px; /* 20px + 2*25px = 70px */
    text-decoration: none;
}
#header a:not(.navSelected) {
    color: var(--NavColor);
}
#header a:hover:not(.navSelected) {
	color: var(--NavHoverColor);
}
#header a.navSelected {
	color: var(--NavSelectedColor);
}

/* TITLE STUFF */
#title {
	display: block;
	width: 100%;
	height: calc(100% - 70px); /* make sure to have space around - sign */
	margin: 0px;
	padding: 0px;
	border: 0px;
	background-color: var(--PageTitleColor);
}
#title h1 {
	display: block;
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
	margin: 0px;
	padding: 0px;
	font-size: 60px;
	color: white;
	text-shadow: 2px 2px 4px #333;
}
#title span {
	display: block;
	position: absolute;
    top: 95%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
	margin: 0px;
	padding: 0px;
}

#scrollUpSpan {
	width: 70px;
}
#arrow { 
	border: solid white;
	border-width: 0 10px 10px 0;
	display: inline-block;
	padding: 10px;
}
#arrow:hover {
	border: solid gray;
	border-width: 0 10px 10px 0;
}
.downArrow {
	transform: rotate(45deg);
}
.upArrow {
	transform: rotate(-135deg);
}

/* PAGE CONTENT STUFF*/
#container {
	display: block;
	width: 100%;
	margin: 0px;
	padding: 0px;
	border: 0px;
	background-color: var(--ContentBackgroundColor);
}
#content {
	display: block;
	width: 1000px;
	margin: 0px auto;
	padding: 20px;
	border: 0px;
	background: none;
}
#content h1 {
	font-size: 36px;
	color: var(--PageTextColor);
	margin: 0px;
	padding: 20px 0px 20px 0px;
}
#content h2 {
	font-size: 28px;
	line-height: 36px;
	color: var(--PageTextColor);
	margin: 0px;
	padding: 20px 0px 10px 0px;
}
#content h3 {
	font-size: 20px;
	line-height: 28px;
	color: var(--PageTextColor);
	margin: 0px;
	padding: 0px 0px 0px 0px;
}
#content p{
	font-size: 18px;
	line-height: 26px;
	margin: 0px 0px 10px 0px;
	padding: 0px;
}
#content a, #content a:visited {
	color: var(--PageTextColor);
	text-decoration: none;
}
#content a:hover {
	color: var(--PageAltColor);
}

/*Stuff for about me page */
.profileImageWrapper {
	position: relative;
	width: 400px;
	float: right;
	margin: 10px 12px;
}
.profileImageText {
    position: absolute;
    top: 0;
    color: white;
    background-color:rgba(0,0,0,0.8);
    width: 402px;
    height: 572px;
    line-height:572px;
    text-align: center;
	font-size: 20px;
	font-weight: bold;
    z-index: 2;
    opacity: 0;
    transition: all 0.5s ease;
}
.profileImageText:hover {
	opacity: 1;
}
.profileImage {
	width: 400px;
	height: 570px;
	border: 1px solid #555;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	z-index: 1;
}

/* Table stuff for research page */
.tableClass {
	padding: 0px;
	margin: 30px 0px;
	border: 0px;
	border-spacing: 0px;
}
.tableCellThumbnail {
	vertical-align: top;
	width: 200px;
	padding: 0px;
	margin: 0px;
	border: 0px;
}
.tableCellDescription {
	vertical-align: top;
	width: 800px;
	padding: 0px 0px 20px 20px;
	margin: 0px;
	border: 0px;
}
.thumbnailImage {
	position: absolute;
	width: 200px;
	border: 1px solid #555;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.medalImage {
	position: absolute;
	width: 50px;
	transform: translateX(150px) translateY(5px);
}

/* More info stuff for resume page */
.moreInfoTitle {
	display: block;
	padding: 0px 0px 0px 30px;
	margin: 0px;
	border: 0px;
	cursor: pointer;
}
.moreInfoTitle:before {
	position: absolute;
	content: '+';
	/* color: var(--PageTextColor); */
	color: rgba(80, 160, 160, 1.0); /* because Microsoft */
	font-size: 24px;
	font-weight: bold;
	transform: translateX(-30px) translateY(13px);
}
.moreInfoTitle.active:before {
	content: '–';
}
.moreInfoContent {
	display: none;
	padding: 10px 10px 5px 10px;
	margin: 0px 30px 10px 30px;
	border-top: 1px solid #888;
	border-bottom: 1px solid #888;
	background: #ddeeee;
}

/* image stuff for demos page */
.browserIcon {
	display: inline;
	width: 30px;
	height: 30px;
}
.demoImage {
	width: 300px;
	margin: 10px 12px;
	border: 1px solid #555;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/*form stuff for contact page */
form {
    margin: 0px auto;
    width: 800px;
}

input, textarea {
	width: 800px;
	height: 30px;
	background: #eee;
	border: 1px solid #ddd;
	padding: 10px;
	margin: 10px 0px;
	font-size: 16px;
	color: #333;
	border-radius: 5px;
}
textarea {
	height: 200px;
	resize: vertical;
	font-family: inherit;
}
#submit {
    width: 300px;
    height: 50px;
    border: 1px solid #ccc;
	background: #ddd;
    cursor: pointer;
}
#submit:hover {
	background: #ccc;
}


/* FOOTER STUFF */
#footer {
	display: block;
	width: 100%;
	height: 170px;
	margin: 0px;
	padding: 0px;
	border: 0px;
	background-color: var(--FooterBackgroundColor);
}
#footer h1 {
	display: block;
	margin: 0px;
	padding: 0px 0px 10px 0px;
	font-size: 20px;
	color: white;
}
#footer span {
	display: block;
	padding: 20px 0px 0px 0px;
	margin: 0px;
}
#footer h2 {
	display: inline-block;
	height: 30px;
	margin: 10px 0px;
	line-height: 30px;
	text-align: center;
	vertical-align: middle;
	font-size: 20px;
	color: white;
}
#footer h3 {
	display: inline-block;
	height: 30px;
	width: 0px;
	border: 1px solid white;
	margin: 10px 0px;
	vertical-align: middle;
}
#footer a {
	display: inline-block;
	height: 30px;
	margin: 10px 10px;
	line-height: 30px;
	text-align: center;
	vertical-align: middle;
}
#footer img {
	height: 30px;
}
#footer p {
	margin: 0px;
	padding: 10px 0px;
	font-size: 16px;
	color: white;
}
