/* Reset Browser Defaults */ 
/* (this will make your site more consistent across different browsers) */
@import "reset.css";
@import url('https://fonts.googleapis.com/css2?family=Glory:ital,wght@0,400;0,700;1,400;1,700&family=Handlee&family=Poppins:ital,wght@0,400;0,700;1,400;1,700&display=swap');
/* @import url('https://fonts.googleapis.com/css2?family=Glory:ital,wght@0,500;0,700;1,400;1,700&family=Poppins:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Handlee&display=swap'); */
@import "fonts/font.css";



:root {
	--text-color-1: #f3eeab;
	--text-color-2: slategrey;
	--text-color-3: white;
	--font-1: "Poppins";
	--font-2: "Glory";
	--font-3: 'Paradise_Font', 'Handlee';
	--alignment: center;
	--bg-color-1: #590808;
	--bg-color-2: #ffffff;
	--bg-color-3: #ba99d8;
	--link-color-1: #e8b235;
	--link-color-1-hover: #a57eff;
	--link-color-2: #e8b235;
	--link-color-2-hover: #e66027;
	--border-color-1: black;
	--border-color-2: slategray;

	--content-width-all: 100%;
	--content-width-center: 800px;
	--content-width-left: 180px;
	--content-width-right: 180px;
	--footer-height: 30px;
	--menu-height: 100px;
}

/* Baseline Defaults */
* {box-sizing: border-box}
html {
	font-size: 20px;
	margin: 0;
	height: 100%;
}


/* Headers */
h1 {
	font-family: var(--font-2), 'Haettenschweiler', 'Arial Narrow Bold', sans-serif;
	font-size: 1.8em;
}
h2 {
	font-family: var(--font-2), 'Haettenschweiler', 'Arial Narrow Bold', sans-serif;
	font-size: 1.6rem;
}
h3 {
	font-size: 1.4rem;
}
h4 {
	font-size: 1.2rem;
	font-weight: bold;
}
h1:empty,
h2:empty,
h3:empty,
h4:empty {
	display: none;
}

/* Common Element Defaults */
a {
	color: var(--link-color-2);
	cursor: pointer !important;
}
img {
	max-width: 100%;
	height: auto;
}



/* ////////////////////////// */


/* Main Site Components */
body {
	color: var(--text-color-1);
	font-family: var(--font-1), Arial, Helvetica, sans-serif;
	line-height: 1.25em;
	background-color: var(--bg-color-1);
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	position: relative;
	padding-bottom: var(--footer-height);
}

header {
	display: flex;
	justify-content: center;
}


main {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
}
main.staticpg {
	margin-top: 20px;
}

.content-main {
	width: 100%;
	display: grid;
	align-items: center;
	justify-content: center;
	grid-template-columns: 1fr auto 1fr;
	grid-template-areas: 'back-nav comic next-nav';
}

hr {
	height: 6px;
	width: 100%;
	max-width: 600px;
	margin: 20px auto 15px;
	background-image: url('images/layout/hr.png');
	background-position: top left;
	border: none;
}
/* /////////////////////// */


/* Comic Index */
.comic-stage {
	grid-area: comic;
	margin: 15px auto;
}
#comic {
	position: relative;
	left: 0px;
	z-index: 2;
	min-height: 400px;
	min-width: 600px;
}
#comic a,
#comic a img {
	display: block;
}

.transcript {
	font-family: var(--font-3), var(--font-1), sans-serif;
	line-height: 1.25em;
	letter-spacing: .033em;
	width:100%;
	max-width: 620px;
	padding: 10px;
	margin-bottom: 20px;
}
.transcript p {
	margin-bottom: 10px;
	position: relative;
}
.transcript b {
	font-weight: normal;
	font-size: 1.33em;
	position: relative;
	top: 2px;
}

.transcript i {
	font-style: normal !important;
	color: #fff04e;
}
/* character classes */
.eridu {
	color: #fff04e !important;
}.enki {
	color: #2b3de9 !important;
}.amun {
	color: #e79411 !important;
}.ekka {
	color: #11e725 !important;
}.tida {
	color: #11a8e7 !important;
}.nipa {
	color: #892be9 !important;
}.sipa {
	color: #e8bc0b !important;
}.kigal {
	color: #e8250b !important;
}.nintu {
	color: #d75100 !important;
}.euph {
	color: #ec007a !important;
}.babyl {
	color: #9fb3cd !important;
}.nanaya {
	color: #fe80c4 !important;
}.nanshe {
	color: #0ca66e !important;
}.nabu {
	color: #81f4f5 !important;
}.priestess,
 .shimi {
	color: #b1ccee !important;
}
.transcript .divine-spirits,
.transcript .rainbow {
	background: linear-gradient(to right, red 0%, #ff0 17%, lime 33%, cyan 50%, blue 66%, #f0f 83%, red 100%);
	-webkit-background-clip: text;
	-moz-background-clip: text;
	background-clip: text;
	color: transparent;
}
.transcript .char {
	padding-left: 55px;
}
.transcript .center {
	text-align: center;
	display: flex;
    justify-content: center;
} 
.transcript .big {
	font-size: 1.66em;
	position: relative;
	top: 5px;
} 
.transcript p.char .char-symbol {
	position: absolute;
	top: 0;
	left: 0;
}
.storytime {
	color: #472417;
	text-align: center;
	line-height: 1.75em;
	width: 100%;
	max-width: 600px;
	padding: 6px;
	background-color: #e0c167;
	background-image: url('/assets/images/script-images/storytime-bg.png');
	border: 35px solid #d69a53;
	border-image: url('/assets/images/script-images/storytime-border.png') 35 repeat;
}

.publish-date {
	color: #000000;
}

.back-nav {
	grid-area: back-nav;
}
.next-nav {
	grid-area: next-nav;
}
.back-nav,
.next-nav {
	display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.back-nav a img,
.next-nav a img {
	background-color: var(--text-color-1);
	transition-duration: .33s;
}
.back-nav a:hover img,
.next-nav a:hover img {
	background-color: var(--link-color-1);
	transition-duration: .33s;
}

#blog-post {
	font-size: 17px;
	color: #598276;
	width: 100%;
	max-width: 600px;
	text-align: left;
}

#swipenav {
	background: black;
	position: relative;
	align-items: center;
	overscroll-behavior-x: contain;
	overflow: hidden;
}
#swipenav-arrow-wrapper {
	width: 100%;
	opacity: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
	right: 0;
}

