/* BASE */
body {
	background: rgb(246, 255, 238);
	font-family: sans-serif;
	font-size: 18px;
	line-height: 1.4em;
	min-height: 100vh;
	margin: 0;
	
	display: flex;
	flex-direction: column;
	align-items: center;
}
body > * {
  	box-sizing: border-box;
	max-width: 1200px;
	padding-left: 2rem;
	padding-right: 2rem;
	width: 100%;
}
h1, h2, h3, h4 {
	font-family: serif;
}
a:hover {
	text-decoration: underline;
}

/*Header*/
h1 a {
	align-items: center;
	color: black;
	display: flex;
	font-size: 2rem;
	justify-content: flex-start;
	line-height: 1.2em;
	text-decoration: none;
	@media (min-width: 600px) {
		font-size: 3rem;
	}
}
.logo {
	color: rgba(20, 89, 14, 1);
	flex-shrink: 0;
	margin-right: 1em;
	width: 4rem;
	min-width: 50px;
}
nav ul {
	border-left: 12px solid rgba(20, 89, 14, 1);
	list-style: none;
	padding: 0;
	padding-left: 10px;
	position: relative;
	@media (min-width: 600px) {
		border: 0;
		display: flex;
		gap: 3rem;
		padding: 0;
	}
}
nav ul li {
	padding-bottom: 0.5em;
	@media (min-width: 600px) {
		padding-bottom: 0;
	}
}
nav a {
	color: black;
	font-size: 1.6rem;
	text-decoration: none;
}

/* MAIN */
article {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	margin-bottom: 1rem;
	@media (min-width: 600px) {
		flex-direction: row;
	}
}
article picture {
	flex-shrink: 0;
	max-height: 200px;
	width: fit-content;
	@media (min-width: 600px) {
		max-height: none;
		width: 50%;
	}
}
article img {
	max-height: 100%;
	max-width: 100%;
}
article > div > *:first-child {
	margin-top: 0;
}

.bookcover {
	max-height: 400px;
	overflow: hidden;
}
.bookcover img {
	max-height: none;
	max-width: none;
	width: -webkit-fill-available;
}

/*Footer*/
footer  {
	background: rgba(20, 89, 14, 1);
	color: #ffffff;
	max-width: none;
	margin-top: auto;
	padding-top: 0.5em;
}
footer ul {
	list-style: none;
  	padding: 0;
	position: relative;
}
footer a {
	color: #ffffff;
	text-decoration: none;
}
footer h2 {
	font-family: sans-serif;
	font-size: 1.4rem;
}
footer h2:first-child {
	margin-top: 0;
}
footer .l-wrapper {
	padding: 1rem;
	max-width: 1200px;
	margin: auto;

	@media (min-width: 600px) {
		display: flex;
		gap: 3rem;
		justify-content: flex-start;
	}
}