@charset "utf-8";
/* CSS Document */

@font-face {
	font-family: FanWoodText;
	src: url(../fnt/fanwood-webfont.woff);
}
body, html {
	width: 100%;
	height: 100%;
	font-family: "FanWoodText", serif;
	background: white;
}
body {
	margin: auto;
}
header {
	position: relative;
	width: 100%;
	height: 10%;
	line-height: 1;
	border-bottom: 1px solid black;
}
header div#logo {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	height: 100%;
}
header div#logo a {
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}
header div#logo a:hover {
	transform: rotate(90deg);
}
header div#logo a img {
	display: block;
	height: 80%;
	margin-top: 10%;
}
header h1 {
	display: inline-block;
	padding-left: .2em;
	vertical-align: middle;
}
header nav {
	position: absolute;
	left: 1em;
	top: 50%;
	transform: translateY(-50%);
	height: .8em;
}
header nav a {
	display: inline-block;
	margin-right: 1em;
	font-size: 80%;
	text-decoration: none;
	text-transform: uppercase;
	vertical-align: middle;
	color: black;
}
header nav a:hover {
	color: red;
}
header nav a[href="#"] {
	color: red;
}
header nav a#powrot {
	display: none;
}
article {
	width: 100%;
	font-size: 150%;
	line-height: 1.5;
}
article h1 {
	font-size: 200%;
	margin: 0 0 1em;
}
article p {
	margin-bottom: 1em;
}
article nav {
	width: 100%;
	margin: auto;
}
article nav a {
	position: relative;
	display: block;
	width: 25%;
	float: left;
	outline: 1px solid white;
}
article nav a img {
	display: block;
	width: 100%;
}
article nav a span {
	display: none;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	text-transform: uppercase;
	color: white;
}
article nav a:hover span {
	display: inherit;
}
section {
	width: 80%;
	padding: 5% 10% 10%;
	background-color: silver;
}
section ol {
	padding-left: 2em;
}
section li {
	list-style-type: upper-roman;
	margin-bottom: .5em;
}
section p a {
	color: black;
}
section p a:hover {
	color: red;
}