@charset "utf-8";

body {
	background-color: #092949;
	text-align: center;
	color: #FFFFFF;
}

body, header, section, ul, aside, h1, h2, h3, h4, p {
	margin: 0;
	padding:0;
}



header {
	width: 40%;
	height: 60px;
	margin: 0 30%;
	/*background-color: aqua;*/
}

h4  {
	color: white;
	font-size: 1.3em;
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
	text-align: center;
	padding-top: 20px;

	}

.col1 {
	width: 25%;
	float: left;
}

.col2 {
	width: 35%;
	float: left;
}

.col3 {
	float: left;
	width: 40%;
	
}

div {
	margin: 0 10%;
	
}


h1 {
	font-family: Constantia, "Lucida Bright", "DejaVu Serif", Georgia, serif;
	color: white;
	font-weight: lighter;
	font-size: 2.5em;
}

span {
	font-size: .8em;
		
}

img {width: 65%;
	margin-bottom: 20px}



h2  {
	margin-top: 0px;
	color: white;
	font-size: 1.5em;
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
	text-align: center;
	padding-bottom: 10px;
	font-weight: lighter;
}

h3  {
	margin-top: 10px;
	color: white;
	font-size: 1.5em;
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
	text-align: center;
	padding-bottom: 10px;
	font-weight: lighter;
}
#grid {
	display: grid;
	width: 90%;
	margin: 15px 5% 0 5%;

	grid-template-columns: 33% 33% 33% ;
	grid-template-rows: 1fr;
	align-items: start;
	justify-items: center;
	grid-auto-flow: row;
	grid-auto-rows: 1fr;
	/*grid-auto-columns: 180px;*/
}

ul li {
	list-style-type: none;
	grid-row: auto; grid-column: auto;

}

footer {
	z-index: -1;
	text-align: center;
	width: 100%;
	height: 10px;
	margin-bottom: 5px;
	top:100%;
	font-size: .6em;
	color: #2063A1;
	}

a img{transition: 1s;}

a img:hover {
	transform: scaleX(1.1) scaleY(1.1);
}

a:link {
	color: #FFFFFF;
	text-decoration: none;
}

a:visited {color: #FFFFFF}

a:hover {color: darksalmon}

h4 a:link {
	color: #2063A1;
	text-decoration: none;
}

h4 a:visited {color: #2063A1}

h4 a:hover {color: darksalmon}



/*desktop less than 1140px */
@media only screen and (max-width: 1139px) {
	
	#grid {
	
	grid-template-columns: 33% 33% 33% ;
	grid-template-rows: 1fr;
	grid-auto-rows: 1fr;
	}
	
	img {width: 70%;
	margin-bottom: 20px}

	
	
	
	
}

/*tablet portrait to standard 960 */
@media only screen and (max-width: 959px) {

	h1 {font-size: 2.2em}
	
	img {width: 75%;
	margin-bottom: 20px}

	
	header {
	width: 50%;
	height: 60px;
	margin: 0 25%;
	}
	
	#grid {
	grid-template-columns: 33% 33% 33% ;
	grid-template-rows: 1fr;
	grid-auto-rows: 1fr;
	}
}

/*mobile landscape to tablet portrait */
@media only screen and (max-width: 767px) {
	
	h3 {font-size: 1.2em}
	
	h1 {font-size: 1.8em}
	
	header {
	width: 60%;
	height: 60px;
	margin: 0 20%;
	}
	
	#grid {
	
	grid-template-columns: 33% 33% 33% ;
	grid-template-rows: 1fr;
	grid-auto-rows: 1fr;
	}
	
}

/*mobile portrait to mobile landscape */
@media only screen and (max-width: 579px) {
	
	h3 {font-size: 1.2em}
	
	h4 {font-size: 1.2em}
	
	h1 {font-size: 1.8em}
	
	header {
	width: 80%;
	height: 60px;
	margin: 0 10%;
	}

	div {
	margin: 0 20%;
	}
	
	#grid {
	
	grid-template-columns: 50% 50% ;
	grid-template-rows: 1fr;
	grid-auto-rows: 1fr;
	}
	
}


