/* local resets */
pre, h1 {
	margin: 0px;
}

/* local fonts */
/* @font-face kit by Fonts2u (http://www.fonts2u.com) */
@font-face {
	font-family: "Scratch Kit";
	src:	url("/font/Scratch_Kit/Scratch_Kit.eot?") format("eot"),
				url("/font/Scratch_Kit/Scratch_Kit.woff") format("woff"),
				url("/font/Scratch_Kit/Scratch_Kit.ttf") format("truetype"),
				url("/font/Scratch_Kit/Scratch_Kit.svg#ScratchKit") format("svg");
	font-weight: normal;
	font-style: normal;
}

/* Local Styles */

* {
	color: #990000;
	background: inherit;
	text-align: justify;
	text-justify: inter-word;
}

html {
	margin: 1em;
	background-color: #000;
}
header h1 {
	text-transform: uppercase;
	margin: 0;
	text-align: right;
	font-size: 2em;
}
header h1::first-letter {
	font-size: 1.3em;
}

.fontface header h1 {
	font-family: "Scratch Kit", serif;
	font-size: 4em;
	margin-top: -.2em; /* font has huge amounts of headroom*/
}

nav {
	text-align: right;
}
nav ul {
	width: 100%;
	list-style-type: none;
	text-align: right;
	margin: 0;
	padding: 0;
}
nav li {
	text-align: left;
	display: inline;
}
nav a {
	padding-left: .25em;
	padding-right: .25em;
	font-size: 1.5em;
}
a {
	padding-left: .1em;
	padding-right: .1em;
	text-decoration: none;
	font-weight: bold;
	-webkit-transition: all 750ms;
	transition: all 750ms;
	border-radius: .25em;
}

a:visited {
	-webkit-transition: none;
	transition: none;
}

a:focus,
a:hover,
a.active {
	background-color: #990000;
	color: #000000;
}
main img {
		width: 100%;
		max-width: 15em;
		border-radius: 1em;
}

dl.contact dt {
	font-weight; bold;
	border-radius: .25em;
	padding-left: .1em;
	padding-right: .1em;
	background-color: #990000;
	color: #000000;
	display: inline;
}
main h2 {
	clear: both;
	border-bottom: 1px solid;
	text-align: right;
}
main h1 {
  clear: both;
	border-bottom: 4px double;
}

@media only screen and (min-width: 25em) and (min-height: 20em) {
  header {
  	position: fixed;
    bottom: 1em;
    height: 3em;
  	left: 5%;
  	right: 5%;
  }

  nav {
  	position: fixed;
    z-index: 99999;
  	bottom: 4em;
  	height: 2em;
  	left: 5%;
  	right: 5%;
  }
  main {
  	position: fixed;
  	top: 1em;
  	bottom: 7em;
  	left: 5%;
  	right: 5%;
  	overflow: hidden;
  }
  main > * {
    height: 100%;
    overflow-y: auto;
		padding-right: 1em;
  }
	main img {
		width: 15em;
		float: left;
		margin-right: .5em;
	}
	main img:nth-of-type(2n) {
		float: right;
		margin-right: 0;
		margin-left: .5em;
	}
}

@media only screen and (min-width: 50em) {
  main article {
  	-webkit-column-width: 18em;
  	-moz-column-width: 18em;
  	column-width: 18em;
  	-webkit-column-fill: auto;
  	-moz-column-fill: auto;
  	column-fill: auto;
  	overflow-x: scroll;
  	overflow-y: hidden;
  }
  nav {
  	bottom: 1em;
    left: 1em;
  	right: calc(50% + .5em);
  }
  header {
  	left: calc(50% + .5em);
    right: 1em;
  }
  header h1 {
  	text-align: left;
  }
  main {
    bottom: 5em;
    left: 5em;
    right: 5em;
  }
}
