html {
	scroll-padding-top: 190px;
	min-height: 100vh;
}

body {
	margin: 0;
	padding: 0;
	height: 100%;
}

#page-wrapper {
	background-image: url('/assets/desk.jpg');
	background-size: 100vw 100vh;
	display: flex;
	height: 100%;
	justify-content: center;
	min-height: 100vh;
	width: 100%;
}

#books-container {
	align-items: center;
	column-gap: 100px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 150px;
	max-width: 1000px;
	padding-bottom: 50px;
	width: 100%;
}

.book {
	background-color: darkred;
	box-shadow: 0px 30px 15px -15px rgba(0, 0, 0, 0.3);
	display: flex;
	flex-direction: column;
	margin-bottom: 30px;
	min-height: 325px;
	width: 245px;
	text-decoration: none;
}

.book:hover {
	animation-duration: 0.25s;
	animation-fill-mode: forwards;
	animation-name: book-rise-and-grow-shadow;
}

@keyframes book-rise-and-grow-shadow {
	0% {
		transform: translateY(0) scale(1);
		box-shadow: 0px 30px 15px -15px rgba(0, 0, 0, 0.3);
	}

	100% {
		transform: translateY(-15px) scale(1.05);
		box-shadow: 0px 45px 25px -15px rgba(0, 0, 0, 0.4);
	}
}

.book-color-0 {
	background-color: darkred;
}

.book-color-1 {
	background-color: darkblue;
}

.book-color-2 {
	background-color: darkgreen;
}

.book-color-3 {
	background-color: darkgoldenrod;
}

.book-cover {
	align-items: center;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 20px 15px;
	width: 100%;
}

.story-image-container {
	border: 3px solid black;
	height: 120px;
	width: 150px;
	margin-bottom: 10px;
}

.story-image {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.story-title {
	color: white;
	font-size: 1.5rem;
	font-weight: bold;
	text-align: center;
}

.story-metadata {
	align-self: flex-end;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 3px;
	margin-top: auto;
}

.story-metadata span {
	color: white;
	font-size: 0.9rem;
	margin: 0;
	text-align: right;
}

.book-text-block {
	background-color: lightgray;
	height: 30px;
	margin-top: auto;
	width: 100%;
}

@media screen and (max-width: 670px) {
	#books-container {
		margin-top: 160px;
		row-gap: 50px;
	}
}
