html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/*
 * General Styles
*/

.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

/*Now Starting The Site Code*/

body {

}

html {
	min-height: 100%;
}

/*Not Homepage Styles*/
.container {
	width: 80%;
}

/*Text Styles*/ 
a.email {
	color: #EB9200;
	font-size: 1.2em;
}

a.email:hover {
	color: grey;
}

h1 , h2, p, ul li, a {
	font-family: 'Muli', Arial, sans-serif;
}

a {
	text-decoration: none;
	color: grey;
}

ul.footer-links li a:hover {
	color: #EB9200;
}

header, footer {
	z-index: 9;
}

.footer-logo h1 a, .main-text h1:nth-of-type(1) {
	color: #EB9200;
	font-weight: 600;
}

.main-text h1:nth-of-type(2) {
	margin: 2% 0;
}

.footer-logo h1 a {
	font-style: italic;
	font-family: 'Kaushan Script', cursive;
}

h1 {
	font-size: 2.5em;
}

p.lead {
	font-size: 1.2em;
	margin: 2% 0;
}

p, h1 {
	color: black;
}

/*Homepage*/

.homepage {
	display: table;
	height: 100vh;
	width: 100%;
}

.main-content {
	display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.homepage .main-content {
	color: white;
}

.main-text {
	line-height: 1.5;
	color: black;
}

form.form-inline {
	margin: 0 auto;
	display: flex;
	justify-content: center;
	margin-top: 3%;
}

.form-control {
	height: 36px;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #555;
	background-color: #fff;
	background-image: none;
	border: 1px solid orange;
	border-radius: 4px;
}

.btn {
	padding: 6px 12px;
	margin-bottom: 0;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.42857143;
	text-align: center;
	border-radius: 4px;
	border: 1px solid transparent;
	margin-left: 2%;
	background-color: orange;
	color: white;
}

.btn:hover {
	color: black;
}

/*Footer*/

.footer {
	display: table-row;
	height: 100px;
	width: 100%;
	background-color: #f8f8f8;
}

.footer-text {
	display: table-cell;
}

.footer-content {
	display: flex;
	flex-wrap: wrap;
    align-items: center;
    height: 100px;
    justify-content: space-between;
}

.footer-logo {
	flex: 3;
	text-align: left;
	padding-left: 10%;
}

.footer-nav {
	flex: 1;
	padding-right: 5%;
}

.footer-nav ul {
	display: flex;
    justify-content: space-around;
}

.footer-nav ul li {
	display: inline-flex;
}

/*Sticky Social*/

.sticky_social {
    left: 30px;
    position: absolute;
    top: 30px;
    background: #00000012;
    border-radius: 20px;
}

i.fa-facebook-square, i.fa-twitter-square, i.fa-tumblr-square, i.fa-envelope {
	color: grey;
}

.fa-ul {
	margin:0 auto !important;
	padding: 10px !important;
}

/*About*/

p.lead strong {
	color: #EB9200;
}

#about_signup form.form-inline {
	justify-content: flex-end;
}

/*Submit*/ 

.submit_content {
	background: orange;
	border-radius: 8px;
}

.submit_details {
	padding: 2%;
}

.submit_details p {
	color: #fff;
}

.submit_details p a {
	color: #fff;
	font-weight: 600;
}

.submit_details p a:hover {
	color: black;
}

.submit_image {
	padding: 0;
}

.submit_image img {
	border-radius: 0 8px 8px 0;
}

/*Contact*/

.wrapper {
	display: table;
	height: 100vh;
	width: 100%;
}

.main {
	display: table-cell;
	vertical-align: top;
	line-height: 1.5;
	text-align: right;
}

.contact_head, .about_head {
	width: 50%;
    margin: 0 0 0 40%;
    text-align: right;
}

.contact_head {
	margin-top: 5%;
}

#submit_body {
	display: table-row;
	height: 100%;
}

.submit_head {
	display: flex;
	height: 100%;
	width: 100%
}

.submit_details {
	flex: 2;
	height:100%;
    background-color: orange;
}

.submit_details p {
	padding: 6%;
	font-size: 1.5em;
}

h1.criq {
	font-size: 5em;
	color: #EB9200;
}

p#definition{
	font-size: 1.5em;
}

h1.sub_criq {

}

h1.criq, h1.sub_criq {
	display: inline;
}

.submit_head-text {
	flex: 3;
	position: relative;
}

.definition-box {
	position: absolute;
	top: 55%;
	width: 80%;
	left: 10%;
	text-align: left;
}

