@import 'RoutedGothicNarrow/RoutedGothicNarrow.css';

* {
	margin: 0;
	padding: 0;
	font-size: inherit;
	font-weight: inherit;
	box-sizing: border-box;
}

body {
	font-family: 'Routed Gothic Narrow', sans-serif;
	font-size: 20px;
	line-height: 1.4rem;

	background-color: #fafafa;
}

img {
	display: block;
	width: 100%;
	height: auto;
}

a { color: inherit; }
a:hover { text-decoration: none; }

p {
	margin: 1.4rem 0;
}
p:first-child {	margin-top: 0; }
p:last-child { margin-bottom: 0; }

body > header {
	cursor: pointer;
	position: fixed;
	background-color: red;
	padding: .7rem 0.85rem .7rem .7rem;
	border-bottom-right-radius: 0.7rem;
	max-width: 100%;
	max-height: 100%;
	overflow: auto;
}

body > header .description {
	margin-top: 1.4rem;
	display: none;
}

main {
	background-color: red;
}

.image.hiddenCaption { cursor: pointer; }
.image.visibleCaption { cursor: pointer; }
.image.hiddenCaption .caption { display: none; }
.image.visibleCaption .caption { display: block; }

.caption {
	padding: .7rem;
}

.caption h2 { text-align: center; }
.caption h3 { font-style: italic; }

.caption p {
	width: 50%;
}

article:last-child .caption {
	margin-bottom: 2px;
	box-shadow: 0px 2px 0px 0px black;
}

@media screen and (max-width: 600px) {
	.caption p {
		width: auto;
	}
}

footer {
	padding: .7rem;
	background-color: red;
}

.top {
	text-align: center;
	margin: .7rem auto;
}

footer > div {
	margin-top: 1.4rem;
}

/*

footer {
	padding: .7rem;
	background-color: red;
}

.top {
	text-align: center;
	margin: 0;
	height: 0;
	position: relative;
	top: -5rem;
}

.top a {
	display: inline-block;
	width: 2.6rem;
	padding: 0.7rem;
	background-color: red;
	border-radius: .7rem;
}

*/

@media screen and (max-width: 500px) {
	.only-screen { display: none; }
	.only-mobile { display: auto; }
}

@media screen and (min-width: 501px) {
	.only-screen { display: auto; }
	.only-mobile { display: none; }
}