@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: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 10%;
	line-height: 1;
	background: white;
	z-index: 2;
}
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;
}
header+figure {
	display: none;
}
article {
	width: 80%;
	padding: 10%;
	font-size: 150%;
	line-height: 1.5;
	background-repeat: no-repeat;
	background-color: silver;
	background-position: center;
	background-size: cover;
	background-blend-mode: screen;
	animation-name: g1;
	animation-duration: 120s;
	animation-timing-function: ease;
	animation-iteration-count: infinite;
	z-index: 1;
}
article h1 {
	font-size: 200%;
	margin: 0 0 1em;
}
article p {
	margin-bottom: 1em;
}
article figure {
	display: none;
}
article nav {
	display: none;
}
article.tekst p a {
	color: black;
}
article.tekst p a:hover {
	color: red;
}


/* O mnie */

article#omnie {
	background-image: url(../img/omnie.jpg);
	background-position: top center;
}


/* Kontakt */

article#kontakt {
	position: fixed;
	top: 0%;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	background-image: url(../img/kontakt.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	background-color: transparent;
}
article#kontakt section {
	position: absolute;
	bottom: 1em;
	left: 50%;
	transform: translateX(-50%);
	color: white;
}
article#kontakt section p {
	margin-bottom: 0;
}
article#kontakt section p.ikonki {
	width: 5em;
	margin: 1em auto;
	overflow: hidden;
}
article#kontakt section p.ikonki a {
	display: block;
	width: 2em;
	height: 2em;
	background-size: contain;
	background-repeat: no-repeat;
	float: left;
}
article#kontakt section a#fejs {
	background-image: url(../img/f_logo_RGB-Grey_144.png);
}
article#kontakt section a#mejl {
	background-image: url(../img/koperta_b.png);
	background-position: center;
	margin-left: 1em;
}
article#kontakt section a:hover#fejs {
	position: relative;
	left: .1em;
}
article#kontakt section a:hover#mejl {
	position: relative;
	right: .1em;
}