@charset "UTF-8";
/* CSS Document */
@import url("../../webfonts/headerFont_Salsabilla_copy/stylesheet.css");
/* 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: "salsabilla";/*use any name but don't start with a number and don't use spaces or strange characters*/
    src:	url(project5/fonts/salsabilla.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: customName2;/*use any name but don't start with a number and don't use spaces or strange characters*/
    src:	url(../fonts/filename2.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*/
    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: josefin-sans;/*change this for your design*/
	font-size: 1em;/*DON'T CHANGE THIS VALUE HERE - you can set font sizes in other selector styles*/
	color: rgba(255,255,255,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*/
	font-style: normal;
	font-weight: 300;
	background-image: url(../images/mtns.png);
	background-size: cover;
	background-attachment: fixed;
}
#centeringDiv, .centeringDiv{
    max-width:1000px;/*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: 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*/
    justify-content: center;
    font-size: 4em;
    position: absolute;
    top: 0;
    left: 0;
    font-family: "headerFont Salsabilla copy";
    font-style: normal;
    font-weight: 100;
    text-align: center;
}

nav {
    width:150px;/*change as needed*/
    height:100vh;/*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:column;/*places all elements in nav in a row - other option is column*/
    flex-wrap:wrap;/*ensures that elements in nav do NOT wrap to a 2nd row*/ 
	position: absolute;
	top: 0;
	left: 50px;
}
.btn {
    z-index:1002;/*stacking order, bigger numbers are on top*/  
    margin:0 auto;/*IMPORTANT! togther with btn justify-content will space out buttons automatically*/
	margin-bottom: 6px;
    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: "josefin-sans";
	font-size: 1.5em;
	font-weight: 500;
	cursor: pointer;
}
section {/*used for the main content area*/
	width: 100%;
	height: auto;
	z-index: 860;/*stacking order - below nav and .btn and article*/
	clear: both;
	padding-top: 4px;
	padding-right: 14px;
	padding-bottom: 14px;
	padding-left: 14px;
}
#mirrorHolder {
    position: absolute;
    top: 120px;
    left: 0px;
	height: calc(100vh - 120px);
    width: 600px;
	overflow-y: hidden;
}
#mirror{
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0px;
    background-image: url(../images/mirror.png);
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 810;
    margin: 0;
    background-position: center 0%;
}
#mirrorImage {
	width: 100%;
	height: auto;
	border-radius: 50%;
	z-index: 809;
}
.mirrorImage {
	display: none;
}
#mirrorImage img {
    width: 100%;
    border-radius: 50%;
    height: auto;
}

#allArticles{
    width: 400px;
    position: absolute;
    top: 300px;
    left: 600px;
    min-height: calc(100vh - 300px);
	height: auto;
    z-index: 800;
    font-size: 1.2em;
	overflow-y: hidden;
}
#allArticlesWrapper {
	width: 100%;
	height: auto;
}
article {/*used for the main content area*/
    clear: both;/*clears away and floating or text wrapping*/
    width: 100%;
	min-height: calc(100vh - 300px);
    height: auto;
    z-index: 850;/*stacking order - below nav and .btn but above section*/
    padding: 5px;
}
article p {
	text-indent: 0rem;
	font-weight: 400;
}
footer {
    clear: both;/*clears away and floating or text wrapping*/
    text-align: right;
    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*/ 
	position: absolute;
	bottom: 0;
	left: 0;
}
/*===========Class rules to apply to multiple elements in the HTML===============================*/
figure {max-width:500px; width:100%;}/*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*/
