:root {
	--bg: rgb(230, 255, 255);
	--accent1: rgb(50, 50, 150);
	--accent2: rgb(100, 100, 255);
	--accent3: rgb(175, 175, 255);
	--ahover: rgb(65, 65, 200);
	--zane: rgb(50, 50, 255);
	--topline: rgb(150, 50, 50);
	--dishware: rgb(255, 100, 150);
	--bygu: rgb(100, 100, 150);
	--move: rgb(150, 50, 75);
	--movehover: rgb(255, 100, 128);
}

body {
	font-family: "Sour Gummy", sans-serif;
	font-size: 125%;
	line-height: 125%;
	margin: 0;
	background-color: var(--bg);
}

header {
	background-image: url("images/catzbak.gif");
	min-height: 30vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: var(--accent1);
}

h2 {
	margin-left: 0.5em;
}

h3 {
	text-align: center;
	font-size: 150%;
}

p {
	margin: 1em;
}

a li {
	text-decoration: none;
	color: #fff;
}

a {
	text-decoration: none;
	color: var(--accent2);
}
a:hover {
	color: var(--ahover);
}

a.movement {
	color: var(--move);
}
a.movement:hover {
	color: var(--movehover);
}

figure {
	display: inline-block;
	text-align: center;
	font-size: 100%;
	margin: auto;
	margin: 1em;
	border-collapse: collapse;
	border: 3px solid var(--accent1);
	padding: 0.5em;
	background-color: var(--accent3);
}

figure img {
	max-width: 100%;
}

footer {
	background-image: url("images/catzbak.gif");
	font-size: 85%;
	margin-top: 1em;
	display: flex;
	flex-direction: column;
}

table {
	border-collapse: collapse;
	display: flex;
	justify-content: center;
}

td, th {
	border: 2px solid var(--accent1);
	padding: 0.5em;
}

img.gameview {
	max-width: 90vw;
	max-height: 90vh;
	display: block;
	margin: auto;
	margin-top: 1em;
	margin-bottom: 1em;
	border: 3px solid var(--accent1);
}
img.stamp {
	display: block;
	margin: auto;
}

ul.navigation {
	display: flex;
	flex-direction: column;
	list-style: none;
	padding: 0;
	justify-content: center;
	align-items: center;
}

ul.navigation li {
	min-width: 10em;
	text-align: center;
	padding: 0.5em;
	border: 2px solid var(--accent1);
	background: var(--accent2);
	margin: 0.25em 1em;
}

ul.navigation li:hover {
	background: var(--ahover);
}

ul.navigation li a {
	color: #fff;
}

.gametext {
	text-align: center;
}

.zane {
	color: var(--zane);
}
.topline {
	color: var(--topline);
}
.dishware {
	color: var(--dishware);
}
.bygu {
	color: var(--bygu);
}

.cast {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-evenly;
}

.cast figure {
	width: 20em;
}

.cast figure img {
	max-height: 50vh;
}

/*--- media queries ---*/

@media screen and (min-width: 600px) {
	
	ul.navigation {
		flex-direction: row;
	}
	ul.navigation li {
		min-width: 5em;
	}
}