@charset "utf-8";

/*
	Assignment: Midterm Project
	Author: Chris LaFleur
	Date: 11/23/23
	
	Styles for screens!
*/

html{
	/* Image from https://commons.wikimedia.org/wiki/File:Ocean_water.jpg */
	background: url(Ocean_water.jpg) center center / cover no-repeat fixed;
	height: 100%;
	font: 1em Verdana, Geneva, Arial, sans-serif;
}

body{
	background-color: rgb(243, 243, 243);
	box-shadow: rgb(51, 51, 51) 5px 0px 15px,
				rgb(51, 51, 51) -5px 0px 15px;
	margin: 0px auto;
	min-width: 320px;
	max-width: 1024px;
	width: 100%;
	display: flex;
	flex-flow: row wrap;
}

header, footer{
	background-color: #0766AD;
	color: white;
	width: 100%;
}

header::after{
	content: "";
	clear: both;
	display: table;
}

header{
	background: rgb(7, 102, 173);
	margin-bottom: auto;
	display: flex;
	flex-flow: row wrap;
	vertical-align: middle;
}

header > h1{
	line-height: 3em;
	text-align: center;
	flex: 1 3 500px;
	padding: 0em 1em;
	transform: perspective(200px) rotateX(5deg);
}

header h1 a:visited, header h1 a:active,
header h1 a:hover, header h1 a:focus{
	color: white;
}

header > img{
	display: block;
	filter: invert(1);
	width: 30%;
	float: left;
	margin-bottom: 0;
	flex: 1 1 200px;
}

nav.horizontal, footer{
	text-align: center;
}

nav.horizontal{
	flex: 1 1 500px;
}

nav.horizontal ul{
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	flex-flow: row nowrap;
}

nav.horizontal li{
	line-height: 3.5em;
	width: 100%;
	flex: 1 1 300px;
	margin-bottom: 0;
}

nav.horizontal a, footer a{
	color: white;
	display: block;
	font-size: 2em;
}

nav.horizontal a:visited, nav.horizontal a:link,
footer a:visited, footer a:link{
	color: white;
}

nav.horizontal a:hover, nav.horizontal a:active{
	background-color: rgb(6, 86, 147);
}

footer{
	padding: 2em;
	vertical-align: middle;
	order: 100;
}

footer a{
	line-height: 1.5em;
	padding: 0em 2em;
}

.article{
	display: flex;
	flex-flow: row wrap;
	margin-bottom: 0;
}

section{
	padding: 1em 2em;
}

p{
	line-height: 1.25em;
	font-size: 1.25em;
}

h1{
	font-weight: bold;
	font-size: 3em;
}

h2{
	font-weight: bold;
	font-size: 2.5em;
}

h3{
	font-weight: bold;
	line-height: 2em;
	font-size: 2em;
}

h4{
	font-weight: bold;
	line-height: 1.5em;
	font-size: 1.5em;
}

li{
	line-height: 1.5em;
	font-size: 1.25em;
	padding: 0.25em;
}

aside{
	background-color: rgb(41, 173, 178);
	flex: 1 1 200px;
	order: 99;
	padding: 1em 2em;
}

section#intro{
	text-align: center;
	width: 100%;
	line-height: 2.5em;
	padding: 1em 2em;
}

section#intro h4{
	font-weight: normal;
}

section#qna{
	background-color: rgb(197, 232, 152);
	flex: 3 1 361px;
}

section#qna p{
	padding-top: 0.5em;
	text-indent: 1.5em;
}

aside ul, article ol{
	list-style-position: inside;
}

aside ul{
	list-style-type: square;
}

article#attendees{
	background: linear-gradient(#0766AD 5%, #F3F3F3 15%, #F3F3F3 50%, #F3F3F3 80%, #0766AD 95%);
	padding: 2em;
	margin-top: 0;
}

article#attendees h2{
	text-align: center;
	padding-top: 1em;
}

article#attendees ol{
	text-indent: 2.5em;
}

article#attendees img{
	display: block;
	filter: opacity(0.75);
	float: right;
	transform: perspective(300px) rotateX(5deg);
}

/* Mobile Styles: 0 - 480px */

@media only screen and (max-width: 480px){
	body{
		min-height: 0%;
	}
	articles#attendees img{
		display: none;
	}
}


/* Tablet Styles: 481px + */

@media only screen and (min-width: 481px){
}


/* Desktop Styles: 769px + */

@media only screen and (min-width: 769px){
	html{
		min-width: 100%;
	}
}