﻿html {
	--theme-color: dodgerblue;
	--secondary-color: white;
	--hover-color: orange;
}

body {
	position: relative;
	margin: 0;
	font-family: "Trebuchet MS", sans-serif;
	background-color: white;
	padding-top: 125px;
	box-sizing: border-box;
	min-height: 100vh;
}

main {
	width: 93%;
	margin: auto;
	text-align: center;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
}

nav {
	display: flex;
	justify-content: space-around;
	align-items: center;
	background-color: var(--theme-color);
	font-size: 1.15em;
}

nav > a,
nav > a:visited {
	display: block;
}

nav a,
nav a:visited {
	text-decoration: none;
	color: var(--secondary-color);
	transition: 0.25s;
}

nav a:hover {
	color: var(--hover-color);
}

nav > a,
nav > a:visited,
#search-box {
	flex: 1;
	margin: 5px 10px;
	padding: 5px;
	text-align: center;
}

#title-spacing {
	flex: 1.5;
}

#search-box {
	display: flex;
	justify-content: center;
	align-items: center;
}

#s {
	border: 2px solid var(--secondary-color);
	border-radius: 15px;
	padding: 2px 7px;
	background-color: var(--theme-color);
	color: var(--secondary-color);
	font-size: 0.9em;
	max-width: 10vw;
	transition: 0.25s;
}

#s::placeholder {
	color: var(--secondary-color);
	opacity: 0.8;
}

#s:focus,
#s:hover {
	border-color: var(--hover-color);
}

#search {
	vertical-align: middle;
	margin-left: 5px;
}

#title {
	display: block;
	position: absolute;
	background-color: rgba(0, 0, 0, 0.65);
	color: var(--secondary-color);
	top: 0;
	left: 50%;
	transform: translateX(calc(-50% - 17px));
	margin: 10px;
	padding: 7px 0;
	text-align: center;
	text-decoration: none;
}

#title img {
	height: 80px;
	margin: 0 10px;
}

footer {
	display: flex;
	justify-content: space-between;
	position: absolute;
	bottom: 0;
	right: 0;
	width: 100%;
	color: var(--secondary-color);
	background-color: var(--theme-color);
	box-sizing: border-box;
}

footer p {
	margin: 0;
	padding: 10px;
}

footer a,
footer a:visited {
	color: inherit;
	text-decoration: none;
	font-weight: bold;
}

footer a:hover {
	text-decoration: underline;
}