/* External stylesheet: Galactic.css */

body {
font-family: Tahoma, sans-serif;
display: flex;  /* Use flex box for layout */
margin: 0;
padding: 0;}

header {
	background-color:#333333;
	font: Tahoma, sans-serif;
	align-items: center;
	margin-bottom: 15px;
	display: flex;
	padding: 25px;
}

header .logo {
	height: 60px;
	margin-right: 15px;
}

h1 {
	color: #39FF14;
	font-family: Tahoma, sans-serif;
	padding: 1em;}
	
h2 {
	color: #39FF14;
	font-family: Tahoma, sans-serif;
	padding-left: 1em;
	font-weight: bold;
	font-size: 1.75em;}

h3 {
	color: #39FF14;
	font-family: Tahoma, sans-serif;
	padding-left: 1em;
	font-weight: bold;
	font-size: 1em;
	margin-left: 15px;
}
	
h3 a {
    color: #39FF14; 
    text-decoration: none; /* Remove underline */
}

h3 a:hover {
    text-decoration: underline; /* Underline on hover */
}
		
p {
	font-size: 1.5em;
	color: #FFFFFF;
	font-family: Tahoma, sans-serif;
	padding-left: 1.2em;}

footer {
	background-color: #333333;
	color: #ffffff;
	text-align: center;
	padding: 1em;
	font-style: italic;
	font-size: 0.75em;
	font-family: Tahoma, sans-serif;}
	
#wrapper {
	margin-left: auto;
	margin-right: auto;
	width: 80%;
	min-width: 960px;
	max-width: 2048px;
	background-color: #363737;
	box-shadow: 3px 3px 3px 3px #333333;}

li {
	color: #FFFFFF;
	font-family: Tahoma, sans-serif;
	font-size: 1.25em;}

nav {
	background-color: #222;
	padding: 10px 0;
	justify-content: center;
	display: flex;
	}
	
nav a {
	color: #FFFFFF;
	text-decoration: none;
	font-family: Tahoma, sans-serif;
	font-size: 1.5em;
	margin: 0 30px;}

nav a:hover {
text-decoration: underline;
Color:#39FF14 }

.resources {
	padding: 0;
	list-style-type: none;
	margin: 0;
	display: flex;
	justify-content: space-around;}  /* Distributes items evenly */


.resources li {
font-size: 1.5em;}

li a {
	color:#FFFFFF;}
	
li a:hover {
	color:#39FF14;
	text-decoration: underline;}
	
footer a {
color: #39FF14;}

.center-image img{
	width: 100%;
	height: 450px;
	max-width: 100%;
}

table {
	width:80%;
	border-collapse: collapse;  /* Collapses borders */
	margin: 35px;
	background-color: #1a1a1a;
	color: #ffffff;
}

th, td {
	padding: 15px;
	text-align: left;
	border-bottom: 1px solid #39FF14;
	white-space: normal;  /* Makes text wrap */
}

th {
	background-color: #333333;
	color: #39FF14;
	font-size: 1.2em;
}

ul {
	list-style: square;  /* Uses square bullets */
}

#sidebar {
	width: 200px;
	background-color: #222;
	padding-top: 20px;
	position: fixed;  /* Fixes sidebar to position */
	height: 100%;
	top: 195px;
	left: 0;   /* Alligns sidebar to left */
}

#sidebar nav {
	display: flex;
	flex-direction: column; /* Stacks items vertically */
	height: 100%;
	justify-content: flex-start; /* Alligns items to the top */
}

#sidebar nav a {
	display: block;
	color: #FFFFFF;
	text-decoration: none;
	padding: 10px;
	margin: 5px;
}

#sidebar nav a:hover {
	color: #39FF14;
}

#content {
	margin-left: 220px;
	padding: 20px;
	flex-grow: 1; 
}

header #top {
	background-color: #111;
	color: #ffffff;
	padding: 20px;
	text-align: center;
}

/* Tablet & Laptop Query */

@media screen and (max-width: 768px) {

	nav a {
		display: block;
		margin: 10px;
		padding: 12px;
	}

	.center-image img {
		width: 100%;
	}

	header h1 {
		font-size: 24px;
	}

	footer {
		text-align: center;
		font-size: 12px;
	}

	ul {
		padding-left: 20px;
	}
}

/* Mobile View Query */

@media screen and (max-width: 480px) {

	body {
		font-size: 14px;
	}

	h1 {
		font-size: 14px;
		padding: 8px;
	}

	nav a {
		font-size: 14px;
		padding: 8px;
	}

	footer {
		font-size: 10px;
	}
}