/* CSS File: gc-pages.css
 * Created by Carter (ServoBilly) on 2025-03-07 13:15:19
 * Last Updated: 2025-03-07 13:15:19 by Carter (ServoBilly)
 * Active Theme: GAMER CHURCH
 */

*,
*::before,
*::after {
	box-sizing: border-box;
	image-rendering: crisp-edges;
	image-rendering: pixelated;
}

::selection {
	color: black;
	background: var(--main);
	text-shadow: none;
}

html {
	background-color: black;
	background-image: url('/wp-content/uploads/2024/12/bluebrick.jpg');
	background-size: 90px;
	background-attachment: fixed;
	color: var(--body);
	font-family: var(--body-font);
	letter-spacing: 0.025em;
	overflow-x: hidden;
}

html.blank {
	background-image: var(--bg-alt);
	padding: 0 50px;
}

.blank::before,
.blank::after {
	content: "";
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	width: 50px;
	pointer-events: none;
	background-image: url('/wp-content/uploads/2024/12/brick-left.png');
	background-size: 100% auto;
	z-index: 1;
}

.blank::after {
	left: unset;
	right: 0;
	background-position: top right;
	background-image: url('/wp-content/uploads/2024/12/brick-right.png');
}

@media (max-width: 700px) {
	.blank::before {
		left: -15px;
	}
	.blank::after {
		right: -15px;
	}
}

#bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transform: scale(1.1);
	z-index: -5;
	background-image: url('/wp-content/uploads/2024/12/bluebrick.jpg');
	background-size: 80px;
	background-attachment: fixed;
	pointer-events: none;
}

#top {
	background-color: var(--bg);
	background-image: url('/wp-content/uploads/2024/12/dark-tile.jpg');
	border: 7px groove var(--border-color);
	margin: var(--spacing) auto;
	padding: var(--spacing);
	width: 1200px;
	max-width: calc(90vw - var(--spacing));
	line-height: 1.5em;
	font-size: clamp(16px,1.5vw,19px);
}

html.blank #top {
	display: grid;
	border: none;
	margin: 0;
	width: 100%;
	max-width: unset;
	min-height: 100vh;
	align-content: center;
	background: transparent;
	box-shadow: unset;
}

img {
	max-width: 100%;
	height: auto;
}

.blank img {
	border: none;
	background: transparent;
}

.blank .aligncenter {
	margin: 0 auto;
}

.wp-post-image,
.aligncenter {
	border: 7px groove var(--border-color);
	padding: 10px;
	background: var(--bg);
	display: block;
	margin: 2em auto;
}

#top h1.page-title,
#top h1.ptb_entry_title,
#top h1.entry-title {
	color: var(--main);
	text-shadow: 2px 2px black;
	font-size: 2em;
	transform: scaley(1.5) translatey(-0.15em);
	margin: 0.5em 0 1em;
	line-height: 1em;
	text-align: center;
	position: relative;
	padding: 0 2em;
}

#top h1.entry-title del {
	display: block;
	font-size: 0.5em;
	line-height: 1.35em;
	max-width: max-content;
	margin: 0.25em auto;
}

#top h1.entry-title small {
	font-size: 0.4em;
	text-transform: none;
	line-height: 1.25em;
	display: block;
	margin: 0.5em 0;
}

@media (max-width: 600px) {
	#top h1.page-title,
#top h1.ptb_entry_title,
	#top h1.entry-title {
		padding: 0.5em 0;
		padding-top: 2em;
		margin-top: 2em !important;
		overflow: hidden;
		text-overflow: ellipsis;
		width: 100%;
	}
	#top h1::before,
	#top h1::after {
		top: 0.4em !important;
		left: calc(50% - 1em) !important;
		height: 2em !important;
	}
	#top h1::after {
		display: none;
	}
	#top.um-page-user h1 {
		margin-top: 1em !important;
	}
	#top.single-game h1 {
		padding-top: 1em;
		margin-top: 1em !important;
	}
}

#top h1 a {
	text-decoration: none !important;
}

#top.ptb_single h1.entry-title {
	position: absolute;
	left: 0;
	top: 2.5em;
	width: 100%;
}

#top.single-game .header {
	position: relative;
}

#top h1.page-title::before,
#top h1.page-title::after,
#top h1.entry-title::before,
#top h1.entry-title::after {
	content: "";
	width: 2em;
	height: 1.5em;
	position: absolute;
	top: 0;
	left: 0;
	transform: scaley(0.75) translatey(-0.25em);
	background-image: url('/wp-content/uploads/2024/12/pyramid.gif');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}
#top h1.page-title::after,
#top h1.entry-title::after {
	left: unset;
	right: 0;
	transform: scaley(0.75) translatey(-0.25em) scalex(-1);
}

#top.archive h1.entry-title::after,
#top.archive h1.entry-title::before {
	background-image: url('/wp-content/uploads/2024/12/candle.gif');
}

#top.error404 h1.entry-title::before,
#top.error404 h1.entry-title::after {
	background-image: url('/wp-content/uploads/2024/12/warning.gif');
}

#top.woocommerce h1.page-title::before,
#top.woocommerce h1.page-title::after,
#top.woocommerce-page h1.entry-title::before,
#top.woocommerce-page h1.entry-title::after {
	background-image: url('/wp-content/uploads/2024/12/shoppingcart.gif');
}

#top .ptb_post_title {
	max-width: 100%;
	word-wrap: anywhere;
}

@media (max-width: 989px) {
	#top h1.entry-title {
		margin-top: 2em;
	}
}

@media (max-width: 600px) {
	#top.ptb_single h1.ptb_post_title {
		padding-top: 2.5em;
	}
}

@media (min-width: 989px) {
	#top.page-id-2524 .ptb_post.has-post-thumbnail {
		padding-left: 160px;
	}
	#top.page-id-2524 .ptb_post.has-post-thumbnail .ptb_thumbnail {
		position: absolute;
		left: 0;
		width: 140px;
	}
}

#content .post {
	margin: 1em 0;
	padding-bottom: 1.5em;
	border-bottom: 2px dashed var(--border-color);
	max-width: 100%;
}

#content .post header {
	margin-bottom: 1em;
	text-align: center;
}

.single #content .post {
	margin-top: 0;
}

.enter-button {
	color: white;
	font-size: 24px;
	letter-spacing: 0.1em;
	text-decoration: underline 2px var(--alt) !important;
	display: block;
	max-width: max-content;
	margin: 1em auto;
}

.enter-button:hover {
	color: var(--alt);
}

.enter-button::before {
	content: "";
	display: block;
	width: 80px;
	height: 120px;
	background-image: url('/wp-content/uploads/2024/12/door-closed.png');
	background-size: contain;
	background-position: bottom center;
	background-repeat: no-repeat;
	margin: 0 auto 20px;
}

.enter-button::after {
	content: "";
	display: block;
	width: 1px;
	height: 1px;
	background-image: url('/wp-content/uploads/2024/12/door-open.gif');
}

.enter-button:hover::before,
.enter-button:focus::before {
	background-image: url('/wp-content/uploads/2024/12/door-open.gif');
}

.notepad {
	display: block;
	margin: 30px auto;
}

.badges {
	display: grid;
	grid-template-columns: repeat(2,50%);
	width: 300px;
	margin: 0 auto;
	max-width: 100%;
	margin-bottom: 40px;
	position: relative;
}

.badges img {
	width: 100%;
}

#top .subtitle {
	font-size: 1.25em;
	line-height: 1.5em;
	margin-bottom: 2em;
}

#top .subtitle img {
	vertical-align: middle;
	margin: 0.25em;
}