body {
	background-color: #2a3f6b; /* shown while the image loads, or if it fails */
	background-image: url('../blue-repeating-fabric.jpg');
	background-repeat: repeat;
	background-attachment: fixed;
}

/* iOS Safari doesn't support fixed backgrounds well; scroll them instead */
@supports (-webkit-touch-callout: none) {
	body {
		background-attachment: scroll;
	}
}

.container {
	margin: 0 auto;
}

/* ---------- Justified-row gallery ---------- */
.container .gallery {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

/* Keeps the last row from stretching to full width */
.container .gallery::after {
	content: '';
	flex-grow: 99999999;
}

/* Width and flex-grow are set inline from the image's aspect ratio */
.container .gallery .holder {
	margin: 10px;
	position: relative;
	transition: transform .15s ease;
}

.container .gallery .holder.zoom:hover,
.container .gallery .holder.zoom:focus-within {
	transform: scale(1.1);
	z-index: 5;
}

/* Visible focus ring for keyboard users */
.container .gallery a:focus-visible {
	outline: 3px solid yellow;
	outline-offset: 2px;
}

.container .gallery a {
	display: block;
	position: relative;
	margin: 0;
}

/* Spacer: its inline padding-bottom reserves the correct aspect ratio */
.container .gallery a > i {
	display: block;
}

.container .gallery a img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	box-sizing: border-box; /* the 3px border stays inside the box */
	border: 3px solid DarkKhaki;
	object-fit: cover;
}

/* Play icon, centered on video thumbnails */
.container .gallery a img.over {
	top: 50%;
	left: 50%;
	width: 40px;
	height: auto;
	max-width: 40%;
	transform: translate(-50%, -50%);
	border: 0;
	object-fit: contain;
	pointer-events: none;
}

/* Optional caption, shown below the thumbnail (only output when there is text) */
.container .gallery .caption {
	padding: 6px 2px 0;
	text-align: center;
	color: white;
	font-family: Verdana, sans-serif;
	font-size: 14px;
	overflow-wrap: anywhere; /* long filenames don't overflow the thumbnail */
}

/* ---------- Page chrome ---------- */
.clear {
	clear: both;
	width: 100%;
}

.nav {
	margin: 1em 0;
}

.footer {
	padding: 1em 0;
}

h1 {
	font-weight: bold;
	color: yellow;
	font-size: 36px;
}

h2 {
	font-weight: bold;
	color: yellow;
	font-size: 24px;
}

a:hover {
	color: white;
}

.Return {
	font-family: Verdana, sans-serif;
	font-size: 16px;
	color: yellow;
}

.Updated {
	text-align: center;
	font-style: italic;
	font-family: Tahoma, sans-serif;
	font-size: 12px;
	color: LightSteelBlue;
}

/* Respect users who ask for less motion */
@media (prefers-reduced-motion: reduce) {
	.container .gallery .holder {
		transition: none;
	}
}
