/* Created by Caleb Marcoux (Uncle Snail) */
/* I solute you, my fellow programmer. */

/*Easy fix*/
embed {
	margin: auto;
}

body {
	background-color: #262d38;
	overflow-x: hidden;/*ensures no horizontal scrolling*/
}

p {
	font-family: sans-serif;
	color: #dddddd;
	text-indent: 3em;
}

h2 {
	color: #dddddd;
}

h3 {
	text-align: center;
}

.highlight {
	color: #9faf56;
}

.bold {
	font-weight: bold;
	font-size: 125%;
}

@font-face {
	font-family: bedstead;
	src : url(fonts/bedstead-ultracondensed.otf),
		url(fonts/bedstead-ultracondensed.pfa),
		url(fonts/bedstead-ultracondensed.afm),
		url(fonts/bedstead-ultracondensed.sfd);
}
@font-face {
	font-family: bedstead-extended;
	src : url(fonts/bedstead.otf),
		url(fonts/bedstead.pfa),
		url(fonts/bedstead.afm),
		url(fonts/bedstead.sfd);
}

/*On hover*/
a:hover {
	color: #a2cfe5;
	cursor: pointer;
}

a {
	color: #58819e;
	text-decoration: none;
}

/*Removes the border on link click*/
a:active, a:focus {
	outline: 0;
	text-decoration: none;
}

/*Start heading style*/

#top {
	margin-bottom: 0;
	width: 100%;
}

.face {
	display: block;
	margin: 50px auto 25px;
	width: 150px;
	height: 149px;
}

.title {
	width: 50%;
	min-width: 200px;
	color: #dddddd;
	text-align: center;
	border-bottom: 2px solid #6f7582;
	margin: 10px auto 0;
	padding-bottom: 0;
}

#nav {
	background-color: #262d38;
	/*position: -webkit-sticky;/*for Safari*/
	/*position: sticky;*/
	position: relative; /*so z-index works*/
	height: 35px;
	margin-bottom: -30px;/*so it doesn't move page when scrolled*/
	top: 0;
	/*width: 100%;*/
	z-index: 1;
}

#nav > ul {
	list-style-type: none;
	margin: auto;
	padding: 0;
	padding-top: 7px;
	text-align: center;
}

#nav > ul li {
	display: inline;
}

#nav > ul li a {
	display: inline-block;
	padding: 0 10px 5px;
	color: #dddddd;
	text-decoration: none;
}

/*To make the inheritance not break nav bar.*/
#nav > ul li a:hover {
	color: #a2cfe5;
	cursor: pointer;
}
#nav > ul li a.active {
	color: #a2cfe5;
	cursor: pointer;
}

.active {
	color: #58819e;
}

/*Start main body styling*/

#main {
	width: 100%;
	text-align: center;
}

.content {
	margin: auto;
}

.landing {
	max-width: 100%;
	margin: auto;
	font-family: "bedstead", monospace;
	/*Center text vertically*/
	display: table;
	height: calc(100vh - 320px);
	width: 100%;
	font-size: 35pt;
	color: #774954;
}

.landing > div {
	/*Center text vertically*/
	display: table-cell;
	vertical-align: middle;
}

.landing > div * {
	display:inline;
}

.tea h1 {
	font-size: 75pt;
	font-family: "bedstead-extended", monospace;
	color: #ffffff;
	position: relative;
	top: -60px;
}

.page {
	display: table;
	height: calc(100vh - 100px);/*minus pixels for the up arrow screen overlap*/
	width: 90%;
	margin: auto;
}

.page > div {
	font-size: 15pt;
	display: table-cell;
	vertical-align: middle;
}

.page .column-large {
	width: 60%;
}

.page .column-small {
	width: 40%;
}

.column-right {
	text-align: left;
	padding-left: 25px;
}

.column-left {
	text-align: right;
	padding-right: 25px;
	border-right: 2px dashed #6f7582;
}

.center {
	max-width: 750px;
	margin: auto;
}

.columns {
	max-width: 1000px;
}

.row {
	display: table-row;
}

.text-row {
	display: block;
	margin: 30px;
	padding: 10px;
	border: 2px dashed #6f7582;
}

.text-row p {
	display: table-cell;
	vertical-align: middle;
	width: 30%;
	text-indent: 0;
	top: 0;
	height: 100%;
	font-size: 110%;
	padding: 20px;
}

.arrow {
	opacity: 0.5;
	filter: alpha(opacity = 50);/*For old browsers*/
	position: relative;
}

.arrow:hover {
	opacity: 1;
	filter: alpha(opacity = 100);/*For old browsers*/
	cursor: pointer;
}

.entry {
	margin-top: 50px;
	text-align: left;
	color: #d8e3eb;
	font-size: 12pt;
	font-family: sans-serif;
	text-align: left;
}

.entry h2 {
	font-size: 20pt;
	color: #dddddd;
}

.small-text {
	font-size: 75%;
	text-indent: 0;
}

.blog-hover {
	background-color: #4461;
	border: 2px dashed #6f758211;
	border-radius: 10px;
	border-top: 2px solid #6f758201;
}

.blog-hover:hover {
	background-color: #4452;
	border: 2px dashed #6f758266;
	border-radius: 10px;
	border-top: 2px solid #6f758266;
}

.thumbnail {
	display: block;
	border: 2px dashed #6f7582;
	border-radius: 5px;
	padding: 10px;
	margin: 10px;
	text-align: left;
}

.thumbnail:hover {
	border: 2px solid #8899aa;
}

.thumbnail * {
	display: inline-block;
	color: #d8e3eb;
	vertical-align: middle;
	text-indent: 0;
}

.thumbnail p {
	font-size: 50%;
}

/*handle small screens*/
@media screen and (max-width: 750px) {
	.landing {
		font-size: 15pt;/*backup incase vw has issues*/
		font-size: 6vw;/*~90% of viewport width*/
	}
}
@media screen and (max-height: 350px) {
	.landing h1 {
		vertical-align: middle;
		height: 350;
	}
}