/* /////////////////////// */

/* Site Menu */
nav ul#menu-img-list {
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	list-style: none;
	height: var(--menu-height);
}
nav ul#menu-img-list img {
	display: block;
}

nav ul#menu-list {
	margin: 0;
	padding: 0;
}
#menu-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-evenly;
}
#menu-list li {
	display: block;
	position: relative;
}
#menu-list li a {
}
ul#menu-list li ul {
	visibility: hidden;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}
.content-under-main {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width:100%;
}

/*Display any existing dropdowns on hover*/
ul#menu-list li:hover ul {
	visibility: visible;
}
/*Style 'show menu' label button and hide it by default*/
#show-menu-btn {
	padding: 5px 0 10px;
	display: none;
}
/*Hide checkbox*/
.site-nav input[type=checkbox]{
	display: none;
}

.staticpg.Home h1.staticpg-header {
	display: none;
}

.staticpg h1 {
	margin: 5px;
}

footer {
	position: absolute;
	height: var(--footer-height);
	left: 0 ; right: 0; bottom: 0; 
	width: 100%;
	justify-content: center;
	text-align: center;
	font-size: 12px;
}

.sfheader {
	border-width: 0 0 2px 0;
	border-color: #ffffff;
	border-style: solid;
	height: 42px;
}
.sfheader tr {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.sfheader img {
	display:block;
}

/* ////////////////////////// */


/* Comic Page Content */

.comic-nav a.disabled {
	visibility: hidden;
}


/* ///////////////////////// */
/* ///////////////////////// */
/* ///////////////////////// */

/* Archive */
header.archive-header {
	flex-direction: column;
}
header.archive-header>* {
	align-self: center;
}
header.archive-header img {
	display: block;
	margin: 10px auto;
}
header.archive-header h3 {
	font-family: var(--font-2);
}

.archive-content {
	text-align: center;
	background-color: #000000;
	padding-top: 20px;
}

.archive-content ul {
	list-style: none;
	padding: 20px 10px;
}

.archive-content ul li:empty {
	display: none;
}

ul.archive-layout--inline li {
	display: inline;
}

ul.archive-layout--grid {
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
}
ul.archive-layout--grid li {
	flex: 1;
	flex-grow: 0;
	min-width: fit-content;
}
ul.archive-layout--grid li img {
	max-width: unset;
}
ul.archive-layout--grid li.archive-marker {
	min-width:48%;
}

/* ///////////////////////// */
/* ///////////////////////// */
/* ///////////////////////// */

/* Patterns */

.static-layout-list section {
	padding-bottom: 15px;
}

.pattern-image-left,
.pattern-image-right {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
}
.pattern-image-top,
.no-image {
	width: 100%;
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}
.pattern-half-tile {
	width: 50%;
	float: left;
}

/* ///////////////////////// */
/* ///////////////////////// */
/* ///////////////////////// */


/* ///////////////////////// */
/* ///////////////////////// */
/* ///////////////////////// */


/* Mobile Adjustments */

@media only screen and (max-width: 600px) {

	#comic {
		min-width: unset;
		min-height: unset;
		width: 100%;
		height: auto;
	}

/* Toggle Site Menu Display */
	.site-nav {
		align-items: center;
		margin:0;
	}
	/*Show menu when invisible checkbox is checked*/
	input[type=checkbox]:checked ~ #menu-list{
		display: flex;
		flex-direction: column;
		width: 100%;
	}
	/*Make dropdown links appear inline*/
	#menu-list {
		position: static;
		display: none;
	}
   #menu-list li {
		width: 100%;
		display: block;
	}
	#menu#menu-list li:nth-child(even) {
	}
	#menu-list li:hover {
	}
	#menu-list li:hover ul {
	display: block;
	position: static;
	}
	#comic {
		width: 100%;
		height: auto;
	}

	/*Display 'show menu' link*/
	#show-menu-btn {
		display: flex;
		align-items: center;
	}
	/* /// End Site Menu //// */
}