.book-container {
	background-color: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	border-radius: 5px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 95vw;
	max-height: 90vh;
	margin-left: auto;
	margin-right: auto;
}

.book {
	display: flex;
	position: relative;
	transition: transform 0.8s ease-in-out;
	transform-style: preserve-3d;
	margin-bottom: 20px;
	max-width: 95vw;
	margin-right: auto;
	border-radius: 3px;
	overflow: hidden;
}

.book img {
	flex-basis: 50%;
	width: 50%;
	height: auto;
	max-height: 100%;
	display: block;
	object-fit: contain;
}

#page-left {
	border-right: 1px solid #eee;
}

.book-container .controls {
	display: flex;
	align-items: flex-start;
	width: 100%;
}

.controls button {
	padding: 5px 10px;
	margin: 0 10px;
	cursor: pointer;
	font-size: 1.75rem;
	transition: all .3s;
	color: #593c98;
}

.controls button:disabled {
	color: #d7d7d7;
}


.controls button:active {
	transform: scale(0.95);
}

.controls button:active:disabled {
	transform: none;
}

.controls .book-next {
	margin-right: auto;
}

#page-left, #page-right {
	opacity: 1;
	transition: opacity 0.3s ease-in;
}

.page-transition {
	opacity: 0;
}


@media (max-width: 450px) {
	
	.book-container {
		padding: 5px;
	}
	
	.book {
		margin-bottom: 5px;
	}

}