@import url("../../webfonts/headerFont_Salsabilla_copy/stylesheet.css");
@import url("../../webfonts/bodyFont_JosephinSans_copy/stylesheet.css");
/*
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!!!!*/
}
@font-face {/*instructions to browser where to find your custom font*/
    font-family: bodyFont;/*use any name but don't start with a number and don't use spaces or strange characters*/
    src:	url(../fonts/bodyFont.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: 0;
    padding: 0;
}
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: bodyFont;/*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*/
	background-image: url(../images/bg.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
}
#nameBox {
	width: 100%;
	height: 100vh;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1000000;
	font-size: 5em;
	font-family: "headerFont Salsabilla copy";
	background-image: url(../images/headerBG.jpg);
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
	display: -webkit-flex;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #150B1D;
	cursor: pointer;
}
#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:0 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-top: 40px;
	width: 100%;
	height: 50px;
	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;
	font-family: "headerFont Salsabilla copy";
	font-size: 3em;
}
nav {
	width: 100%;/*change as needed*/
	height: 100px;/*change as needed*/
	margin: 0 auto;
	z-index: 1001;/*stacking order, bigger numbers are on top*/
	display: -webkit-flex;/*allows elements in nav to have flexible locations*/
	display: flex;/*allows elements in nav to have flexible locations*/
	justify-content: center;/*horizontally centers all elements in nav*/
	align-items: center;/*vertically centers all elements in nav for a single row of elements*/
	flex-direction: row;/*places all elements in nav in a row - other option is column*/
	flex-wrap: no-wrap;/*ensures that elements in nav do NOT wrap to a 2nd row*/
	font-size: 2em;
	position: fixed;
	top: 0px;
	left: 0px;
	background-image: url(../images/bg.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	background-attachment: fixed;
}
.btn {
	z-index: 1002;/*stacking order, bigger numbers are on top*/
	margin: auto;/*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*/
	cursor: pointer;
	-webkit-transition: all 0.1s linear 0s;
	-o-transition: all 0.1s linear 0s;
	transition: all 0.1s linear 0s;
}
.btn:hover {
	color: #AFAFAF;
}
/*----header styles------*/
header, #allArticles {
	width: 100%;/*This is changed by javascript*/
	margin: auto;
}
header {
	display: flex;
	align-content: center;
	justify-content: center;/* flex-start, flex-end, space-between */
	height: 200px;/*adjust this to your desired header height*/
	background-repeat: no-repeat;
	background-position: top center;
	background-size: cover;/*REQUIRED to completely cover the entire width of headers*/
	margin-bottom: 10px;/*To separate header from main text section */
	z-index: 201;
	font-family: "headerFont Salsabilla copy";
}
.headerTitle {
	text-align: center;
	color: #000000;/*Text color*/
	font-size: 3em;
	font-weight: bold;
	margin: auto;/*REQUIRED to vertically and horizontally center*/
	z-index: 202;
	font-family: "headerFont Salsabilla copy";
}
/*#header1 {
	background-image: url(../images/bg1.jpg);
}
#header2 {
	background-image: url(../images/bg2.jpg);
}
#header3 {
	background-image: url(../images/bg3.jpg);
}
#header4 {
	background-image: url(../images/bg4.jpg);
}
#header5 {
	background-image: url(../images/bg5.jpg);
}
#header6 {
	background-image: url(../images/bg6.jpg);
}
#header7 {
	background-image: url(../images/bg7.jpg);
}
#header8 {
	background-image: url(../images/bg8.jpg);
}
#header9 {
	background-image: url(../images/bg9.jpg);
}*/
/*----Main content styles -------*/
#allArticles {
    width: 100%;
    height: auto;
    margin: 0 auto;
    z-index: 100;
    padding-top: 100px;
    font-size: 1.3em;
}
#allArticlesWrapper {
	z-index: 200;
}
article {
	float: left;
	z-index: 300;
	height: auto;
}
section h1 {
	text-align: center;
	font-size: 2em;
}
section p {
	margin-bottom: 1em;
	text-indent: 0em;
}
section {/*used for the main content area*/
    clear:both;/*clears away and floating or text wrapping*/
    width:100%;
    height:auto;
    padding:10px;
    z-index:901;/*stacking order - below nav and .btn but above section*/ 
}
section p {
    text-indent: 3rem;/*an rem is the size of a letter m relative to what's set in the body css rule*/
	font-size: 1.1em;
}

.thumbnail {
	cursor:pointer;
}

