@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&display=swap');
@font-face{
	font-family: 'Nickname Demo';
	src: url('../fonts/nickname-demo.otf');
	font-weight:normal;
	font-style:normal;
}
@font-face{
	font-family: 'Courier New Bold';
	src: url('../fonts/courbd.ttf');
	font-weight:normal;
	font-style:normal;
}
@font-face{
	font-family: 'Stanberry';
	src: url('../fonts/Stanberry.ttf');
	font-weight:normal;
	font-style:normal;
}

p {
	font-size:1.2rem;
	text-align: left;
	font-family: 'Stanberry', sans-serif;

}
h1, h2, h3, h4, h1 a, h2 a, h3 a, h4 a {
	font-family: 'Nickname Demo', sans-serif;
	text-align:center;
}
body{
	height:100%;

}


header {
	background-color: black;
	list-style: none;
	overflow: hidden;
	white-space: nowrap;
	width: 100%;
	max-height:200px;
}
html, body{
	height: auto;
}

.page-wrap {
	margin:0;
	width:100%;
	display:flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;

}
.container {
	display: flex;
	max-width: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
	padding: 1rem;
}

.wp-block-gallery figure{
	width: 33%;
	height:auto;
}
.wp-block-gallery figure img{
	width:33%;
	height:100%;
	object-fit: cover;
}
.wp-block-post-featured-image {
	height:100%;
}
.wp-block-group{
	border-radius:50px;
}
header .menu-top-menu-container {
	height: 100%;
}
header .top-bar {
	margin-top: 1rem;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}



header .top-bar li {
	margin: 0 1rem;
}


header .menu-item {
	flex: 1;
	max-width: 150px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	overflow: hidden;
}

header .menu-item img {
	max-width: 80%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
	transition: transform 0.3s ease;
}

header .menu-item img:hover {
	transform: scale(0.9);
	opacity: 0.8;
}

.icons, .comic-buttons{
	justify-content: center;
	align-items: center;
	text-align:center;
	text-decoration:none;
	font-size: 2.5rem; /* Default size */
	color: white; /* Inherit color from parent */
}

.icons a, .comic-buttons a{
	margin: 0 3rem;
	margin-top:0px;
	margin-bottom:100px;
	color:white;
	text-decoration: none;
	transition: font-size 0.2s ease, color 0.3s ease; /* Smooth transition */
}

.icons{
	display:flex;
	margin-bottom:20px;
}

.icons a{
	margin: 0.5rem 0.5rem;
	text-decoration: none;
	transition: font-size 1s ease, color 0.3s ease; /* Smooth transition */
}
#home-button{
width: auto;
}
.icons a:visited{
	color:white;
}
.wp-block-columns{
	margin-top: 1rem;

}
.wp-block-column{
	flex-direction: column;
}
.wp-block-image{
	display:flex;
}


.comic-column{
	padding-left:10px;
	border-left: 5px solid white;
}
.icon-link {
	display: inline-block;
	transition: all 0.4s ease-in-out;
}

.icon-link:hover {
	transform: scale(0.9);
}
#youtube:hover{
color:pink;
}
#bsky:hover{
color:#26CBFF;
}
#twitter:hover{
color:#B2FF36;
}
#tumblr:hover{
color:#36465D;
}
#twitch:hover{
color:#9700CC;
}
#discord:hover{
color:#618EFF;
}
#patreon:hover{
color:#FF8730;
}
#tiktok:hover{
color:#B3B3B3;

}

/*FRONT PAGE*/
.main-logo{
	display: flex;
	justify-content: center;
	align-items: center;
	width:75%;
	margin:auto;
	margin-bottom:25px;
}

.front-page-main{
	color:white;
	background-color:black;
	border-radius:20px;
	padding:25px;
	width:100%;

}
.front-page-main a{
	color:white;
	text-decoration: none;

}
.front-page-main h3{
	font-family: 'Nickname Demo', sans-serif;

}
.nav-buttons{
	display:grid;
	grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
	list-style-type: none; /* Remove bullets */
	padding: 0;
	margin: 0;
	gap: 10px; /* Adds space between items */
	text-align: center;
	font-size: 2rem;
	font-family: 'Nickname Demo', sans-serif;
}
.nav-buttons a{
	color:inherit;
	text-decoration: none;
}

.nav-buttons li{
	padding-top:0.5rem;
	border: 4px solid white;
}

