/*
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: font1;/*use any name but don't start with a number and don't use spaces or strange characters*/
    src:	url(../fonts/font1.ttf),/*.ttf for non-IE browsers - the comma is very important!!!!*/
    url(../fonts/font1.eot);/*.eot for IE browsers*/ 
}
@font-face {/*instructions to browser where to find your custom font*/
    font-family: font2;/*use any name but don't start with a number and don't use spaces or strange characters*/
    src:	url(../fonts/font2.ttf),/*.ttf for non-IE browsers - the comma is very important!!!!*/ 
    url(../fonts/font2.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: font1;/*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;
	width: 100vw;/*vw = viewport width where viewport is the browser window and 100vh is 100% of browser width*/
	height: 100vh;/*vh = viewport height*/
	overflow: hidden;/*needed to avoid browser scrollbar*/
}
#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;/*stacking order - small numbers a below high numbers*/
}
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*/ 
}
.btn {
	position: relative;
	text-align: center;
	z-index: 1002;/*stacking order, bigger numbers are on top*/
	margin: auto;
}
section {
	width: 100vw;
	height: 14vh;/*25vh = 25% of browser window height*/
	position: relative;
	overflow: hidden;/*hides the article content under buttons*/
	z-index: 900;/*stacking order - below nav and .btn and article*/
	clear: both;/*clears away and floating or text wrapping*/
	background-color: rgba(225,201,246,1.00);
}
article {/*used for the main content area*/
	position: relative;
	clear: both;/*clears away and floating or text wrapping*/
	width: 100%;
	min-height: 600px;
	height: auto;
	padding: 10px;
	z-index: 901;/*stacking order - below nav and .btn but above section*/
	font-family: font2;
	font-size: small;
}
article p {
    text-indent:3rem;/*an rem is the size of a letter m relative to what's set in the body css rule*/
}
footer {
	clear: both;/*clears away and floating or text wrapping*/
	position: relative;
	text-align: center;
	font-size: 0.8rem;
	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*/
}
/*===========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;/*centers any caption under/above the photo inside frame*/
    border: 1px dotted #000000;/*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;}
.coverT, .coverB {
	position: absolute;/*position taken from the top left of section div*/
	left: 0;
	width: 100%;
	height: 50%;
	z-index: 900;
    background-color: #fff;
}
.line {
	position: relative;
	width: 0;
	height: 6px;
	margin: -3px auto 0 auto;
	z-index: 950;
	background-color: rgba(0,0,0,1.00);
	border-radius: 5px;
	top: calc(100% - 3px);/*nust have space around the minus sign*/
}
.coverT {
	top: 0;/*allows to move with section*/
}
.coverB {
	bottom: 0;/*allows to move with section*/
}
.btnT, .btnB {
	width: 300px;
	height: 50px;
	background-color:#000;
	margin: 0 auto;
	position: relative;
	text-align: center;
	cursor: pointer;
	z-index: 1001;
}
.btnT {
	top: 100%;/*forces button to be below the bottom of section*/
	margin-top: -50px;/*forces the button to be above the bottom of the section by set amount*/
	border-top-right-radius: 150px;
	border-top-left-radius: 150px;
	font-size: 2.5em;
	padding-top: 25px;
	color: #fff;
}
.btnB {
	border-bottom-right-radius: 150px;
	border-bottom-left-radius: 150px;
}
.btnX {
	width: 20px;
	height: 20px;
	background-color: rgba(67,228,11,1.00);
	margin:0 auto;
	position: relative;
	text-align: center;
	cursor: pointer;
	border-radius: 10px;
	z-index: 1002;
	top: 14px;
}
article {
	max-width: 960px;
	width: 100%;
	height: calc(100vh - 120px);
	margin: 60px auto 0 auto;
	position: relative;
	z-index: 800;
	padding: 10px;
	overflow: auto;
}
