body {
	background: #5D4438;
	font-family: "Sometype Mono", monospace;
	font-size: 12px;
	background: url(images/bg-tile.png);
	background-attachment: fixed;
	background-size: 15px;
}
h1 {
	background: url(images/title.png) no-repeat;
	background-size: 350px;
	height: 43px;
	display: block;
	margin: -40px auto -10px;
	background-position: center;
  text-align: center;
	rotate: 3deg;
	box-sizing: border-box;
	padding: 10px;
	font-family: "Just Me Again Down Here", cursive;
	font-size: 30px;
  line-height: 20px;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
  z-index: 2;
  position: relative;
}

nav {
	background: url(images/tornpapernav.png);
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
	background-size: 500px 60px;
  height: 60px;
  margin-bottom: -25px;
  z-index: 1;
  position: relative;
	box-sizing: border-box;
	padding: 15px;
}
nav ul {
	display: flex;
	flex-direction: row;
	list-style: none;
	margin: 0;
	padding: 0;
	justify-content: space-around;
	font-size: 13px;
}
.headernav h1 a:link, .headernav h1 a:visited, .headernav h1 a:hover, .headernav h1 a:active {
	color: #000;
	text-decoration: none;
}
nav a:link, nav a:visited {
	text-decoration: none;
	color: #000;
  font-weight: bold;
  filter: drop-shadow(0 0 2px rgb(87, 185, 139));
	padding-bottom: 2px;
}
nav a:hover, nav a:active {
	font-style: italic;
	border-bottom: 2px dotted #000;
	padding-bottom: 2px;
}
.main {
	max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 6%;
}

.headernav img {
	max-width: 100%;
	width: 200px;
	margin: 0 auto 20px;
	display: block;
}

h2 {
	margin-top: 0;
	padding-top: 0;
	padding-bottom: 5px;
	display: block;
	border-bottom: 1px dotted #000;
}

a:link, a:visited {
	text-decoration: none;
	font-weight: bold;
	color: #5ca869;
}
a:hover, a:active {
	font-style: italic;
}

.lace {
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
  border-image: url(images/s512_extra02_31_2.png) 100 fill round;
  border-width: 30px;
  border-style: solid;
	margin-bottom: 150px;
}

.inner-container {
	background: url(images/pattern-tile.png);
	background-size: 1.5%;
	padding: 10px;
}
.outer-content {
	background: #ffffff;
	border: 1px dotted #000;
}
.inner-content {
	height: 300px;
	overflow-y: scroll;
	overflow-x: hidden;
	background: #fffcf6;
	padding: 10px;
}

#codes {
	width: 250px;
	height: 50px;
	font-size: 12px;
}

.form-row {
	display: block;
	margin-bottom: 10px;
}
.form-row label {
	display: block;
}
button {
	background: #fff;
	border: 1px dotted #000;
	font-family: "Sometype Mono", monospace;
	padding: 10px 15px;
}