#archive-nav li{
	border: 4px solid white;
	padding-top:0.5rem;

}
.nav-buttons li a{
	font-family: 'Nickname Demo', sans-serif;

}
.two-wide-nav{
	grid-template-columns: repeat(2, 1fr);
	gap:0px;
}
.two-wide-nav div a li{
	padding-top:0.5rem;
}
.two-wide-nav li{
	border-radius:10px;
	padding: 0px 10px;
	margin: 10px;
	transition: background-color 0.3s ease-in-out;

}
.two-wide-nav li:hover{
	background-color: gray;
}
.four-wide-nav{
	grid-template-columns: repeat(4, 1fr);
	gap:0px
}
.four-wide-nav li{
	border-radius:10px;
	margin: 10px 5px;
	color:white;
	transition: background-color 0.3s ease-in-out;
}
.four-wide-nav li:hover{
	background-color: gray;
}
.gallery-header {
	display: grid;
	grid-template-columns: 60px 1fr 60px;
	align-items: center;
	margin: 10px 0;
}

.gallery-header h1 {
	grid-column: 2;
	margin: 0;
	text-align: center;
	font-family: 'Nickname Demo', sans-serif;

}

.gallery-header .home-button {
	grid-column: 1;
	grid-row: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 60px;
	height: 60px;
	border: 4px solid white;
	border-radius: 40%;
	color: inherit;
	font-size: 1.5rem;
	text-decoration: none;
	transition: background-color 0.3s ease-in-out;
}

.gallery-header .home-button:hover,
.gallery-header .home-button:focus-visible {
	background-color: gray;
	color: white;
	text-decoration: none;
}

.gallery-header h2 { grid-row: 1; }

body .single-comic-navigation {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	text-align: center;
	font-size: 2rem;
	font-family: 'Nickname Demo', sans-serif;
}

body .single-comic-navigation > a {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0px 5px;
	padding: 2rem 0rem;
	border: 4px solid white;
	border-radius: 10px;
	color: white;
	text-decoration: none;
	transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

body .single-comic-navigation > a:hover {
	background-color: gray;
	color: white;
}

@media (max-width: 600px) {
	body .single-comic-navigation{
		font-size: 1.2rem;
	}
}
#bottom-page{
margin:0;
height:min-content;
}

#left-button{
color:white;
}
/*
 * #left-button:hover{
 *	border-bottom-left-radius: 15px;
 * }
 * .two-wide-nav #left-button:hover{
 *	border-top-left-radius: 15px;
 *	border-bottom-left-radius: 0;
 * }
 */
#right-button{
color:white;
}
/*
 * #right-button:hover{
 *	border-bottom-right-radius: 15px;
 * }
 * .two-wide-nav #right-button:hover{
 *	border-top-right-radius: 15px;
 *	border-bottom-right-radius: 0;
 * }
 */
.nav-buttons #gallery{
	transition: all 0.4s ease-in-out;
}

.nav-buttons #gallery:hover{
	transform: rotate(5deg);
	color: #FF78C1; /* Change to desired hover color */
	border-color:#FF78C1;
}
.nav-buttons #shop{
	transition: all 0.4s ease-in-out;
}
.nav-buttons #shop:hover{
	transform: rotate(5deg);
	color: #00C2FF; /* Change to desired hover color */
	border-color:#00C2FF;
}
.nav-buttons #about{
	transition: all 0.4s ease-in-out;
}
.nav-buttons #about:hover{
	transform: rotate(5deg);
	color: #B2F525; /* Change to desired hover color */
	border-color:#B2F525;
}



/*Front Page Blogs*/
.blog-item{
	display:inline-block;
	width:100%;
	height:auto;
	padding:5px;
	border-radius:10px;
	border: 2px solid white;
	transition: transform 0.3s ease;
}
.blog-page{
	width:100%;
	display:inline-block;
	height:auto;
	padding:5px;
	border-radius:10px;
	border: 2px solid white;
	margin: 20px 0px;
}
.blog-page iframe{
	margin:0 auto;
	aspect-ratio:16/9;
	width:100%;
	height: auto;

}
.blog-page p{
	text-align: center;
}
.blog-page #date{
	text-align: left;
	margin:0;
	margin-left:20px;
}

.blog-content{
	display: block;
}
.blog-content p{
	margin-top:20px;
}
.blog-content figure{
	object-fit: contain;
}
#blog-group{
display:flex;
}

