        .curved-lines {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
			opacity: 75%;
            pointer-events: none;
        }

        .curve {
            filter: drop-shadow(-0.1px -0.1px 0.1px rgba(0, 0, 0, 1));
        }

/*Main style*/
html, body
{
	background-color: #5C3232; /*#2E0000;*/
	color: darkgoldenrod; 
	font-family: Georgia, serif;
	height:100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
}
	
h1 
{
	color: darkgoldenrod;
	width: 300px;
	padding: 7.5px;
	text-align: center;

	border: 2px inset darkgoldenrod;
	border-radius: 15px;

	font-variant: small-caps;
	text-shadow: -1px -1px 0 rgba(0,0,0,0.5);
	z-index: 4;
	position: relative;
	left: 50%; /* Move the left edge to the middle of the screen */
	transform: translateX(-50%); /* Shift the element back by half its width */
	align-items: center;/* Adjust this value to position the title vertically */
	
	background-color: #EDDB9B;
	box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.5);
	}
	h1 a
	{
		text-decoration: none;
		color: darkgoldenrod;
	}
	
	h1 a:hover
	{
		color: darkred;
	}
		
	
	iframe
	{
		border: 2px inset darkgoldenrod;
	}

.nav-container {
    font-size: medium;
    max-width: 90vw;
    position: fixed;
    display: flex;
    justify-content: center; /* Center the ul */
    align-items: center;
    z-index: 7;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    text-align: center;
    flex-wrap: nowrap;
    width: auto;
    min-width: fit-content;
		text-shadow: -1px -1px 0 rgba(0,0,0,0.5)
}

ul {
    display: flex; /* Make ul a flex container */
    border: 2px inset darkgoldenrod;
    border-radius: 15px;
    font-variant: small-caps;
    list-style-type: none;
	padding: 2px 10px;
    margin: 0;
    overflow: hidden;
    z-index: 4;
	width: fit-content;
	justify-content: center;
	
	background-color: #EDDB9B;
	box-shadow: inset 2px 2px 4px 0 rgba(0, 0, 0, 0.3);
}

li 
{
    margin: 0 5px; /* Add spacing between list items */
	text-align: center;
	border-left: 1px solid rgba(184,134,11,0.2);
	border-radius: 5px;
	padding-left: 2px;
}

li a {
    display: block;
    color: darkgoldenrod;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

li a:hover 
{
    color: darkred;
}

	footer
	{	
		writing-mode: sideways-lr;
		width: fit-content;
		height: fit-content;
		opacity: 0.5;
		border: 2px solid rgba(171,35,40,0.5);
		border: 2px inset darkred;
		border-radius: 5px;
		background-color: black;
		padding: 5px;
		position: fixed;
		display: flex;
		justify-content: center;
		align-items: bottom;
		bottom: 1px;
		left:1px;
		z-index:0;
	}

/*Dropdownmenu*/
.pagination
{
	position: fixed;
}

li .main_active
{	
	color: darkred;
	text-shadow: 2px 2px 2px darkgoldenrod;
}

.index_boek
{
	width:100%;
}

.dropbtn {
  background-color: transparent;
  border: none;
  max-width: 100px;
  max-height: 100px;
  display: block;
  z-index: 7;
  cursor: pointer;
}

.dropdown {
  position: relative;
  display: inline-block;
  z-index: 7;
}

.dropdown-content {
  border: 2px solid darkgoldenrod;
  margin-left: 5%;
  display: none;
  position: absolute;
  background-color: #EDDB9B;
  min-width: 160px;
  box-shadow: inset 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 7;
  text-align: center;
  max-height: 150px;
  border-radius: 5px;
  padding-right: 35px;
  overflow: hidden;
}

.dropdown-arrows {
  position: absolute;
  right: 0;
  top: 33%;
  pointer-events: none;
  height: 60px;
  width: 30px;
  z-index: 15;
}

.scroll-button {
  pointer-events: auto;
  background:  #EDDB9B;
  color: darkgoldenrod;
  border: none;
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: none;
  margin: 2px;
  border: solid 2px darkgoldenrod;
  border-radius: 50%;
  box-shadow: inset 2px 0px 0px 2px rgba(0, 0, 0, 0.1);
}

.scroll-button:hover
{
	box-shadow: inset 4px 4px 4px 4px rgba(0, 0, 0, 0.1);
}

.scroll-button:active
{
	color: white;
	border: white;
}
.up-arrow {
  position: absolute;
  top: 20%;
  right: 0;
}

.down-arrow {
  position: absolute;
  top: 80%;
  right: 0;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

.dropdown-links {
  max-height: 150px;
  padding: 10px;
  
}

.simplebar-scrollbar::before {
  opacity: 0 !important;
}



@media (max-width: 768px)
{
	.pagination
	{
		margin-top: 5%;
	}
	
	.dropbtn
	{
		max-width: 50px;
		max-height: 50px;
	}
	.index_boek
	{
		
		min-width: 50px;
		max-width: 75%;
	}

	#centerpiece
	{
		display: flex;
		height: 75%;
		justify-content: center; /* horizontal */
		align-items: center;     /* vertical */
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
		width: 90%;
		position: relative;
		left: 50%;
		transform: translateX(-50%);
		z-index: 4;
	}

	#content
	{
		background-color: #EDDB9B;
		z-index: 6;
		padding: 15px;
		frameborder:0;
		scrolling:auto;
		overflow: hidden;
		width: 90%;
		height:100%;
		display: flex;
		border-radius: 15px;
		box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.5);
	}

	footer
	{	
		writing-mode: sideways-lr;
		width: fit-content;
		height: fit-content;
		opacity: 0.5;
		border: 2px inset rgba(171,35,40,0.5);
		border-radius: 5px;
		max-width: 25%;
		background-color: rgba(0,0,0,0.5);
		clear: left;
		text-align: center;
		left:0;
		padding: 5px;
		bottom: 0;
		position: absolute;
		font-size: 50%;
	}
}

@media (min-width: 768px) and (max-width: 1024px)
{

	#centerpiece
	{
		display: flex;
		height: 80vh;
		justify-content: center; /* horizontal */
		align-items: center;     /* vertical */
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	}
	
	#content
	{
		background-color: #EDDB9B;
		z-index: 6;
		padding: 15px;
		overflow: hidden;
		width: 90%;
		height:100%;
		display: flex;
		border-radius: 5%;
		box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.5);
	}
	
	.nav-container
	{
		font-size: larger;
		padding: 10px;
	}

}

@media (min-width: 1024px)
{
	
	#centerpiece
	{
		display: flex;
		height: 85vh;
		justify-content: center; /* horizontal */
		align-items: center;     /* vertical */
		box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	}

	#content
	{
		background-color: #EDDB9B;
		z-index: 6;
		padding: 5px;
		overflow: hidden;
		width: 90%;
		height:100%;
		display: flex;
		border-radius: 5%;
		box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.5);
		top: 50%;
		transform: translateY(-50%);
	}
	
	.nav-container
	{
		font-size: x-large;
		padding: 10px;
	}
	
	li
	{
		padding: 0px 15px;
	}

	.pagination
	{
		display: flex;
		position: fixed;
		justify-content: center;
		top: 15px;
		right:20%;
		z-index: 7;
	}
		.index_boek
	{
		max-width: 75%;
	}
}
