* {
	margin: 0; padding: 0; border: 0; box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css?family=Roboto|Roboto+Mono&display=swap');

html {
	font-size: 15px;
	--font-reg: 'Roboto', sans-serif;
	--font-code: 'Roboto Mono', monospace;
}

body {
	font-family: var(--font-reg);
	color: #050505;
	font-size: 1.2em;
	font-weight: bold;
	font-family: verdana;
	line-height: 1.2em;
}

.container {
	background-color: #F5F1E3;
	width: 1000px; margin: 0px auto;
}

header {
	background-color: #1B9AAA;
	height: 140px;
	text-align: center;
}

h1 {
	text-align: center; padding: 1em;
	font-weight: normal;
	font-size: 3em;
}

h1 span {
	color: #456789;
}

nav {
	background-color: #DDDBCB;
	height: 70px;
	position: sticky; top: 0;
	z-index: 10;
}

nav ul {
	list-style-type: none;
	display: flex; flex-flow: row nowrap;
	justify-content: space-around;
}

nav li {
	flex: 1 0 auto;
	text-align: center;
	height: 70px;
}

nav a {
	display: block;
	width: 100%; height: 100%;
	padding: 25px 5px;
	text-decoration: none;
	text-transform: uppercase;
	color: #050505;
	transition: background-color 300ms linear;
}

nav a:hover {
	background-color: #B8B8FF;
}

#pg0 #linkhome, #pg1 #links1, #pg2 #links2, #pg3 #links3, #pg4 #links4,
#pg5 #links5 {
	background-color: #DA4167; color: #DDDBCB;
	border-bottom: 4px solid #FF5;
	font-weight: bold;
}

main {
	background-color: #456789;
	color: #FF9;
	min-height: 100vh;
	margin-bottom: 3em;
	font-family: var(--font-code);
	padding: 1em;
	overflow: hidden;
}

h2 {
	margin-bottom: 1em;
}

p {
	margin-bottom: .5em;
}

.directions strong {
	color: orange;
}

/* form/script element styles */

button, input[type=submit] {
	padding: .4em .8em; margin-left: 6px; margin-top: 1em;
	min-width: 130px;
	border: 4px outset #222;
	font-size: 1.2rem;
}

td {
	vertical-align: middle;
}

input[type=range] {
	display: block;
	width: 200px; margin-top: 1em; margin-bottom: 1.5em;
	transform: scale(1.5);
	position: relative; left: 5em;
}

input[type=text], input[type=password], input[type=tel], input[type=email], input[type=url], input[type=number], select {
	font-size: 1.2rem;
	padding: .4em; margin: .4em;
	min-width: 20ch;
}

input[type=checkbox], input[type=radio] {
	transform: scale(1.5);
	margin-right: 1em; margin-bottom: 1em;
}

option:first-child {
	color: #999;
}

label {
	font-size: 1.2rem; padding-right: .8em;
}

textarea {
	min-width: 30ch; min-height: 100px; font-size: 1.2em;
	padding: 4px;
}

aside a {
	color: #EEE;
}