.blog-item:hover{
	transform: scale(0.99);
	opacity: 0.8;
}
hr{
	border-width: 2px;
	margin:0 20px;
	opacity: 1;
}
.blog-item-layout {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border: 2px solid black;
	padding: 5px;
	color: white;
}


.blog-item-layout img {
	max-width: 60%;
	height: auto;
	object-fit: contain;
}

.blog-item-layout .text-wrapper{
	flex: 1;
	margin-left:35px;
	font-size: 16px;
	line-height: 1.5;
	height:2%;
}

.blog-item h2{
	text-align: center;
}

.content-separator{
	display:flex;
	align-content: center;
	align-items: center;
}
.content-separator h3{
	font-size:2.4rem;
	text-decoration: underline;
}
.content-separator .icons{
	margin-right:0;
	margin-left:auto;
	margin-bottom:10px;
}

iframe{
	display:block;
	margin:0 auto;
}
/*Front Page Comics*/
.comic-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr); /* Three equal columns */
	padding: 0; /* Remove padding */
	margin: 0 auto; /* Center the container */
	gap: 10px; /* Space between items */
	max-width: 100%; /* Prevent container overflow */
	box-sizing: border-box; /* Ensure padding/borders don't affect width */
}

.comic-item {
	width: 100%; /* Ensure item width matches its grid cell */
}

.image-container {
	position: relative;
	overflow: hidden;
	width: 100%; /* Matches the grid cell width */
	height: 350px; /* Fixed height for uniformity */
	border-radius: 15px;
	display: flex; /* Center content */

	align-self: center;
	transition: transform 0.3s ease; /* Optional hover effect */
	object-fit: cover;
}
#gallery-archive{
width: 100%;
height:auto;
overflow-x: hidden;


}

#gallery-archive img{
width:100%;
height:100%;
object-fit: cover;
}
#comic-archive{
height:auto;
object-fit: contain;
border-radius: 15px;

}
#comic-archive a{
object-fit: contain;
}
#comic-archive a img{
width: 100%;
height: auto;
border-radius:40px;
object-fit: contain;

}
.image-container:hover{
	transform: scale(0.9);
	opacity: 0.8;
}
.image-container a{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.image-container a img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover; /* Crop image to fill the container */
	object-position: center; /* Center the image within the container */
	overflow: hidden;
}

.comic-image {
	display: block;

}

.comic-title {
	position: absolute;
	top: 10px; /* Keeps it 10px from the top */
	left: 50%; /* Start from the horizontal center */
	transform: translateX(-50%); /* Offset by half its width to center it */
	margin: 0;
	padding: 5px 10px;
	background-color: rgba(68, 68, 68, 0.9);
	color: white;
	font-size: 3rem;
	z-index: 2;
	text-decoration: none;
	text-align: center; /* Centers text inside if it wraps */
	border-radius:25px;
}


.comic-title a {
	color: inherit;
	text-decoration: none;
}

.comic-title a:hover {
	text-decoration: underline;
}

.comic-num {
	position: absolute;
	bottom: 10px; /* Keeps it 10px from the top */
	left: 50%; /* Start from the horizontal center */
	transform: translateX(-50%); /* Offset by half its width to center it */
	margin: 0;
	padding: 5px 10px;
	background-color: rgba(68, 68, 68, 0.9);
	color: white;
	font-size: 2rem;
	z-index: 2;
	text-decoration: none;
	text-align: center; /* Centers text inside if it wraps */
	border-radius:100px
}
.comic-date {
	position: absolute;
	bottom: 10px;
	left: 10px;
	margin: 0;
	padding: 5px 10px;
	background-color: rgba(68, 68, 68, 0.9);
	color: white;
	font-size: 1.2rem;
	z-index: 2;
	text-decoration: none;
}

/*COMIC*/
.comic-logo{
	width:10vw;
	height:auto;
	margin:auto;
	margin-bottom:0;
}
/* Comic Container */
.comic-container {
	position:relative;
	height:auto;
	background-color:black;
	border-radius: 20px;
	padding:0px 1rem;

}



#comic.single-comic-wrapper #spliced-comic img {
	display: block;
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 75vh !important;
	margin: 0 auto;
}

