@import url('https://fonts.googleapis.com/css2?family=Source+Serif+Pro:ital,wght@0,400;0,700;1,600&display=swap');

body, html {
	padding: 0;
	margin: 0;
	font-size: 16px;
	line-height: 1.5rem;
	color: #0b0b08;
	scroll-behavior: smooth;
	overscroll-behavior: contain;
}

body {
	font-family: Courier, 'Source Serif Pro', serif;
	background-image: url('red-vox-bg.png');
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 100vh;
	background-attachment: fixed;
	padding: 20px;
}

p {
	font-weight: 600;
	padding-top: 10px;
}

img {
	max-width: 100%;
	/*border-radius: 4px;*/
}

.comic {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.lyric-display {
	text-align: center;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
	text-align: center;
}

.page {
	padding: 24px;
	overflow: auto;
	margin-top: 240px;
}

.page h1:first-child {
	margin-top: 0;
}

a {
	color: #780606;
	text-decoration: underline;
}

.header-body {
	text-align: center;
	padding-top: 60px;
	background-image: none;
	position: relative;
	background-image: url(red-vox-bg.png);
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
}

.header-body-main {
	text-align: center;
	padding: 30px 0 50px 0;
	position: relative;
}

.header-body a {
	color: #fff;
	font-weight: 600;
}

.header-body.major {
	background-color: #780606;
}

.avatar {
	width: 50%;
	padding-bottom: 15px;
}

.title {
	font-size: 18px;
	font-style: italic;
	font-weight: 600;
	margin: 12px 0;
	letter-spacing: 0.5px;
}

.menu a {
	font-weight: 600;
	display: inline-block;
	padding: 6px;
}

.menu-main a {
	color: #fff;
	font-weight: 600;
	display: inline-block;
	padding: 6px;
}

.top iframe {
	border: 0;
	/* Edit this height if you would like the header to be taller */
	height: 400px;
	width: 100%
}

.wrapper-main {
	max-width: 800px;
	margin: auto;
	box-shadow: 0 0 24px #3d382c1c;
	background: #f8f8f8;
	padding: 24px 60px;
	box-sizing: border-box;
	border-radius: 5px;
	margin-bottom: 20px;
	padding-bottom: 20px;
}

.wrapper {
	max-width: 800px;
	margin: auto;
	box-shadow: 0 0 24px #3d382c1c;
	background: #FFF;
	padding: 24px 60px;
	box-sizing: border-box;
	border-radius: 5px;
	margin-bottom: 20px;
	padding-bottom: 20px;
}

.main {
	padding: 30px;
}

.footer {
	text-align: center;
	font-size: 0.75em;
	max-width: 600px;
	margin: auto;
	box-shadow: 0 0 24px #3d382c1c;
	background: #f8f8f8;
	padding: 24px 60px;
	box-sizing: border-box;
	border-radius: 5px;
	margin-bottom: 20px;
	padding-bottom: 20px;
}

.divider {
	display: block;
	margin: 0 auto;
	padding: 15px;
	width: 15%;
}

.link-back {
	text-align: center;
	display: block;
	margin: 0 auto;
}

table {
	border: 1px solid #9f9689;
	border-collapse: collapse;
	margin: 36px 0;
}

th, td {
	padding: 12px 24px;
    vertical-align: top;
}

th {
	background: #F6F6F6;
	font-weight: 600;
	letter-spacing: 0.5px;
}

tr {
	background-color: #FFF;
}

tr:hover {
	background: #F6F6F68F;
}

.width-50 {
	width: 50%;
}

a:hover {
	text-decoration: underline;
}

/* --------------------------------------
   AUTOMATED THUMBNAIL GRID (Vertical Stack) 
--------------------------------------- */
#comic-grid-container {
    display: flex;
    flex-direction: column; /* This forces the items to stack top-to-bottom */
    align-items: center;    /* This centers the stack within the white content column */
    gap: 50px;              /* Adds generous breathing room between each comic */
    padding: 20px 0;
}

.thumbnail-item {
    text-align: center;
    width: 100%;
    max-width: 500px;       /* Increased from 200px! Adjust this number to make them bigger or smaller */
}

.thumbnail-item img {
    width: 100%;            /* Forces the image to fill the new, wider container */
    height: auto;
    border: 2px solid #000;
}

.thumbnail-item p {
    margin-top: 15px;       /* Adds a little space between the big image and the title */
    font-size: 1.2em;       /* Bumps up the title size to match the bigger image */
}

.thumbnail-item a {
    text-decoration: none;
    color: inherit;
}

.thumbnail-item a:hover img {
    opacity: 0.8;
}

/* --------------------------------------
   AUTOMATED THUMBNAIL GRID (original)
--------------------------------------- //

#comic-grid-container {
    display: flex;
    flex-wrap: wrap; // Allows thumbnails to wrap to the next line on smaller screens //
    gap: 20px; // Space between the thumbnails //
    justify-content: center; /* Centers the grid on the page //
}

.thumbnail-item {
    text-align: center;
    max-width: 200px; // Adjust this to match your thumbnail size //
}

.thumbnail-item img {
    max-width: 100%;
    height: auto;
    border: 2px solid #000; // Optional: adds a border around your thumbnails //
}

.thumbnail-item a {
    text-decoration: none; // Removes the blue underline from the text //
    color: inherit; // Keeps the text matching your site's theme //
}

.thumbnail-item a:hover img {
    opacity: 0.8; // Adds a slight fade effect when hovering over the thumbnail //
}