body { 
	padding: 0px; 
	margin: 0px;
	color: #333;
	font-family: Raleway, Sans-Serif; 
	font-size: 1em;
	background-color: #fff;
	line-height: 1.5em;
}

.fade {
	background-color: rgba(0,0,0,0.75);
}

.mobilenav {
	display: none !important;
}

#artframe {
	position: absolute;
	left: 5vw; top: 10vh;
	width: 90vw;
	height: 80vh;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	z-index: 2;
}

.clickview {
	cursor: pointer;
}

#container {
	width: 800px;
	height: 100vh;
	margin: 0px auto;
	padding: 0px; 
	position: relative;
	z-index: 0;
}

header{
	width: 100%;
	height: 300px;
	background-image: url('/gfx/title-banner.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 0px 0px;
	margin-bottom: 3em;
}

a {
	color: #4a78a0;
}

#nav {
	width: 100%;
	height: 100%;
}

#nav ul {
	display: flex;
	list-style-type: none;
	position: relative;
	left: 20%;
	top: 70%;
}

footer {
	height: 4em;
	padding: 2em 0;
	margin-top: 2em;
	border-top: solid 1px #aaa;
}

footer ul {
	display: flex;
	list-style-type: none;	
	padding: 0px;
	margin: 0px auto;
	justify-content: center;	
}

.center {
	text-align: center;
}

footer ul li a {
	display: block;
	margin-right: 1em;
	color: #444;
	text-decoration: none;
}

#nav ul li {

}

@keyframes nav {
  from {
  	background-color: #4a78a0;
  	color: white;
  }
  to {
  	background-color: white;
  	color: #4a78a0;
  }
}

#nav ul li a {
	display: block;
	max-width: 6em;
	padding: 0.5em;
	background-color: #4a78a0;
	margin-right: 0.5em;
	color: white;
	text-decoration: none;
	text-align: center;
	border-radius: 8px;
}

#nav ul li a:hover {
  animation-name: nav;
  animation-duration: 1s;	
}

article {
	display: flex;
	align-items: center;
}

article.top {
	align-items: flex-start;
}

article p {
	width: 50%;
	padding: 2em;
}

p.intro::first-line {
	font-size: 1.6em;
}

img.art {
	display: block;
	width: 45%;
	height: auto;
}

h1 {
	font-family: "Give You Glory", cursive;
	text-transform: uppercase;
	line-height: 2em;
}

h2 {
	font-weight: 400;
	color: #4a78a0;
}

.bookpreview {
	width: 100%;
	text-align: left;
	margin-left: 2em;
	display: flex;
}

article.book {
	display: block;
	margin-bottom: 2em;
}

article.book p {
	width: 100%;
}

.bookpreview a { 
	text-decoration: none;
}

.bookcover {
	display: block;
	height: 128px !important;
	width: auto;
	padding: 8px;
	border: solid 1px #ccc;
	border-radius: 16px;
}

a.button {
	display: block;
	max-width: 20em;
	padding: 0.5em;
	background-color: #4a78a0;
	margin: 2em auto;
	color: white;
	text-decoration: none;
	text-align: center;
	border-radius: 8px;	
}

/* MOBILE */ 

@media only screen and (max-width: 600px) {

  	body {

  	}

  	.mobilenav {
  		display: block !important;
  		position: absolute;
  		left: calc(100vw - 1.5em);
  		font-size: 3em;
  		cursor: pointer;
  	}

  	#container {
		width: 96vw;
		height: 100vh;
		margin: 0px auto;
		padding: 0vh 2vw;
		position: relative;
		z-index: 0;
	}

	#nav {
		display: none;
	}

	#nav ul {
		display: block;
		position: absolute;
		width: 90%;
		left: 0px;
		top: 5vh;
		padding: 8px; margin: 0px;
		background-color: white;
	}

	#nav ul li a { 
		min-width: 100%;
		max-width: 100%;
		margin-bottom: 2px;
	}

	article {
		display: block;
		align-items: center;
	}

	article p {
		width: 96%;
		padding: 2%;
	}

	img.art {
		display: block;
		width: 90%;
		height: auto;
		margin: 0px auto;
	}

	header{
		width: 100%;
		height: 128px;
		background-image: url('/gfx/title-banner-mobile.jpg');
		background-repeat: no-repeat;
		background-size: contain;
		background-position: 0px 0px;
		margin: 16px auto;
	}	

	h1, h2 {
		text-align: center;
	}

	.bookpreview {
		width: 95%;
		flex-wrap: wrap;
	}	

	article.book p {
		width: 95%;
	}

	a.button {
		display: block;
		width: 90%;
		max-width: 90vw;
	}

	i.fa-brands {
		font-size: 2em;
		margin-right: 1em;
	}
}