/* Left Link */
.left-link {
	position: absolute; /* Positions relative to .comic-container */
	top: 10%; /* Aligns to the top of the container */
	left: 0; /* Aligns to the left of the container */
	width: 45%; /* Adjust width for the link */
	height: 80%; /* Covers the full height of the container */
	background-color: rgba(0, 0, 255, 0); /* Visualize the clickable area */
	z-index: 10; /* Ensures it sits above the image */
	cursor: pointer;
}

/* Archive */
.archive {
	background-color: black;
	color: white;
	padding: 10px;
	width: 100%;
	border-radius: 15px;
}

.archive h2{
	margin-top: 10px;
	text-align: center;
}
.archive hr{
	margin: 10px 0;
}
.sub-category {
	display:grid;
	grid-template-columns: repeat(3, 1fr);
	padding: 0;
	margin: 0;
	gap: 10px;
}
.sub-category .image-container a img{
	width:100%;
}


/* Larger than mobile */
@media (min-width: 50px) and (max-width: 549px) {
	.container {
		width: 90%;
	}
	.nav-buttons a {
		font-size: 1rem;
	}

	p {
		font-size: 0.6rem;
	}
	.content-separator h3{
		font-size:1rem;
	}
	.icons{
		font-size:1rem;
	}
	.image-container{
		height:20vh;
	}
	.icons {
		font-size: 1rem;
	}
	.comic-container {
		background-color: black;
	}
}

/* Larger than phablet */
@media (min-width: 550px) and (max-width: 749px) {
	.container {
		width:min(90%,749px);
	}
	header{
		max-height: 200px;
	}
	.nav-buttons a {
		font-size: 1.5rem;
	}
	p {
		font-size: 0.8rem;
	}
	.content-separator h3{
		font-size:2rem;
	}
	.image-container{
		height:30vh;
	}
	.icons {
		font-size: 1.8rem;
	}
	.comic-image img {
		height: 75vh;
	}
	.comic-container {
		background-color: black;
	}
}

/* Larger than tablet */
@media (min-width: 750px) and (max-width: 999px) and (pointer: coarse) {
	.container {
		width:100%;
		margin:0;

	}
	.nav-buttons a{
		font-size: 2.5rem;
	}
	p {
		font-size: 1.4rem;
	}
	h2 {
		font-size: 2.5rem;
	}
	.comic-title {
		font-size: 3rem;
	}
	.comic-page{

		max-width: 100%;
	}
	.icons {
		font-size: 3rem;
	}
	.comic-image img {
		max-height: 80vh;
	}
	.comic-container {
		background-color: black;
	}
	header {
		overflow-x: auto;
		max-height:250px;
		height:250px;
	}
	header .menu-top-menu-container {
		height: 100%;
	}
	header .top-bar {
		justify-content: flex-start
		overflow-x: auto;
		flex-wrap: nowrap;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-left: 20rem;
	}

	header .top-bar li {
		margin: 0 1rem;
	}

	header .menu-item {
		flex: 0 0 auto;
		overflow: visible;

	}

	header .menu-item img {
		max-width: 100%;
		height: auto;
		max-height: 100%; /* Ensure the image doesn't exceed the header height */
		object-fit: contain; /* Ensures the image fits without distortion */
		transition: transform 0.3s ease;
	}
}

/* Larger than desktop */
@media (min-width: 1000px) and (max-width: 1199px) {
	.container {
		width:min(90%,1119px);
	}
	p {
		font-size: 1.1rem;
	}
	.comic-image img {
		max-height: 75vh;
		height: auto;
	}
	header{
		max-height: 200px;
	}
	.comic-container {
		background-color: black;
	}
}

/* Larger than Desktop HD */
@media (min-width: 1200px) and (max-width:1499px){
	.container {
		width:min(80%,1000px);
	}
	p {
		font-size: 1.2rem;
	}
	.comic-title {
		font-size: 2rem;
	}
	.comic-page{

		max-width: 100%;
	}
	.comic-image img {
		max-height: 80vh;
		height: auto;
	}

	.comic-container {
		height:auto;
		background-color: black;
	}
}

@media (min-width: 1500px){

	.container {
		width:50vw;
	}
	.main-logo{
		width:50%
	}
	p {
		font-size: 1.1rem;
	}
	.comic-title {
		font-size: 2rem;
	}
	.nav-buttons a{
		font-size: 2.2rem;
	}
	.comic-page{

		max-width: 100%;
	}
	.comic-image img {
		max-height: 75vh;
		height: auto;
	}
	.comic-container {
		height:auto;
		background-color: black;
	}
}
