/* (c) 2026 by Pennsylvania Avenue Baptist Church, Urbana, IL */
/* Revised 23 June 2026 by Michael Minn */

body {
	--pabc-blue: #005daa;
	--pabc-text: #a0a0a0;
	--pabc-gray: #f0f0f0;
	--pabc-width: 900px;
	color: var(--pabc-text);
	width: 100%;
	margin: 0px;
	padding: 0px;
	font-size: 18px; 
	line-height: 1.5em;
	background-color: white;
	font-family: 'Quicksand', Arial, Helvetica, sans-serif; }

header {
	height: 61px;
	width: 100%;
	max-width: var(--pabc-width);
	margin: 12px auto 12px auto;
	background-size: contain;
	background-color: white; 
	background-image: url("graphics/2026-03-22-banner.png");
	background-repeat: no-repeat; }

footer {
	width: var(--pabc-width);
	max-width: 100%;
	height: 230px;
	padding: 12px;
	background-color: var(--pabc-blue);
	margin: 0px auto 0px auto;
	background-size: 450px 230px;
	background-position: center center;
	background-image: url("graphics/2026-06-23-footer.png");
	background-repeat: no-repeat; }

section {
	width: var(--pabc-width);
	max-width: 100%;
	padding: 12px;
	min-width: 300px;
	text-align: left; 
	margin: 0 auto 0 auto; 
	background-color: white; }

@media all and (width > 900px) {
	section, footer{
		/* width: calc(var(--pabc-width) - 24px); */
		width: var(--pabc-width);
		padding-left: calc((100vw - var(--pabc-width)) / 2);
		padding-right: calc((100vw - var(--pabc-width)) / 2);
	}
} /* media */

a {
	color: #202020;
	text-decoration: underline; }

a:hover, a:active, a:focus {
	color: #e00000; }

h1 {
	font-size: 2em;
	color: var(--pabc-blue);
	margin-top: 2vh;
	line-height: 1.5em;
	text-align: center; }

h2 {
	font-size: 2em;
	color: #005daa;
	margin-top: 2vh;
	line-height: 1.5em;
	text-align: center; }

p, li {
	font-size: 1.2em;
	color: #202020;
	margin-top: 1vh; }

ul {
	list-style-type: "+ "; }

section.hero {
	min-height: 30vh;
	padding-top: 20px;
	padding-bottom: 20px;
	background-image: url("graphics/2026-03-15-john-screenshot-bw.jpg"); 
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-attachment: fixed; }

section.hero h1 {
	display: none; }

section.hero h2 {
	display: block;
	font-size: 2.2em;
	line-height: 1.2em;
	color: white;
	text-align:center; }

section.white {
	background-color: white; }

section.blue {
	background-color: var(--pabc-blue); }

section.blue h2 {
	color: white; }

section.gray {
	background-color: var(--pabc-gray); }

section.gallery {
	text-align: center;
	background-color: white; }


/* YouTube and Google Maps */

iframe.youtube {
	display: block;
	margin: 12px auto 12px auto;
	width: 560px;
	height: 315px;
	max-width: 90%;
	border-radius: 6px;
	border: 1px solid #a0a0a0; }

iframe.googlemaps {
	display: block;
	margin: 12px auto 12px auto;
	width: 640px;
	height: 480px;
	max-width: 90%;
	border-radius: 6px;
	border: 1px solid #f0f0f0; }

video {
	display: block;
	margin: 12px auto 12px auto;
	border-radius: 6px;
	width: 640px;
	height: auto;
	max-width: 80%;
	display: block; }

button {
	display: block;
	margin: 12px auto 12px auto;
	background: white;
	font-size: 16px;
	font-weight: bold;
	border-radius: 6px;
	color: #404040;
	padding: 12px;
	font-family: 'Quicksand', Arial, Helvetica, sans-serif; 
	border: 1px solid #a0a0a0; }

/* Successive figures form side-by-side two-column 
   layout on desktop, linear on mobile.
   Thumbnails should be 400 x 280. */

figure {
	width: 420px;
	max-width: 90%;
	margin: 0px 12px 12px 12px;
	text-align: center;
	vertical-align: top;
	display: inline-block; }

figure img {
	/* height: 280px; */
	max-width: 90%;
	display: block; 
	border-radius: 6px;
	margin: 12px auto 12px auto;
	/* box-shadow: 0 0 10px 0 rgba(50,50,50,.5); */ }

figcaption {
	width: 90%;
	margin: 6px auto 6px auto;
	color: #404040;
	text-align: center; }

@media all and (max-width: 800px) {
	figure {
		width: 100%; }
}

