:root {
	--color-background:	#BC6D4F;
	--color-border:		#9D331F;
	--color-title:		#500805;
	--color-subtitle:	#1E0000;
	--color-white:		#F8F6F4;
}


/* Body */

html, body {
	padding: 0;
	margin: 0;
	position: relative;
	height: 100%;
}
body {
	font-size: 16px;

	background-color: var(--color-background);
	background-image: url("https://www.transparenttextures.com/patterns/subtle-dots.png");
	background-image: url("https://www.transparenttextures.com/patterns/noise-pattern-with-subtle-cross-lines.png");
}
h1 {
	font-family: "Bree Serif", Georgia, serif;
	font-weight: normal;
	color: var(--color-title);
	display: inline;
	font-size: 2.2em;
}
h2 {
	font-family: "Bree Serif", serif;
	font-weight: normal;
	font-size: 15px;
	color: var(--color-subtitle);
}


/* Wrapper */

#wrapper {
	margin: 0 auto;
	width: 1000px;
	min-height: 100%;
	position: relative;
}
@media only screen and (max-width: 1000px) {
	#wrapper {
		margin: 0 auto;
		width: 100%;
	}
}


/* Header */

.header {
	width: 410px;
	margin: 0 auto;
	text-align: center;

	border-radius: 0 0 1em 1em;
	background: var(--color-white);
	box-shadow: 2px 2px 5px 2px rgba(0,0,0,.2);
}

.headerLinks {
	width: 100%;
	text-align: center;

	display: flex;
	justify-content: center;
	flex-wrap: wrap;

	transition: all .1s ease-in-out
}
@media only screen and (max-width: 600px) {
	.header {
		width: 100%;
		border-radius: 0;
	}
}

.headerLink {
	width: 70px;
	margin: -0.5em 0;
	#border: 2px #f00 dotted;
	#background-color: var(--color-200);
	#border: 1px solid var(--color-border);
	#border-radius: 0px;
}
.headerLink:hover {
	color: var(--color-subtitle);
	text-decoration: underline;
}
.headerLink:active {
	transform: scale(0.9);
}


/* Footer */

#footer {
	background: var(--color-border);
	background-image: url("https://www.transparenttextures.com/patterns/random-grey-variations.png");
	box-shadow: 0px -1px 5px 2px rgba(0,0,0,.2);

	position: relative;
	height: 100px;
	margin-top: 50px;
	padding: 1em;
	clear: both;
	text-align: center;
}



/* Links */

a {
	font-family: "Bree Serif", "Oranienbaum", Georgia, serif;
	color: #D72;
	//font-weight: bold;
	cursor: pointer;
}
a:hover {color: #EB8;}
a:active {color: #D43;}
a:link, a:visited {text-decoration: none;}



html {
	height: 100%;
	box-sizing: border-box;

	font-family: arial, sans-serif;
}

*, *:before, *:after {
	box-sizing: inherit;
}

body {
	position: relative;
	margin: 0;
	padding-bottom: 6rem;
	min-height: 100%;
	font-family: "Helvetica Neue", Arial, sans-serif;
	background-color: #f8f8fc;
}

#wrapper {
	max-width: 1000px;
	width: 100%;
	padding: 20px;
	margin: auto;

	display: flex;
	flex-direction: row;
	justify-content: center;
}

@media only screen and (max-width: 600px) {
	#wrapper {
		flex-direction: column;
	}
	.alts {
		display: none;
	}
}

.inputArea {
	width: 100%;
	padding: 5px;
}

.inputArea h2, #header h2 {
	font-size: 24px;
	display: inline;
}

.inputArea textarea {
	font-size: 24px;
	width: 100%;
	height: 116px;

	resize: none;
	box-shadow: inset 1px 1px 2px rgba(0,0,0,.1), inset 0 -1px 2px rgba(0,0,0,.07);

	box-sizing: border-box;
	overflow-y: hidden;
	overflow-x: auto;
	padding-right: 20px;
}

.alts {
	font-family: "Bree Serif", serif;
	font-weight: normal;
	white-space: pre-wrap;
	-webkit-margin-before: 0em;
    -webkit-margin-after: 0em;
}


#header {
	text-align: center;
	padding: 1em;

	background-color: #dddddd;
	background-image: url("https://www.transparenttextures.com/patterns/random-grey-variations.png");
	box-shadow: 2px 2px 5px 0 rgba(0,0,0,.1);
}

#header h2 {
	font-weight: normal;
	font-size: 24px;
	color: #777777;
}

#footer2 {
	background-color: #dddddd;
	
	box-shadow: 2px -2px 5px 0 rgba(0,0,0,.1);
	color: white;

	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 1em;
	text-align: center;

	height: initial;
}

#footer h2 {
	color: #888888;
}
