@charset "utf-8";
/* CSS Document */

html {
	font-family:"Arial, "sans-serif";
}

h1, h2, h3 {
	font-family: "Arial, "sans-serif";
	text-align: center;
	text-shadow: #;
	margin: 0;
}

header {
	height: 100px;
	background-image: url("../Images/Logo_RGB_white_background.jpg");
	background-repeat: no-repeat;
	background-position: center;
}

h1 {
	font-size: 1.5em;
	color: rgba(100,203,220,1.00);
}
h2 {
	font-size: 1em;
	color:rgba(100,203,220,1.00);
}

nav {
	background-color: rgba(100,203,220,1.00);
	position: -webkit-sticky; /* Safari */
	position: sticky;
	top: 0;
}

nav ul {
	width: 960px;
	margin: 0 auto;
	list-style-type: none;
	padding: 0;
	overflow: hidden;
	background-color: rgba(100,203,220,1.00);
}

nav li {
	float: left;
}

nav li a {
	display: block;
	color: white;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
}

nav li a:hover:not(.active) {
	background-color: rgba(100,203,220,1.00);
}

nav .active {
	background-color: rgba(2,224,220,1.00);
}

section {
	display: flex;
	flex-direction: row;
	width: 960px;
	margin: 0 auto;
}

article {
	flex: 3;
	padding: 5px;
}

article img.right {
	max-width: 175px;
	float: right;
	padding: 5px;
}

article img.left {
	max-width: 175px;
	float: left;
	padding: 5px;
}

aside {
	flex: 1;
	padding: 5px;
}

.grid-container {
	display: grid;
	gap: 1% 1%;
	grid-template-columns: 1fr 1fr 1fr;
	grid-template-rows: auto;
	grid-auto-flow: row;
	place-items: center;
}

.grid-container img {
	max-width: 100%;
}

footer {
	display: flex;
	flex-direction: row;
	background-color: rgba(35,35,35,1.00);
	color: antiquewhite;
	text-align: center;
	font-size: 0.8em;
}

#footer-left {
	flex: 1;
}

#footer-right {
	flex: 1;
}

@media only screen and (max-width: 960px) {
	section {
		width: 100%;
	}
	
	nav ul {
		width: 100%
	}
}

@media only screen and (max-width: 600px) {
	section {
		flex-direction: column;
	}
	
	aside {
		display: none;
	}
	
	footer {
		flex-direction: column;
	}
	
	.grid-container {
		grid-template-columns: 1fr 1fr;
	}
}