/*Blog Page*/

.nav-bar {
	background-color: orange;
	display: table-row;
	width: 100%;
	padding: 2% 0;
	height: 60px;
}

.nav-bar .home-link {
	flex: 2 0 25%;
}

.nav-bar .home-link h1 {
	text-align: center;
}

.nav-bar .category-ul {
	flex: 2 0 75%;
}

.nav-bar .category-ul ul {
	width: 100%;
	height: 100%;
	display: inline-flex;
	justify-content: space-around;
}

.nav-bar-links {
	display: flex;
	height: 100%;
	align-items: center;
	padding: 2%;
}

section.blog-main {
	display: table-cell;
	z-index: -1000;
	width: 100%;
}
 
aside.sidebar {
    background-color: silver;
    height: 100%;
    width: 30%;
    float: left;
}

main.blog-content {
    z-index: -1;
    float: left;
    width: 70%;
}

.sidebar-content {
	padding: 5%;
}

.blog-content-text {
    width: 80%;
    margin: 0 auto;
    padding: 5% 0;
    text-align: center;
}


 @media only screen and (max-width:600px){
		body {
			padding-top: 20px;
		}

		.container {
			width: 90%;
			padding-top: 10%;
		}

		.submit_head {
			text-align: right;
		}

		.about_head {
			text-align: justify;
			margin-top: 10%;
		}

		.about_head h1.focus {
			text-align: center;
		}

		#about_signup form.form-inline {
			display: block;
			text-align: center;
		}

		#about_signup form.form-inline .form-group {
			margin-bottom: 4%;
		}

		.contact_head {
			text-align: left;
		}

		.footer-nav {
			flex:2;
		}

		.sticky_social {
			position: fixed;
			top: 0px;
			display: flex;
			width: 100%;
			background-color: #EB9200;
			padding: 2%;
			left: 0;
			border-radius: 0;
		}

		i.fa-facebook-square, i.fa-twitter-square, i.fa-tumblr-square, i.fa-envelope {
					color: white;
			}

		ul.fa-ul {
			display: flex;
			justify-content: center;
			width: 50%;
			margin: 0 auto;
			list-style-type: none;
    		margin: 0 auto;
    		text-align: center;
    		padding: 10px 0 10px 0;
		}

		ul.fa-ul li {
			padding-bottom: 2px;
			padding-left: 3%;
		}

		.submit_image img {
			border-radius: 0 0 8px 8px;
		}

		.submit_details {
			text-align: right;
		}

		h1.criq {
			font-size: 3em;
		}

		.submit_details p {
		    color: black;
		    font-size: 1.5em;
		}

		.submit_head-text {
		    padding: 10%;
		    flex: 3 1 0%;
		    position: initial;
		}

		.submit_head {
			padding: 5%;
			display: inline;
		}

		.submit_details {
			height: auto;
		    text-align: center;
		    background-color: silver;
		    width: 80%;
		    margin: 0 auto;
		    border-radius: 3px;
		    margin-bottom: 5%;
		}
		
		.definition-box {
			position: relative;
			top: 0;
			left: 0;
			width: 100%;
		}
    }

    @media only screen and (max-width:414px) {

		.main-text {
			width: 95%;
			margin: 0 auto;
			padding: 3em 0 0 0;
		}

    	.footer-logo {
    		flex: 2;
    		text-align: center;
    		padding-top: 3%;
    		padding-left: 0;
    		margin-bottom: 5%;
    	}

    	.footer-nav {
    		padding-right: 0;
    	}

    	form.form-inline {
    		width: 100%;
    		margin-top: 8%;
    	}

    	.main-text h1:nth-of-type(2) {
    	    margin: 2% 0;
    	    font-size: 2em;
    	}

    	.footer-content {
    		display: initial;
    	}

    	.contact_head {
    	    width: 80%;
    	    margin: 10% auto;
    	    margin-top: 8%;
    	}

    	.contact_head, .about_head {
    		padding: 5% 2%;
    	}

    	h1.focus {
    		font-size: 2em;
    		margin: 2%;
    	}

    	h1.focus:nth-of-type(2), h1.focus:nth-of-type(3) {
    		font-style: oblique;
    	}

    }

    @media only screen and (max-width: 320px) {
    	.main-text {
    	    margin: 10% auto;
    	}
    }

 @media only screen and (max-width: 990px) {

 		.submit_image img {
			border-radius: 0 0 8px 8px;
		}

 }   


 @media only screen and (max-height:360px)
