body {
	background: linear-gradient(to bottom, #222 0%, #000 100%);
	color: #ddd;
	font-family: "Trebuchet MS", Verdana, Arial, sans-serif;
}

.global {
	display: flex;
	flex-flow: column nowrap;
	margin: 0 auto;
	max-width: 1200px;
}

header {
	display: flex;
	flex-flow: row nowrap;
	justify-content: flex-start;
	align-items: center;
	padding: 10px 0;
}

header .main_logo {
	max-width: 300px;
	width: 20%;
	margin-right: 5%;
}

header h1,
.cover_title {
	font-family: "Monotype Corsiva", "Brush Script MT";
	letter-spacing: 3px;
	font-size: 32px;
	margin: 0.4em 0;
}

main {
	display: flex;
	flex-flow: row nowrap;
	gap: 5%;
}

footer {
}

.nav {
	flex: 0 0 5%;
	width: 5%;
	min-width: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nav.left {
}

.nav.right {
}

.nav .button {
	border: 0 none;
	position: relative;
	width: 100%;
	aspect-ratio: 75/66;
}

.nav .button:before {
	filter: drop-shadow(0px 0px 2px #f0f) drop-shadow(0px 0px 8px #f0f) drop-shadow(0px 0px 8px #f0f);
	transition: filter 0.3s ease;
	background-image: url("images/nav_arrow.svg");
	background-repeat: no-repeat;
	background-position: center center;
	width: 100%;
	height: 100%;
	content: "";
	display: block;
}

.nav .button:after {
	height: 20px;
	width: 20px;
	background: radial-gradient(rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.4) 20%, rgba(255, 255, 255, 0) 60%);
	content: "";
	position: absolute;
	left: 0%;
	top: 0%;
	border-radius: 50%;
	display: block;
	transform: translate(-50%, -50%);
	transition: left 0.6s ease, top 0.6s ease, transform 0.6s ease;
	opacity: 0.6;
}

.nav .button:hover {
	&:before {
		filter: drop-shadow(2px 2px 16px #0cf) drop-shadow(2px 2px 16px #0cf) drop-shadow(2px 2px 16px #0cf);
	}
}

.nav .button.prev {
	transform: rotate(180deg);
}

.nav .button.prev:after {
	left: 0%;
	top: 100%;
}

.nav .button.prev:hover:after {
	left: 100%;
	top: 50%;
	opacity: 1;
}

.nav .button.next {
}

.nav .button.next:after {
	left: 0%;
	top: 0%;
}

.nav .button.next:hover:after {
	left: 100%;
	top: 50%;
	opacity: 1;
}

.content {
	width: 80%;
	max-width: calc(90% - 40px);
	font-size: 20px;
	line-height: 160%;
	height: calc(90vh - 125px);
	overflow-y: auto;
	scrollbar-color: black white;
	scrollbar-width: thin;
}

.content::-webkit-scrollbar {
	width: 8px;
}

/* Track */
.content::-webkit-scrollbar-track {
	background: #111;
	border: 1px solid #333;
}

/* Handle */
.content::-webkit-scrollbar-thumb {
	background: #555;
	transition: background-color 0.3s;
}

/* Handle on hover */
.content::-webkit-scrollbar-thumb:hover {
	background: #888;
}

.content p {
	margin-bottom: 2em;
}

.content img {
	max-width: 300px;
}

.content img.align_left {
	float: left;
	margin: 0 2% 0 0;
}

.content img.align_right {
	float: right;
	margin: 0 0 0 2%;
}

.content.cover {
	display: flex;
	flex-flow: column nowrap;
	align-items: center;
	justify-content: center;
}

.content .cover_image {
	width: 100%;
	height: 80%;
	max-width: 100%;
	object-fit: contain;
}
