@charset "utf-8";

/* HTML and Body Styles */

html {
	background: url(spacebackground.jpeg) center center / cover no-repeat fixed;
	height: 100%;
	font-family: Verdana, sans-serif;
}


body {
   background: black;   
   box-shadow: rgb(51, 51, 51) 5px 0px 15px,
               rgb(51, 51, 51) -5px 0px 15px;
   margin: 10px auto;
   height: 100%;
   min-width: 500px;
   max-width: 1024px;
   color: white;
}

/* Body and Header Styles */

body header img {
	display: block;
	width: 100%;
}

div.banner {
	position: relative;
}

h2 {
	position: absolute;
	width: 33%;
	top: 20px;
	left: 80px;
}

header {
	background-color: rgb(16, 16, 16);
}

/* Navigation Styles */

nav.horizontal {
	background-color: rgb(16, 16, 16);
	width: 100%;
}

nav.horizontal ul {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	width: 90%;
	list-style-type: none;
}

nav.horizontal a {
	color: green;
	text-decoration: none;

}

nav.horizontal li{
	display: block;
	flex: 0 1 auto;
}

nav.horizontal a:hover, nav.horizontal a:active {
   color: white;
}


/* Footer Styles */
footer {
	display: flex;
	justify-content: center;
	background-color: rgb(16, 16, 16);
	padding: 10px 0px;
	width: 100%;
}

body > footer a {
	color: green;
	text-decoration: none;
}

footer a:hover, footer a:active {
	color: white;
}

/* Figure Styles */
figure {
	display: flex;
	flex-flow: column nowrap;
	justify-self: space-between;
	justify-content: stretch;
	width: 17%;
	margin-top: auto;
	margin-bottom: auto;
}

figure img {
	display: inline-block;
	align-items: horizontal;
	padding-bottom: 15px;
	padding-top: 15px;
}

figcaption {
	text-align: center;
}