@charset "UTF-8";
/* CSS Document */
/*
Here are some commonly used CSS class selectors which 
-class rules can applied to multiple elements on a page
-can be applied in any combination
*/
@font-face {/*instructions to browser where to find your custom font*/
    font-family: nameFont;/*use any name but don't start with a number and don't use spaces or strange characters*/
    src:	url(../fonts/nameFont2.ttf);/*.ttf for non-IE browsers - the comma is very important!!!!*/
}
@font-face {/*instructions to browser where to find your custom font*/
    font-family: btnFont;/*use any name but don't start with a number and don't use spaces or strange characters*/
    src:	url(../fonts/btnFont.ttf);/*.ttf for non-IE browsers - the comma is very important!!!!*/ 
    
}
* {
    box-sizing:border-box;/*This allows you to set and border width and padding but the div will retain its set width and set height*/
    position: relative;
    margin: 0px;
    padding: 0px;
}
html, body {
    width:100%;
    min-height:100%;
    height:auto;
}
header, nav, section, article, figure, figcaption, aside, footer {/*ensures older browsers display these tags correctly*/
    display:block;
    /*DON'T ADD anything else in this selector block - only this property should be in this CSS selector set*/
}
body {/*these are the 5 basic CSS properties and values to start a website*/
	font-family: Verdana, sans-serif;/*change this for your design*/
	font-size: 100%;/*DON'T CHANGE THIS VALUE HERE - you can set font sizes in other selector styles*/
	color: rgba(0,0,0,1.00);/*main text color, default black, change as needed*/
	margin: 0px;/*removes default edges*/
	padding: 0px;/*removes default settings*/
	z-index: 0;/*stacking order - small numbers a below high numbers*/
 	background-color: #660000;
}
#nameBox {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100vh;
	background-image: url(../images/background2.jpg);
	display: -webkit-flex;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 1000000;
	font-family: nameFont;
	font-size: 3em;
	cursor: pointer;
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
	padding-bottom: 100px;
 }
.firstLetter {
	font-size: 1.5em;
	color: #C4A600;
	margin-bottom: -10px;
	font-style:italic;
	margin-right: 2px;
}
.firstLetter:last-child {
	color: #C4A600;
	margin-bottom: 15px;
}
#centeringDiv, .centeringDiv{
    max-width:980px;/*optimum width for both desktops, laptops, and tablets*/
    width:100%;/*allows the page to resize it's width to fit smaller devices*/
    height: auto;/*optimum height for both desktops, laptops, and tablets*/    
    margin:0px auto;/*0 = no margin for top and bottom and auto = same margin for left and right*/
    z-index:1;/*stacking order - small numbers a below high numbers*/
}
header {
    padding:10px;
    width:100%;
    height:150px;
    display:-webkit-flex;/*allows elements in nav to have flexible locations*/
    display:flex;/*allows elements in nav to have flexible locations*/
    align-items:center;/*vertically centers all elements in header for a single row of elements*/
    z-index:1000;/*stacking order - small numbers a below high numbers*/
}
nav {
    width:230px;/*change as needed*/
	min-height:100vh;
    height:auto;/*change as needed*/
	position: absolute;
    top:0px;
	right:0px;
    z-index:1001;/*stacking order, bigger numbers are on top*/
	display:-webkit-flex;/*allows elements in btn to have flexible locations*/
    display:flex;/*allows elements in btn to have flexible locations*/
    align-items:flex-end;/*vertically centers all elements in btn for a single row of elements*/
	flex-direction:column;
}
.btn {
    z-index:1002;/*stacking order, bigger numbers are on top*/  
    margin:auto 0px;/*IMPORTANT! togther with btn justify-content will space out buttons automatically*/
    display:-webkit-flex;/*allows elements in btn to have flexible locations*/
    display:flex;/*allows elements in btn to have flexible locations*/
    justify-content:center;/*horizontally centers all elements in btn*/
    align-items:center;/*vertically centers all elements in btn for a single row of elements*/
    flex-direction:row;/*places all elements in btn in a row - other option is column*/
    flex-wrap:no-wrap;/*ensures that elements in btn do NOT wrap to a 2nd row*/ 
	font-family: btnFont;
	padding: 20px;
	width: 180px;
	font-size: 1.25em;
	cursor: pointer;
	position: relative;
}
.title {
	text-align: center;
	margin-bottom: 9px;
	font-size: 2em;
	font-family: Duralith;
}
#btn0 {
	background-color:#B7813D;
}
#btn1 {
	background-color:#ebe600;
}
#btn2 {
	background-color:#d580ff;
}
#btn3 {
	background-color:#4A62FF;
}
#btn4 {
	background-color:#ff8000;
}
#btn5 {
	background-color:#66ff66;
}
#btn6 {
	background-color:#f2f2f2;
}
#btn7 {
	background-color:#ff3333;
}
#btn8 {
	background-color:#ff80bf;
}
#btn9 {
	background-color:#F8BE7F;
}
section {/*used for the main content area*/
	width: 100%;
	height: calc(100vh - 70px);
	margin: auto;
	clear: both;/*clears away and floating or text wrapping*/
	position: relative;
	border: 3px solid #000;
	padding: 20px;
	z-index: 900;
	background-image: url(../images/parchmentBG.jpg);
	font-size: 1.5em;
}
section p {
	margin-top: 35px;
}
#section1{
	background-color: aqua;
}

