@charset "utf-8";

/************ CSS Resets ***************/

p, ul, ol, h1, h2, h3 {
	margin: 0;
	padding: 0;
}
ul,  ol {
	list-style-type: none;
}

/*************** End Reset ******************/

body {
	font-family: 'Crimson Text', serif;
	background: #ffffff;
	color: #1f1f1f;
	padding-top: 9px;
	padding-bottom: 30px;
	font-size: 18px;
}

/*********** Typography **********/

h1, h2, h3 {
	font-family: sans-serif;
	margin-bottom: 1em;
	font-weight: 400;

    font-weight: bold;
}

a {
    color: rgb(81, 110, 196);
    text-decoration: none;
}

p {
    margin-bottom: 1em;
    line-height: 1.4em;
}

.top, .middle, .pagefooter {
	padding-left: 3em;
	margin-top: 2em;
}

/******** Header styles ******/

header {
	padding: 20px;
    background-color: #19236b;
    color: #000000;

}

h1 {
	text-align: center;
}

/********Img Grid Styling*******/

#imageGrid {
	margin: 2em	;
	display: flex;
	justify-content: center;
	gap: 10px;
}

/********Top Styling*******/
.top h2{
	margin-left: 2em;
}

.top article {
	margin: 2em 2em;
	padding: 2em 2em;
	background-color: #9f9f9f;
}


/***** Middle Section Styles ******/


.middle ul li {
	line-height: 1.6em;
	margin-top: 10px;
	font-size: 1.3em;
}

/***** bottom Section Styles ******/

.bottom { 
	margin: 3em;
}
.bottom p {
	font-size: 1em;
	line-height: 2em;
}

/****** Footer Styles *******/

.pagefooter {
	padding: 20px;
    background-color: #19236b;
    color: #000000;
}

.pagefooter ul li{
	margin: 2em 2em;
	line-height: 1.3em;
	font-size: 14px;
}

.pagefooter a, li {
	color: rgb(227, 227, 227);
}



@media screen and (min-width: 700px) {
.top {
	display: flex;
	justify-content: space-around;
	}


.top article {
	width: 50%;
}

.bottom {
	display: flex;
	gap: 20px;
}

.bottom h1 {
	line-height: 3em;
}

}


@media screen and (min-width: 1000px) {

body {
	max-width: 1000px;
	margin: auto;
}

}