#img0 {
	cursor: default;
	float: left;
	margin-top: 10px;
	margin-right: 32px;
	margin-bottom: 32px;
	margin-left: 32px;
	width: 700px;
}

#img1{
	width:600px;
	margin-top: 10px;
	margin-right: 32px;
	margin-bottom: 32px;
	margin-left: 32px;
}

#img1b{
	width:400px;
	margin-top: 10px;
	margin-right: 32px;
	margin-bottom: 32px;
	margin-left: 32px;
}

#img2{
	width:600px;
	margin-top: 10px;
	margin-right: 32px;
	margin-bottom: 32px;
	margin-left: 32px;
}

#img2b{
	width:500px;
	margin-top: 10px;
	margin-right: 32px;
	margin-bottom: 32px;
	margin-left: 32px;
}

#img3{
	width:500px;
	margin-top: 10px;
	margin-right: 32px;
	margin-bottom: 32px;
	margin-left: 32px;
}

#img3b{
	width:850px;
	margin-top: 10px;
	margin-right: 32px;
	margin-bottom: 32px;
	margin-left: 32px;
}

#img3c{
	width:2000px;
	margin-top: 10px;
	margin-right: 32px;
	margin-bottom: 32px;
	margin-left: 32px;
}

#img4{
	width:300px;
	margin-top: 10px;
	margin-right: 32px;
	margin-bottom: 32px;
	margin-left: 32px;
}

#img4b{
	width:700px;
	margin-top: 10px;
	margin-right: 32px;
	margin-bottom: 32px;
	margin-left: 32px;
}

#img5{
	width:500px;
	margin-top: 10px;
	margin-right: 32px;
	margin-bottom: 32px;
	margin-left: 32px;
}

#img5b{
	width:800px;
	margin-top: 10px;
	margin-right: 32px;
	margin-bottom: 32px;
	margin-left: 32px;
}

#img6{
	width:300px;
	margin-bottom: 32px;
}

#img7{
	width:800px;
	margin-bottom: 32px;
}

#img8{
	width:800px;
	margin-bottom: 32px;
}

footer {
	clear: both;/*clears away and floating or text wrapping*/
	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*/
	font-size: 0.8rem;
	width: 100%;
	height: 40px;
	z-index: 900;
	bottom: 0px;
	left: 0px;
}

.figures{
	width:100%;
	height:auto;
	display:flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap:nowrap;
	
}
/*===========Class rules to apply to multiple elements in the HTML===============================*/
figure img {
	height: auto;
}
figure, figure p, figcaption p {text-indent: 0; text-align:center;}/*for any captions or paragraphs inside figure tags*/

.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*/
header {

}
@media screen and (max-width:1024px){
	#nameBox {
		font-size: 2.5rem;
	}
	.btn {
		font-size: 1.25rem;
	}
	#img0 {
		width: 350px;
	}

	#img1{
		width:600px;
	}

	#img1b{
		width:200px;
	}

	#img2{
		width:600px;
	}

	#img2b{
		width:500px;
	}

	#img3{
		width:250px;
	}

	#img3b{
		width:100px;
	}

	#img3c{
		width:250px;
	}

	#img4{
		width:150px;
	}

	#img4b{
		width:350px;
	}

	#img5{
		width:250px;
	}

	#img5b{
		width:400px;
	}

	#img6{
		width:150px;
	}

	#img7{
		width:400px;
	}

	#img8{
		width:400px;
	}
}

/*Style for small mobile devices*/
@media screen and (max-width:667px){
	nav{
		display: none;
	}
	#nameBox {
		font-size: 2.8rem;
		text-align: center;
	}
	#allArticles, #allArticlesWrapper {
		width: 100%;
		height: auto;
		overflow:visible;
		padding-top: 20px;
	}
	article {
		float: none;
		width: 100%;
	}
	header {
		font-size: 2rem;
		height: 80px;
		border-top: 2px dashed #717171;
	}
	section h2 {
		text-align: center;
		font-size: 3em;
		font-family: "headerFont Salsabilla copy";
	}
	section {
		min-height:50vh;
		height: auto;
		font-family: bodyFont;
	}
	section p {
		line-height: 2em;
	}
	section figure figcaption {
		font-size: 0.8em;
	}
	.figures {
		display: block;
	}
	#img0, #img1, #img1b, #img2, #img2b, #img3, #img3b, #img4, #img4b, #img5, #img5b, #img6, #img6b, #img7, #img7b, #img8, #img8b, #img9, #img9b, .figureL, .figureR, .figureM {
		width:100%;
		clear: both;
		display: block;
		margin: 10px 0;
	}
}