#allArticles {
	position: absolute;
	top: 30px;
	left: 30px;
	width: calc(100vw - 260px);
	height: calc(100vh - 60px);
}
article {/*used for the main content area*/
    clear:both;/*clears away and floating or text wrapping*/
    width:100%;
    height:auto;
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 900;
}
#article0 {
	z-index: 950;
}
article p {
    text-indent: 0rem;/*an rem is the size of a letter m relative to what's set in the body css rule*/
}
.thumbnail {
	cursor: pointer;
}

.pic {
	width: 135px;
	height: 135px;
}
.floatLeft {
	float: left;
}
.moveLeft {
	margin-left: 200px;
}
.center {
	padding-left: 190px;
}
#photoOfMe {
	width: 250px;
	height: 250px;
	margin-top: -80px;
}
#img4 {
	width: 500px;
	height: 100px;
}
#img5 {
	width: 210px;
	height: 260px;
}
footer {
    clear: both;/*clears away and floating or text wrapping*/
    font-size: 0.7rem;
    width: 100%;
    line-height: 1.2rem;/*This will help to vertically center the text */  
    height: 20px;
	display: flex;
	justify-content: center;
	align-items: center;
    z-index: 900;/*stacking order - below article, nav, and .btn*/ 
	color:aliceblue;
	position: absolute;
	top: calc(100vh - 20px);
	left: 0px;
}
section figure figcaption {
	padding-top: 20px;
	font-size: 0.7em;
	}
/*===========Class rules to apply to multiple elements in the HTML===============================*/
figure {max-width: 300px; width:100%; margin:0 auto;}/*change if needed for global figure widths*/
figure, figure p, figcaption p {text-indent: 0; text-align:center;}/*for any captions or paragraphs inside figure tags*/
figure img {width: 100%; height:auto;}/*forces image in figure to fit a specific figure width set with other CSS - default is 500px wide*/
.floatLeft {float: left;}/*positions an element on the left of parent div and have text wrap around it*/
.floatRight {float: right;}/*positions an element on the right of parent div and have text wrap around it*/
.centerText {text-align: center;}/*apply to p, h1, h2, h3, h4, h5, h6 tags - positions text in center of parent div*/
.clearFloats {clear: both; width:100%; position:relative; height:1px;}/*apply to div tags - clears away and floating or text wrapping*/

/*Small mobile phone styles*/
@media screen and (max-width:667px){
	nav {
		display: none;
	}
	#allArticles, #allArticlesWrapper, article, section, footer {
		width: 100%;
		height: auto;
		position: relative;
		margin: 0px;
		padding: 0px;
		top: 0px;
		left: 0px;
	}
	#article0 {
		padding-top: 75px;
	}
	section figure img {
		max-width: 325px;
		width: 50%;
		height: auto;
		border: 3px solid #000000;
		border-radius: 50%;
		box-shadow: 5px 2px 2px 2px #000;
	}
	section {
		padding: 5px;
		min-height: 50vh;
		height: auto;
		border-bottom: 1px solid #6D6BBA;
		font-size: 1em;
		padding-bottom: 50px;
	}
	.title {
		text-align: center;
		margin-bottom: 9px;
		font-size: 2em;
		font-family: Duralith;
	}
	section figure figcaption {
	padding-top: 20px;
	font-size: 0.7em;
	}
	section p {
		line-height: 1.7em;
	}
	body {
		background-color:#4F5400;
		font-size: 100%;
	}
	.dropCap {
		font-family: Duralith;
		font-size: 2.5em;
		margin-top: 15px;
		margin-right: 10px;
		display:block;
		float: left;
		color: #6D6BBA;
	}
	#nameBox {
		font-size: 2rem;
	}
	.firstLetter {
		font-size: 4rem;
	}
	.pic {
	width: 150px;
	height: 150px;
}
.floatLeft {
	float: left;
}
}
