html, body {
	height: 100%;
	margin: 0;
}

body {
	font-family: 'Roboto', sans-serif;
}

body, a {
	color: black;
}

header {
	position: relative;
	padding: 10px 5vw;
	text-align: center;
	height: 40vw;
	background: url(../img/image-from-rawpixel-id-647081-small.jpg) center bottom no-repeat;
	background-size: cover;
	transition: background-image 1s linear, color 1s linear, text-shadow 1s linear;
	text-shadow: 0 0 2px black, 0 0 2px black, 0 0 2px black, 0 0 2px black;
}

header > h1 {
	font-size: 13vmin;
	font-family: 'Rubik Moonrocks';
	margin-bottom: 0;
	color: white;
	opacity: 0.9;
}

header > h2 {
	margin-top: 0;
}

body > nav {
	background-color: #ccc;
}

body > nav > ul {
	display: flex;
	flex-direction: row;
	align-content: space-between;
	list-style-type: none;
	margin: 0 10vw;
	padding: 4px 0;
}

body > nav > ul > li {
	padding: 4px 12px;
	cursor: pointer;
	transition: all 0.1s linear;
}

body > nav > ul > li.selected {
	color: white;
	background-color: black;
	border-radius: 5px;
	cursor: default;
}

h1, th {
	font-family: 'Varela Round', sans-serif;
}

main {
	flex: 1;
	padding: 20px 10vw;
}

article {
	display: none;
	transition: all 0.1s linear;
}

article.selected {
	display: block;
}

article p {
	line-height: 200%;
}

table {
	width: 100%;
}

table th {
	text-align: left;
}

ul.tagslist {
	display: block;
	padding: 0;
	margin: -5px;
	margin-bottom: 5px;
}

ul.tagslist > li {
	display: inline-block;
	margin: 5px;
	padding: 5px 10px;
	border: 2px solid black;
	border-radius: 5px;
	cursor: pointer;
}

ul.tagslist > li.selected {
	background-color: #dedede;
}

div.images {
	display: flex;
	flex-direction: row;
}

div.images > div.img {
	flex: 50%;
	padding: 5px;
}

div.images > div.img > img {
	width: 100%;
}

article figure {
	margin: 0;
}

article figure > img {
	max-width: 100%;
}

article figure > figcaption {
	font-style: italic;
}

div.muyomi-content > .title.icon {
	background-repeat: no-repeat;
	background-size: contain;
	font-family: 'Varela Round', sans-serif;
	font-size: 3em;
	font-weight: bold;
	padding-left: 2em;
	display: inline-block;
	margin: 2em auto;
}

div.copyright {
	text-align: center;
	color: #444444;
	font-style: italic;
	font-size: 0.8em;
	padding: 30px 0;
}

li.goto {
	cursor: pointer;
	line-height: 200%;
}

a.goto {
	display: block;
	max-width: max-content;
	margin-left: auto;
	margin-right: auto;
	padding: 10px 30px;
	border: 2px solid black;
	border-radius: 5px;
	color: white;
	background-color: green;
	font-size: 20pt;
	text-decoration: none;
	text-align: center;
}

footer {
	padding: 10px;
	text-align: center;
	font-size: 10pt;
}

body > div.preloader {
	height: 0;
	width: 0;
	margin: 0;
	padding: 0;
}

@media only screen and (max-width: 640px) {
	body > nav {
		font-size: 3vmin;
	}

	article > h2 {
		font-size: 1.25em;
	}

	article > table {
		font-size: 3vmin;
	}

	div.muyomi-content > .title.icon {
    font-family: 'Varela Round', sans-serif;
    font-size: 1.25em;
    font-weight: bold;
}
}
