/*
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: titlefont;/*use any name but don't start with a number and don't use spaces or strange characters*/
    src:	url(../fonts/titlefont.ttf),/*.ttf for non-IE browsers - the comma is very important!!!!*/
    url(../fonts/filename1.eot);/*.eot for IE browsers*/ 
}
@font-face {/*instructions to browser where to find your custom font*/
    font-family: titlefont;/*use any name but don't start with a number and don't use spaces or strange characters*/
    src:	url(../fonts/titlefont.ttf),/*.ttf for non-IE browsers - the comma is very important!!!!*/ 
    url(../fonts/filename2.eot);/*.eot for IE browsers*/ 
}
* {
    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*/
}
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: titlefont;/*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: 0;/*removes default edges*/
	padding: 0;/*removes default settings*/
	z-index: 0;/*stacking order - small numbers a below high numbers*/
	position: relative;
	background-color: rgba(0,0,0,1.00);
}
#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: 850px;/*optimum height for both desktops, laptops, and tablets*/
	margin: 0 auto;/*0 = no margin for top and bottom and auto = same margin for left and right*/
	position: relative;/*all children divs inside centeringDiv take their (x,y) position from top left of centeringDiv*/
	z-index: 1;
}
header {
    padding:10px;
    width:100%;
    height:150px;
    position:relative;/*all children divs inside header take their (x,y) position from top left of header*/ 
    z-index:1000;/*stacking order - small numbers a below high numbers*/
}
nav {
	position: relative;/*all children divs inside nav take their (x,y) position from top left of nav*/
	width: 100%;/*change as needed*/
	height: 100px;/*change as needed*/
	z-index: 1001;/*stacking order, bigger numbers are on top*/
	display: flex;/*allows elements in nav to have flexible locations*/
	justify-content: center;/*centers all elements in nav*/
	flex-direction: row;/*places all elements in nav in a row - other option is column*/
	flex-wrap: no-wrap;/*ensures that elements in nave do NOT wrap to a 2nd row*/
	background-image: url(../images/header.jpg);
	background-position: center top;
}
.btn {
	position: relative;
	text-align: center;
	z-index: 1002;/*stacking order, bigger numbers are on top*/
	margin: auto;/*togther with nav justify-content will space out buttons automatically*/
	font-size: xx-large;
}
    section {/*used for the main content area*/
    position:relative;
    width:100%;
    min-height:600px;
    height:auto;
    z-index:900;/*stacking order - below nav and .btn and article*/ 
    clear:both;/*clears away and floating or text wrapping*/
}
article {/*used for the main content area*/
	min-height: 500px;
	padding-top: 0px;
	padding-right: 12px;
	padding-left: 12px;
	padding-bottom: 12px;
	z-index: 901;/*stacking order - below nav and .btn but above section*/
	font-size: x-large;
	/* [disabled]margin: 10px; */
	height: 580px;
	width: calc(100% - 20px);
	position: relative;
	float: left;
	background-color: rgba(255,255,255,1.00);
	max-width: 980px;
	background-image: url(../images/background.jpg);
	overflow:auto;
}
article p {
	text-indent: 3rem;/*an rem is the size of a letter m relative to what's set in the body css rule*/
	margin-left: 27px;
}
footer {
	clear: both;/*clears away and floating or text wrapping*/
	position: relative;
	text-align: center;
	font-size: 1.2rem;
	width: 100%;
	line-height: 1.2rem;/*This will help to vertically center the text */
	height: auto;
	z-index: 900;/*stacking order - below article, nav, and .btn*/
	color: rgba(0,0,0,1.00);
}
/*===========Class rules to apply to multiple elements in the HTML===============================*/
.frame {/*this creates a frame around photo/text*/
	width: auto;/*fits the frame tightly around the photo/text*/
	height: auto;/*fits the frame tightly around the photo/text*/
	margin: 3px 10px 10px 10px;/*separates the outer wrapping text away from the frame border*/
	padding: 5px;/*separates the inner photo/text away from the frame border*/
	text-align: center;/*styles the frame - adjust as desired*/
}
.frame p, figure p, figcaption p {text-indent: 0px;}/*for any paragraphs inside photo frames*/
.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*/
.centerBox {	margin:0 auto;clear: both;}/*apply to div or figure tags - positions element in center of parent div - no outer text wrapping*/
.clearFloats {clear: both;}/*apply to div tags - clears away and floating or text wrapping*/
.roundedCorners10 {border-radius: 10px;}/*apply to img tags for rounded corners*/
.roundedCorners15 {border-radius: 15px;}
.roundedCorners20 {border-radius: 20px;}
.boxShadow5 {box-shadow: 5px 5px 5px #000000;}/*apply to div or img tags for shadows*/
.boxShadow10 {box-shadow: 10px 10px 10px #000000;}
.textShadow5 {text-shadow: 5px 5px 10px #000000;}/*apply to p, h1, h2, h3, h4, h5, h6 tags for shadows*/
.textShadow10 {text-shadow: 10px 10px 20px #000000;}

.btn {/*adjust as needed for all buttons*/
	width: 150px;
	height: 50px;
	/* [disabled]background-color:rgba(137,137,137,1.00); */
	float: left;
	cursor: pointer;
	margin-left: 10px;
	text-align: center;
}
#allArticles {
	height: 600px;
	width: 980px;
	overflow: hidden;/*Necessary to hide non-visible articles*/
	position: relative;
	clear: both;/*ensures articles start below anything above, not to the side*/
}
#allArticlesWrapper {
	position: absolute;
	z-index: 100;
	height: 600px;/*should be total height of 1 article including padding and margin*/
	width: 5000px;/*total width of ALL individual articles including padding and margin*/
	left: 0px;
	top: 0px;
}
