@font-face {
	font-family: 'NateHand2';
	src: url('fonts/NateHand2-Regular.woff2') format('woff2');
	font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.middle_row {
	display: flex;
	position: relative;
	align-items: center;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
	margin: 0;
	padding: 0;
}

footer {
	position: absolute;
	bottom: 0;
	left: 0;
	margin: 0;
	text-align: left;
	justify-content: center;
	font-family: Arial;
	font-size: 0.8rem;
	#background-color: #DCDCDC;
}

.footer-box {
	width: 75%;
	max-width: 600px;
	
	margin-bottom: 50px;
	margin-left: 10px;
	
	text-align: left;
}

#subbutton {
	color: white;
	border: none;
	background-color: #696969;
	text-align: center;
	font-family: Arial;
	font-size: 0.8rem;
	text-decoration: none;
	cursor: pointer;
	padding: 10px 24px;
	position: absolute;
	bottom: 10px;
	left: 10px;
}

#logo-img {
	width: 20%;
	min-width: 100px;
	max-width: 200px;
	height: auto;
	padding: 15px;
	object-fit: contain;
}


#shelf-img {
#	width: 50%;
#	height: auto;
#	padding: 15px;
#	object-fit: contain;
#	margin-right: 1%;
#	margin-top: -25px;
}

.shelf-container {
	margin-right:1%;
	min-width: 100px;
	max-width: 700px;
	position: relative;
	object-fit: contain;
	align-items: center;
	background-color = red;
}

.shelf-container img {
	width: 100%;
	height: auto;
	#display: block;
}

.overlay {
	position: absolute;
	top: 0;
    bottom: 0;
    left: 0;
    right: 0;
	cursor: pointer;
    height: 100%;
    width: 100%;
    opacity: 0; /* Initially invisible */
    transition: opacity 0.5s ease; /* Smooth transition effect */
    background-color: rgba(0, 0, 0, 0.3); /* Optional: Adds a semi-transparent background */
}

#coffin-img-box {
	top: 20%;
	left: 20%;
	height: 60%;
	width: 20%;
}

#card-img-box {
	top: 32%;
	left: 41%;
	height: 50%;
	width: 21%;
}

#statue-img-box {
	top: 20%;
	left: 65%;
	height: 60%;
	width: 15%;
}

.button_layout_box {
	padding: 10px;
	display: flex;
	justify-content: center;
	flex-direction: row;
	width: 10wh;
}

.button_layout_box img {
	width: 35px;
	max-width: 600px;
	height: auto;
	padding: 0px;
	margin: 0px;
	object-fit: contain;
}

.link-box-header {
	font-size: 2rem;
	user-select: none;
	#margin: 15px;
}

.link-box-content {
	display: flex;
	align-items: center;
	flex-direction: column;
	height: 100%;
	max-height: 0px;
	color: #FFFFFF;
	overflow: hidden;
	transition: max-height 0.3s ease-out, color 0.3s ease-in;
}

.link-box-content.open {
	max-height: 100px;
	color: #b0b0b0;
}

#invisible-img-loading {
	opacity: 0;
	width: 0;
	height: 0;
	
	position: absolute;
	left: 0;
	top: 0;
}

p {
	max-width: 25ch;
	margin: 0 auto;
}

a {
  color: inherit; /* Inherits the color from the parent element */
  text-decoration: none; /* Removes the underline */
  cursor: auto; /* Changes the cursor from a pointer back to the default arrow */
}

body {
	font-family: 'NateHand2', Arial;
	font-size: 1.5rem;
	margin: 0;
}