@import url('https://fonts.googleapis.com/css?family=Open+Sans%7CHomemade+Apple%7CUnifrakturCook:700');

body {
	background: url(wood.jpg);
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat;
	padding: 0;
	margin: 0;
	font-family: "Open Sans", "Helvetica Neue", sans-serif;
}

li {
	white-space: nowrap;
}

#skull {
	position: absolute;
	right: 5vw;
	top: 5vw;
	transform: rotate(15deg);
	width: 15vw;
	box-sizing: border-box;
}

#quill {
	position: absolute;
	top: 10vw;
	right: calc(25vw + 20px);
	width: 10vw;
}

#preppedSpellMenu {
	position: absolute;
	left: calc(2rem + 40vw);
	top: calc(116px + 18.5vw);
	background-color: goldenrod;
	flex-direction: column;
	display: flex;
	justify-content: space-evenly;
	height: calc(100vh - 18.5vw - 4rem);
}

#preppedSpellMenu, #preppedSpellMenu input {
	font-family: serif;
}

#preppedSpellMenu form {
	width: auto;
}

#restButton {
	width: 4em;
}

h1 {
	font-family: UnifrakturCook, serif;
	margin-left: 10vw;
	margin-top: 5vw;
	margin-bottom: 3vw;
	color: rgba(0, 0, 0, 0.4);
	font-size: 8vw;
}

form {
	margin-bottom: 1rem;
	width: 40vw;
	white-space:nowrap;
}

form > div {
	display: flex;
	width: 100%;
	align-items: stretch;
}

input[type="text"] {
	flex: 1 1 0px;
	height: auto;
	min-width: 0;
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: .5rem;
	border: 1px solid #cacaca;
	background-color: #fefefe;
	box-shadow: inset 0 1px 2px rgba(10,10,10,.1);
	font-family: inherit;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #0a0a0a;
	transition: box-shadow .5s,border-color .25s ease-in-out;
	appearance: none;
}

input[type="text"]:focus {
	outline: 0;
	border: 1px solid #8a8a8a;
	background-color: #fefefe;
	box-shadow: 0 0 5px #cacaca;
}

.buttonWrapper {
	padding-top: 0;
	padding-bottom: 0;
	text-align: center;
	display: flex;
	flex: 0 0 auto;
}

input[type="submit"] {
	background-color: #F8BE3D;
	color: #0a0a0a;
	height: auto;
	align-self: stretch;
	padding-top: 0;
	padding-bottom: 0;
	font-size: 1rem;
	margin: 0;
	white-space: nowrap;
	display: inline-block;
	vertical-align: middle;
	font-family: inherit;
	padding: 0 1em;
	border: 1px solid transparent;
	transition: background-color .25s ease-out,color .25s ease-out;
	font-size: .9rem;
	line-height: 1;
	text-align: center;
	cursor: pointer;
}

main {
	box-sizing: border-box;
	background-image: url(parchment.jpg);
	background-size: cover;
	background-repeat: no-repeat;
	width: 40vw;
	margin-left: 0vw;
	height: calc(100vh - 18.5vw - 4rem);
	overflow-y: scroll;
	font-family: "Homemade Apple", cursive;
	font-size: 1rem;
	color: rgb(51, 26, 0);
	padding: 1.5rem 4rem;
	box-shadow: 1px 1px 15px rgba(0,0,0,0.4);
}

#legend {
	background-image: url(parchment.jpg);
	box-sizing: border-box;
	background-size: cover;
	background-repeat: no-repeat;
	width: 40vw;
	margin-left: 0vw;
	font-family: "Homemade Apple", cursive;
	font-size: 1rem;
	padding: 1.5rem 4rem;
	height: auto;
	box-shadow: 1px 1px 15px rgba(0,0,0,0.4);
}

main > div > ul {
 list-style: none;
 padding: 0;
}

span.spellCategory {
	font-weight: bold;
	font-size: 1.2em;
}

.details {
	font-size: 0.7em;
	margin-top: -1rem;
}

.Evocation {
	color: darkorange;
}

.Illusion {
	color: rgba(64,64,64,0.5);
}

.Conjuration {
	color: blue;
}

.Necromancy {
	color: black;
}

.Divination {
	color: aqua;
}

.Enchantment {
	color: red;
}

.Abjuration {
	color: white;
}

.Transmutation {
	color: green;
}

.favButton {
	padding-left: 20px;
}

.template {
	display:none;
}
