:root {
	--header-image: url('../img/header-image.png');
	--body-bg-image: url('../img/seamless_black_camo_source.jpg');
	--box-bg-image: url('../img/green_burnished_metal.jpg');

	--text-dark-green: #0E261F;
	--text-light-green: #7E947E;
	--text-dark-red: #991717;
	--white:#E6B5E6;
	--black:#000000;
	--bg-dark-green:#7E947E;
	--bg-grey:#999999;
}

@font-face {
	font-family: 'Packrat';
	src: url('packrat.otf');
}
body {
	font-family: 'Packrat';
	font-size: 20px;
	background-size: 320px;
	color: white;
	background: var(--black);
	background-image: var(--body-bg-image);
	background-size: 400px;
	background-attachment:fixed;
	background-color: var(--bg-grey);
	background-repeat: repeat;
	padding-top:24px;
}
main {
	background: var(--box-bg-image);
	background-color: var(--bg-dark-green);
	background-size: 200px;
	color: var(--text-color);
	flex: 1;
	padding: 20px;
	order: 2;
}
h1 {
	margin:5px;
	color: var(--text-dark-red);
}
h2,h3,h4,h5,h6 {
	margin:5px;
	border-bottom:3px solid var(--text-dark-green)
}
a {
	color:var(--text-dark-red);
	text-decoration:none;
	font-weight:bold;
}
a:hover {

	color:var(--text-dark-red);
	text-decoration:underline;
	font-weight:bold;
}
a:active {
	color:red;
	text-decoration:underline;
	font-weight:bold;
}
* {
	box-sizing: border-box;
}
span.evenlySpacedRow {
	display:flex;
	justify-content:space-evenly;
}
#title {
	font-size:64px;
}
#container {
	max-width: 800px;
	width: 800px;
	margin: 0 auto;
	border: 3px solid var(--black);
}
#container a {
	color: var(--text-dark-red);;
	font-weight:bold;
	text-decoration:none;
}
#container a:hover {
        color:var(--text-dark-red);
        font-weight:bold;
	text-decoration:underline;
}
#container a:active {
	color:red;
	font-weight:bold;
	text-decoration:underline;
}
#header {
	background-color: var(--light-green);
	background-image: var(--header-image);
	color: var(--text-dark-green);
	background-position: bottom;
	height: 220px;
	text-align:center;
	margin:0 auto;
	margin-bottom: 5px;
	padding:0px;
	max-width: 800px;
	width: 800px;
	border: 3px solid var(--black);
	position:relative;
}
#navbar {
	height: 40px;
	background-color: none;
	position:absolute;
	bottom: 5px;
	width: 100%;
}
#navbar ul {
	display: flex;
	padding: 0px;
	margin: 0px;
	list-style-type: none;
	justify-content: space-evenly;
	font-size:24px;
}
#navbar li {
	padding-top: 10px;
}

#navbar li a {
	color: var(--text-light-green);
	font-weight: 800;
	text-decoration: none;
}
#navbar li a:hover {
	color: var(--text-dark-red);
	text-decoration:underline;
}
#navbar li a:active {
	color:red;
	text-decoration:underline;
}
#contactInfo {
	background:var(--box-bg-image);
	background-repeat:repeat;
	border: 3px solid var(--black);
	position:absolute;
	background-color: var(--bg-dark-green);
	width:200px;
	margin: 0px auto;
	padding: 5px;
	order: 3;
	display:flex;
	flex-wrap:wrap;
	justify-content:space-evenly;
}
#contactInfo a {
	color: var(--text-dark-green);
	font-weight: 800;
	text-decoration: none;
}
#contactInfo a:hover {
	color: var(--text-dark-red);
	text-decoration: underline;
}
#contactInfo a:active {
	color:red;
	text-decoration:underline;
}
#outer {
	display:grid;
}
#contactIcon {
	text-align:center;
	margin:0px 2px 0px 2px;
}
#bottomBar {
	position:fixed;
	background-color: var(--black);
	color: white;
	left: 0;
	bottom: 0;
	width:100%;
	overflow: hidden;
	height:24px;
	display:flex;
	justify-content:space-between;
	padding: 0px 10px 0px 10px;
}
#topBar {
	position:fixed;
	background-color: var(--black);
	color: white;
	width: 100%;
	overflow:hidden;
	justify-content:space-evenly;
	display:flex;
	padding:0;
	margin:0px auto;
	top:0;
	left:0;
	height:24px;
}
@media only screen and (max-width: 1220px) {
	body {
		background-image: var(--body-bg-image);
		margin: 0px;
	}
	main {
	    order: 1;
	}
	#container {
		margin: 0 auto;
		border: 3px black solid;
		max-width:800px;

	}
	#header {
		margin:0 auto;
		margin-bottom: 5px;
		margin-top:8px;
		border: 3px black solid;
		max-width:800px;
	}
	#leftSidebar {
		border-right: none;
		border-top: 2px solid var(--black);
	}
	#contactInfo {
		position:fixed;
		bottom:24px;
		left:0;
		width:100%;
		border:0;
		border-top:3px solid black;
		justify-content:space-between;
	}
	#contactIcon {
		margin-right:5px;
	}
	#leftSidebar {
	    order: 2;
	}
	#rightSidebar {
	    order: 3;
	}
	#navbar ul {
	    flex-wrap: wrap;
	}
}

@media only screen and (max-width: 800px) {
	body {
		background-attachment:scroll;
	}
	#container {
		margin:0;
		border:0;
		border-top:3px solid black;
		border-bottom:3px solid black;
		width:100%;
	}
	#header {
		margin:0;
		margin-bottom: 15px;
		width:100%;
		border:0;
		border-top:3px solid black;
		border-bottom:3px solid black;
	}
	#contactInfo {
		position:fixed;
		bottom:24px;
		left:0;
		width:100%;
		border:0;
		border-top: 3px solid var(--black);
	}
	#outer {
		display:flow;
	}
}

.blink {
	animation: blink 1s steps(1, end) infinite;
}

@keyframes blink {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
