@font-face {
  font-family: "Josefin Sans";
  src: url("fonts/JosefinSans-Light.ttf");
}
@font-face {
  font-family: "Josefin Sans";
	font-style: italic;
  src: url("fonts/JosefinSans-LightItalic.ttf");
}
@font-face {
  font-family: "Libre Caslon Text";
  src: url("fonts/LibreCaslonText-Regular.ttf");
}
body {
	margin: 0px;
	padding: 0px;
	background-color: #1a1a1a;
	color: lightgray;
	font-family: "Josefin Sans", Helvetica, sans-serif;
	font-size: 1.3em;
	line-height: 1.5em;
	word-wrap: break-word;
}
h1, h2, h3, h4, h5, h6 {
	text-align: center;
	font-family: "Libre Caslon Text", Georgia, serif;
	font-weight: normal;
	line-height: 1.5em;
}
a {
	color: cornflowerblue;
	text-decoration: none;
	transition: color 0.3s ease;
}
a:hover {
	color: dimgray;
}
.endContainer {
	display: flex;
	flex-flow: column nowrap;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	background-image: url("images/end_543.jpg");
	background-attachment: fixed;
	background-repeat: no-repeat;
	animation: shiftOne 180s linear infinite;
	animation-direction: normal;
}
/* Centralising content sub-window */
.endContainer .window {
	display: flex;
	flex-flow: column;
	justify-content: center;
	margin-top: 96px; /* Minimum vertical displacement */
	margin-bottom: 96px;
	color: white;
	background-color: rgba(26, 26, 26, 0.9);
}
.breakContainer {
	height: 40vw;
	background-attachment: fixed;
	background-repeat: no-repeat;
}
.backOne {
	background-image: url("images/break_543_1.jpg");
	animation: shiftOne 180s linear infinite;
	animation-direction: normal;
}
.backTwo {
	background-image: url("images/break_652_4.jpg");
	animation: shiftTwo 120s linear infinite;
	animation-direction: normal;
}
.backThree {
	background-image: url("images/break_652_2.jpg");
	animation: shiftThree 180s linear infinite;
	animation-direction: normal;
}
.blockContainer {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 16px;
	border: 1px solid dimgray;
}
.blockContainer .window {
	width: 33%;
	height: 384px;
	overflow: hidden;
	background-attachment: fixed;
	background-repeat: no-repeat;
}
.windowOne {
	background-image: url("images/w_432.jpg");
	animation: shiftFour 60s linear infinite;
	animation-direction: normal;
}
.windowTwo {
	background-image: url("images/w_543.jpg");
	animation: shiftFour 60s linear infinite;
	animation-direction: normal;
}
.windowThree {
	background-image: url("images/w_652.jpg");
	animation: shiftFour 60s linear infinite;
	animation-direction: normal;
}
@keyframes shiftOne {
	0% {
		opacity: 0;
		background-position: 0% 0%;
	}
	1% {
		opacity: 1;
	}
	99% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		background-position: 90% 100%;
	}
}
@keyframes shiftTwo {
	0% {
		opacity: 0;
		background-position: 25% 25%;
	}
	1% {
		opacity: 1;
	}
	99% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		background-position: 100% 50%;
	}
}
@keyframes shiftThree {
	0% {
		opacity: 0;
		background-position: 60% 0%;
	}
	1% {
		opacity: 1;
	}
	99% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		background-position: 35% 100%;
	}
}
@keyframes shiftFour {
	0% {
		opacity: 0;
		background-position: 0% 20%;
	}
	1% {
		opacity: 1;
	}
	99% {
		opacity: 1;
	}
	100% {
		opacity: 0;
		background-position: 60% 20%;
	}
}
.title {
	position: relative; /* Crucial for frame effect */
	width: 480px;
	height: 480px;
}
.title h2, h3 {
	font-family: "Josefin Sans", sans-serif;
}
/* Resize title on smaller devices */
@media only screen and (max-height: 600px) {
	.title {
		width: 384px;
		height: 384px;
		font-size: 0.8em;
	}
}
@media only screen and (max-width: 600px) {
	.title {
		width: 100%;
		height: 100%;
		padding-top: 32px;
		padding-bottom: 32px;
	}
}
/* Generate title border above certain screen size */
@media only screen and (min-width: 600px) {
	.title:after {
		content: ""; /* Generate border */
		position: absolute;
		top: -40px;
		left: -40px;
		right: -40px;
		bottom: -40px;
		border: 32px solid rgba(26, 26, 26, 0.9);
		z-index: -1;
	}
}
.citations {
	width: 60%;
	padding: 64px;
}
.citations h2 {
	margin-bottom: 32px;
}
@media only screen and (max-width: 600px) {
	.citations {
		width: 80%;
		padding: 16px
	}
}
.pageContainer {
	display: block;
	margin: auto;
	margin-top: 96px;
	margin-bottom: 96px;
	width: 60%;
	text-align: justify;
}
/* Increase width on smaller devices */
@media only screen and (max-width: 600px) {
	.pageContainer {
		width: 90%;
	}
}
.pageContainer h2 {
	margin-top: 64px;
	margin-bottom: 32px;
}
.pageContainer h2 + p:first-letter {
	font-family: "Libre Caslon Text", serif;
	font-size: 4em;
	float: left;
	line-height: 1em;
	margin-right: 0.2em;
}
.pageContainer p + p {
	text-indent: 2em;
}
.pageContainer figure + p {
	text-indent: 2em;
}
.pageContainer blockquote {
	margin: 32px;
	border-left: 1px solid dimgray;
	padding-left: 32px;
}
.pageContainer figure {
	margin: 0px;
	margin-top: 32px;
	margin-bottom: 32px;
}
.pageContainer figcaption {
	margin: 0px;
	margin-top: 16px;
	text-align: center;
}
.viewFrameTwin {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	margin: auto;
	position: relative;
}
.viewFrameTwin img {
	margin: 16px;
	width: 70%;
	max-width: 352px;
	padding: 16px;
	border: 1px solid dimgray;
}
.arrows {
	position: absolute;
	user-select: none;
	font-size: 2em;
	transform: translate(0%, -50%);
	transition: color 0.3s ease;
}
.arrows:hover {
	cursor: pointer;
	color: dimgray;
}
.left {
	top: 50%;
	left: 0%;
}
.right {
	top: 50%;
	right: 0%;
}
.caption {
	margin: 0px;
	margin-top: 8px;
	text-align: center;
	word-break: break-all;
	font-family: Courier, monospace;
}
.fader {
	animation: fadeIn 0.6s ease;
	-webkit-animation: fadeIn 0.6s ease;
	-moz-animation: fadeIn 0.6s ease;
}
@keyframes fadeIn {
	0% { opacity: 0; }
	100% { opacity: 1; }
}