@font-face {
    font-family: 'Noto Sans';
    src: url('../fonts/NotoSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('../fonts/NotoSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

html {
	height: 100%;
	color-scheme: light dark; /* Respect OS theme */
	scroll-behavior: smooth;
}
html, body {
	height: auto;
	width: 100%;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
body {
	background: radial-gradient(white, dodgerblue, darkblue);
}
html, body,
p, li, a, th, td, div, blockquote, cite, dd, dt,
label, input, textarea, select, button {
	font-family: 'Noto Sans', Arial, sans-serif;
	line-height: 1.4;
	font-size: 16px;
	font-weight: normal;
	color: #000007;
	overflow-wrap: break-word;
}
/* Preserve monospace for code-related elements */
pre, code, kbd, samp {
	font-family: 'Courier New', Courier, monospace;
	font-size: 0.95em; /* slightly smaller so it fits nicely */
	line-height: 1.4;
	color: #000007;
}
p, td, th {
	margin: 5px;
	padding: 5px;
}
header, main, footer {
	position: relative;
	top: auto;
	left: auto;
	z-index: auto;
	visibility: visible;
	overflow: hidden;
	width: 100%;
	filter: drop-shadow(0px 0px 7px #000007);
}
q {
  display: block;
  quotes: none; /* prevent auto quotes */
  margin: 0.5em 0;
}
@media print {
  q { display: inline; margin: 0; }
}

header, footer {
	display: flex;
	justify-content: space-between; /* Space between columns */
	text-align: center;
}

header .left, header .middle, header .right,
footer .left, footer .middle, footer .right {
	display: flex;
	justify-content: center; /* Center horizontally */
	align-items: center; /* Center vertically */
}

header .left, header .right,
footer .left, footer .right {
	flex-shrink: 1;
}

header .middle, footer .middle {
	flex-grow: 1;
	flex-direction: column;
	display: flex;
}

footer {
	height: 90px;
	background: url(/common/images/Holy_Name_of_God_16.webp), linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.5)), radial-gradient(circle, #000044, dodgerblue, #000044);
	background-size: 10% 8px, 100% 12px, cover;
	background-position: 0px 2px, 0px 0px, center;
	background-repeat: repeat-x, no-repeat, no-repeat;
}

._red {
	background: radial-gradient(circle, #770000, #cc7000, #550000);
}
._blue {
	background: radial-gradient(circle, #000044, dodgerblue, #000044);
}
._green {
	background: radial-gradient(circle, #004400, #8BC34A, #004400);
}
._orange {
	background: radial-gradient(circle, darkred, orange, darkred);
}
._purple {
	background: radial-gradient(circle, #00a4c6, #673ab7, #000033);
}

/* Main section */
main {
	flex-grow: 1;
	display: flex; 
	flex-direction: column;
	justify-content: center; /* Center horizontally */
	align-items: center; /* Center vertically */
}

/* Navigation */
nav {
	display: flex;
	justify-content: center; /* Center horizontally */
	align-items: center; /* Center vertically */
	background-color: #e9ecef; /* Slightly darker background for nav */
}
hr {
	border: none;
	height: 4px;
	width: 90%;
	margin: 2em auto;
	background: linear-gradient(to right, #e74c3c, #6c3483, #3498db);
	box-shadow: 0 0 6px rgba(0,0,0,0.3);
	border-radius: 3px;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
	margin: 5px;
	padding: 5px;
	color: #000007;
}
h1, h2, h3, h4 {
	font-family: 'Noto Serif', Georgia, 'Times New Roman', Times, serif;
	line-height: 1.2;
}
h5, h6 {
	font-family: 'Noto Sans', Arial, sans-serif;
	line-height: 1.3;
}

h1 {
	color: gold;	
	background: linear-gradient(yellow, gold, darkred);
	background-size: 200% 200%;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 0.5px #000007;
	animation: gradientShift 4s infinite alternate ease-in-out;
}
h2 {	color: yellow;	}
h3 {	color: #7BFDff;	}
h4 {	color: #ffc107;	}
h2, h3, h4 {
	letter-spacing: 1px;
	text-shadow: 0px 0px 1px #000;
	filter: drop-shadow(1px 1px 1px #000007);
	-webkit-text-stroke: 0.3px #000007;
}
@media (max-width: 600px) {
	html, body { font-size: 18px; }
	h1 { font-size: 36px; }
	h2 { font-size: 32px; }
	h3 { font-size: 28px; }
	h4 { font-size: 24px; }
	h5 { font-size: 20px; }
	h6 { font-size: 18px; }
}

/* verses */
.vcVerseLink{
	font-size: inherit;
	color: inherit;
	text-decoration: none;
	background-color: rgba(250,0,0,0.1);
	padding: 0 4px;
	border-radius: 3px;
	border-right: 2px solid red;
	border-left: 2px solid red;
	overflow-wrap: break-word;
	line-height: 1.4;
	white-space: nowrap;
}
q, v, .v, .verse, .verses, .verses p {
	font-family: 'Noto Serif', Georgia, 'Times New Roman', Times, serif;
	margin: 20px auto;
	padding: 3px 5px;
	background: ivory;
	text-align: left;
	border-radius: 7px;
	line-height: 1.4;
	overflow-wrap: break-word;
}
q {
	padding-left: 50px;
	text-indent: -32px;
	color: #070707
}
q b {
	font-weight: bold;
	min-width: 1.7em;
	text-align: right;
	display: inline-block;
}
 v, .v {
	display: flex;
	gap: 0.5em;
	padding: 5px 10px;
}
v b, .v b {
	flex: 0 0 auto;
	font-weight: bold;
	min-width: 1.7em;
}
v span, .v span {
	flex: 1;
}
q span i, v span i, .v span i {
	font-style: italic;
	color: #333;
	font-family: 'Noto Serif', Georgia, 'Times New Roman', Times, serif;
}
q span a, v span a, .v span a {
	color: #2a4d9b; 
	font-style: italic;
	text-decoration: none;
	font-weight: bold;
}
.verses {
	background: ivory url(/common/images/parchment.webp);
	padding: 2px;
	border: 5px ridge tan;
	margin: 24px 0;
	box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.verses p {
	border: 1px solid #000007;
}

.tagline {
	padding: 5px 10px 5px 60px;
	position: relative;
	text-align: left;
	background: rgba(250, 250, 255, 0.7) url(../images/Light_of_God.webp);
	background-repeat: no-repeat;
	background-size: 45px auto;
	background-position: left 5px center;
	margin: 20px 0;
	border-top: 2px solid gold;
	border-bottom: 2px solid gold;
	box-shadow: 10px 0px 20px rgba(0, 0, 0, 0.5);
}
.tagline p {
	font-weight: 777;
	font-size: 18px;
}
.tagline p:first-child {
	display: block;
	width: 100%;
	text-align: center;
	font-size: 28px;
	color: #03A9F4;
	text-shadow: 1px 1px 1px #000007;
	-webkit-text-stroke: 0.3px #000007;
}
mark {
  padding: 0 3px;
  color: inherit;
  font-weight: inherit;
  font-family: inherit;
  border-radius: 3px;
  background-color: yellow;
}
mark.red			{ background: darkred;	}
mark.pink		{ background: #ffc0cb; }
mark.orange	{ background: #ffb347; }
mark.yellow	{ background: #fff176;  }
mark.green		{ background: #a5d6a7;  }
mark.blue		{ background: #90caf9; }
mark.purple	{ background: #ce93d8;  }
mark.white		{ background: white; color: black; box-shadow: 0 0 0 1px #ccc inset; }
mark.black		{ background: black; color: white; }

.gradient-text {
	background: linear-gradient( yellow, orange, red, darkred);
	background-size: 200% 200%; /* Helps with transition */
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	animation: gradientShift 4s infinite alternate ease-in-out;
}

.gold-text {
	background: url(/common/images/gold.webp);
}
.sun-text {
	background: url(/common/images/sun.webp);
}
.hot-text {
	background: radial-gradient(circle, darkred, yellow, darkred, darkred);
}

.cool-text {
	background: radial-gradient(circle,  #00bfff, #1e90ff, #4b0082, #4b0082);
}

.gradient-text, .gold-text, .hot-text, .cool-text, .sun-text {
	background-size: contain;
	-webkit-background-clip: text;
	color: transparent;
	filter: drop-shadow(1px 1px 2px #000007);
	-webkit-text-stroke: 0.3px #000007;
	text-shadow: none;
    width: 100%;
    text-align: center;
	padding: 10px;
}

.construction {
	background: repeating-linear-gradient(45deg, orange, yellow 20px, #440000 20px, #000000 40px);
}

.colorful {
	background: url(/common/images/colorful.webp);
}

.marble {
	background: url(/common/images/marble.webp);
}

.clouds {
	background: url(/common/images/clouds.webp);
}

.bluegreen {
	background: linear-gradient(100deg, #3F51B5, green);
}

.sun {
	background: url(/common/images/sun.webp);
}

.colorful, .marble, .clouds, .bluegreen, .sun {
	background-size: contain;
	width: 100%;
	display: table;
	font-size: 20px;
	font-weight: 777;
	filter: drop-shadow(2px 2px 7px white);
	border-radius: 10px;
	border: 4px ridge gold;
	padding: 10px;
	text-align: center;
}
.gold-text {
		animation: gradientShift 48s infinite alternate ease-in-out;
}
.sun-text {
		animation: gradientShift 120s infinite alternate ease-in-out;
}
@keyframes gradientShift {
	0% {
		background-position: left top;
	}
	50% {
		background-position: right center;
	}
	100% {
		background-position: left bottom;
	}
}
.centerit {
	display: grid;
	place-items: center; /* centers horizontally + vertically */
	text-align: center;  /* centers inline text */
}

/* Fallback for browsers that don't support place-items */
@supports not (place-items: center) {
	.centerit {
		display: flex;
		justify-content: center;
		align-items: center;
		text-align: center;
	}
}


input, textarea, select {
	border: 2px solid #070707;
	border-radius: 7px;
	padding: 3px;
	width: 99%;
}

blockquote {
	width: 90%;
	font-family: 'Noto Serif', Georgia, 'Times New Roman', Times, serif;
	font-size: 1.1em;
	line-height: 1.5;
	color: #555; 
	background: ivory;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	border-left: 10px ridge #f44336;
	border-right: 10px ridge #f44336;
	padding: 5px;
	filter: drop-shadow(2px 4px 6px #000007);
	margin: 0 auto;
}
blockquote cite {
	display: block;
	text-align: right;
	font-size: 0.9em;
	color: #888;
}
blockquote cite::before {
	content: '\2014 \2009';
}
em, i {
	font-style: italic;
	color: inherit;
	font-family: 'Noto Serif', Georgia, 'Times New Roman', Times, serif;
}
strong, b {
	font-weight: bold;
	color: inherit;
	font-family: 'Noto Serif', Georgia, 'Times New Roman', Times, serif;
}

section ul {
	list-style-type: none;
	padding: 1px 5px;
	border-radius: 5px;
	background: linear-gradient(45deg, #ff9800, darkred);
}
section ul li {
	font-weight: 500;
	background-color: ivory;
	border-radius: 5px;
	margin: 8px 0;
	padding: 5px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	text-align: left;
	line-height: 1.4;
}
section ul li span {
	display: block;
}
section ul li span:first-child {
	color: inherit;
	font-weight: bold;
	text-shadow: 0 0 2px black;
	-webkit-text-stroke: 0.3px #000007;
	letter-spacing: 1.5px;
}
section ul li span.ref {
	color: #222;
}

table {
	width: 100%;
	min-width: 290px;
	max-width: 1600px;
	margin: 25px auto;
	border: 4px ridge orange;
	border-top: none;
	background: radial-gradient(ivory, white);
	filter: drop-shadow(2px 2px 4px #444);
	border-collapse: collapse;
	table-layout: fixed;
}
caption {
	color: yellow;
	font-weight: bold;
	font-size: 1.4em;
	border-radius: 7px 7px 0 0;
	background-color: teal;
	border: 4px ridge orange;
	padding: 5px;
	text-shadow: 0 0 2px #000007, 1px 1px 2px #000007;
}
th {
	text-align: center;
	font-weight: bold;
	font-size: clamp(16px, 1.5vw, 1.2em);
	border: 1px solid #000007;
	color: white;
	background-color: cadetblue;
	text-shadow: 0 0 2px #000007, 1px 1px 2px #000007;
	padding: 7px;
	width: 50%;
}
td {
	border-spacing: 0;
	text-align: left;
	padding: 7px;
	border: 1px solid #777;
	vertical-align: top;
	word-wrap: break-word;
	white-space: pre-wrap; overflow: visible;
}
tr:nth-child(odd) {
	background-color: #f6e9cf;
}
tr:nth-child(even) {
	background-color: #fcf2df;
}

.copyright {
	margin: 16px 0 0 0; 
	border: 1px solid orange;
	padding: 3px;
	background: radial-gradient(yellow, orange);
	border-radius: 7px;
	line-height: 1.1;
	font-size: 11px;
	font-weight: 777;
	text-align: center;
}

r, .r { color: red; }

.truth, .light, .faith, .grace, .love  {
	display: block;
	font-weight: 777;
	font-size: 16px;
	border-radius: 7px;
	color: #000007;
	margin: 12px auto;
	padding: 7px;
	text-shadow: 0px 0px 1px #000007;
	-webkit-text-stroke: 0.3px #000007;
	transition: all 0.3s ease-in-out;
}
.truth {
	color: white;
	text-transform: uppercase;
	background: linear-gradient(to right, dodgerblue, white);
	text-shadow: 2px 2px 5px rgba(0, 0, 255, 0.5);
}
.light {
	color: gold;
	text-shadow: 0px 0px 5px yellow;
	background: linear-gradient(45deg, #700, #007);
	animation: glow 2s infinite alternate;
	text-align: left;
}
.faith { 
	color: purple;
	font-style: italic;
	background-color: rgba(255, 255, 255, 0.5);
	border-left: 5px solid purple;
	border-right: 5px solid purple;
}
.love { 
	color: crimson;
}
.grace { 
	color: #ffffff;
}
.truth:hover { color: royalblue;  }
.light:hover { color: yellow; text-shadow: 0px 0px 10px gold; }
.faith:hover { color: violet; }
.love:hover { color: pink; }
.grace:hover { color: dodgerblue; }

.halo {
	color: #170077;
	text-decoration: none;
	cursor: pointer;
	position: relative;
}
.halo::before {
	display: inline-block;
	content: "⬭";
	color: yellow;
	margin-right: 5px;
	font-size: 1.2em;
	position: relative;
	top: -5px;
	text-shadow: 0 0 10px gold, 0 0 20px yellow;
	animation: floatHalo 2s infinite ease-in-out;
}
.halo:hover {
	color: darkblue;
}

/* Shared gospel content styling */
.gospel dt {
	font-weight: bold;
	margin-top: 1em;
	color: #048;
	font-size: 22px;
	line-height: 1.4;
	text-align: left;
	padding-left: 0.6em;
	text-indent: -0.9em;
}
.gospel dd {
	margin: 0.5em 0 0.5em 1em;
	line-height: 1.5;
	text-align: left;
}
.gospel dd + dd {
	margin-top: 0.5em;
}
.gospel dt + dd::before {
	content: "✟ ";
	filter: drop-shadow(0 0 2px gold);
	color: darkred;
}
.gospel dt + dd {
	font-weight: bold;
	color: #444;
	background: linear-gradient(45deg, ivory, transparent);
	padding: 3px;
	border-radius: 5px;
}

@keyframes floatHalo {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(3px); }
}

@keyframes glow {
	0% { text-shadow: 0px 0px 5px yellow; }
	50% { text-shadow: 0px 0px 15px gold; }
	100% { text-shadow: 0px 0px 5px yellow; }
}
@keyframes fadeIn {
	0% { opacity: 0; }
	100% { opacity: 1; }
}
@keyframes fadeOut {
	0% { opacity: 1; }
	100% { opacity: 0; }
}

@keyframes scale-in {
	0% {		transform: scale3D(1, 1, 1); 	}
	100% {		transform: scale3D(2.2, 2.2, 1);	}
}

@keyframes glowy-gold {
	20% {
		filter: drop-shadow(0 0 10px gold) drop-shadow(1px 1px 2px yellow);
	}
	 40% {
		filter: drop-shadow(0 0 10px white) drop-shadow(1px 1px 2px yellow);
	 }
	50% {
		filter: drop-shadow(1px 1px 120px white) drop-shadow(1px 1px 2px yellow);
	}
	80% {
		filter: drop-shadow(0 0 10px gold) drop-shadow(1px 1px 2px yellow);
	}
}

@keyframes glowy-white {
	20% {
		filter: drop-shadow(1px 1px 15px white);
	}
	 40% {
		filter: drop-shadow(0 0 30px white);
	 }
	50% {
		filter: drop-shadow(1px 1px 70px white);
	}
	80% {
		filter: drop-shadow(0 0 15px white);
	}
}
