.scroll-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 100px 0;
}

.scroll-container img {
	max-width: 800px;
	width: 100%;
	display: block;
}

/* Keeps the links and the dropdown perfectly lined up in a row */
.chapter {
	position: relative;
	font-family: 'MitteFont', serif;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px 20px;
	margin: 10px auto;
	z-index: 8;
}

.chapter a {
	display: inline-block;
	color: #ffffff;
	text-decoration: underline;
	margin: 0 40px;
	font-size: 27px;
	font-weight: normal;
	z-index: 10;
	transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chapter a:hover {
	opacity: 0.7;
	transform: scale(1.08);
}

/* DROPDOWN CONTAINER */
.chapter .dropdown {
	display: inline-block;
	position: relative;
	z-index: 20;
}

/* Styles the "Jump to Chapter" button */
.chapter .dropdown-toggle {
	background: #313335;
	background-image: url('images/chapter1-2.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	color: #ffffff;
	border: 2px solid #333333;
	padding: 10px 20px;
	font-family: serif;
	font-size: 20px;
	font-weight: normal;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.chapter .dropdown-toggle:hover {
	background-color: #232425;
	transform: scale(1.03);
}

/* The hidden scrolling menu box (Pops UPWARDS) */
.chapter .dropdown-menu {
	display: none;
	position: absolute;
	bottom: 100%;
	left: 50%;
	transform: translateX(-50%);
	background-color: #5b5c5d;
	min-width: 180px;
	border: 2px solid #333333;
	list-style: none;
	padding: 0;
	margin: 0;
	max-height: 200px;
	overflow-y: auto;
}

/* Styles the individual chapter list links */
.chapter .dropdown-menu li a {
	display: block;
	padding: 10px 15px;
	color: #ffffff;
	font-size: 18px;
	text-decoration: none;
	text-align: center;
	margin: 0;
}

.chapter .dropdown-menu li a:hover {
	background-color: #232425;
	opacity: 1;
}

/* Displays menu on hover */
.chapter .dropdown:hover .dropdown-menu {
	display: block;
}

/* Custom Scrollbar */
.chapter .scrollable-menu::-webkit-scrollbar {
	width: 6px;
}

.chapter .scrollable-menu::-webkit-scrollbar-track {
	background: #111111;
}

.chapter .scrollable-menu::-webkit-scrollbar-thumb {
	background: #333333;
}

.chapter .scrollable-menu::-webkit-scrollbar-thumb:hover {
	background: #676b6f;
}