@import url(http://fonts.googleapis.com/css?family=Lato:400,700&subset=latin,latin-ext);

@font-face {
  font-family: 'Impact';
  src: url('../fonts/Impact.eot?#iefix') format('embedded-opentype'),  url('../fonts/Impact.woff') format('woff'), url('../fonts/Impact.ttf')  format('truetype'), url('../fonts/Impact.svg#Impact') format('svg');
  font-weight: normal;
  font-style: normal;}


/* reset */

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing:    border-box;
	box-sizing:         border-box;}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;}
body {
	line-height: 1;}
ol,ul {
	list-style: none;}
blockquote,q {
	quotes: none;}
blockquote:before,blockquote:after,q:before,q:after {
	content: '';
	content: none;}
table {
	border-collapse: collapse;
	border-spacing: 0;}
caption,th,td {
	font-weight: normal;
	text-align: left;}
h1,h2,h3,h4,h5,h6 {
	font-weight: 400;
	clear: both;}
html {
	font-size: 100%;
	overflow-y:scroll;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;}
a:focus {
	outline: none;}
article,aside,details,figcaption,figure,footer,header,hgroup,nav,section {
	display: block;}
audio,canvas,video {
	display: inline-block;}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin: 24px;
	margin-bottom: 1.714285714rem;}
sub,sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;}
sup {
	top: -0.5em;}
sub {
	bottom: -0.25em;}
img {
	border: 0;
	-ms-interpolation-mode: bicubic;}

/* Clearing floats */

.clear:after, .clear:before {
	clear: both;}
.clear:before,.clear:after {
	display: table;
	content: "";}

/* landing page */

html {
	height:100%;}
body {
	font-family: 'Lato', sans-serif;
	color: #fff;
	background-color: #2a994f;
	background-image: url(../images/zbik.png);
	background-repeat: no-repeat;
	background-position: 0 0;}
.wrapper {
	width: 100%;
	max-width: 980px;
	margin: 0 auto;
	text-align: center;}

header {
	padding: 3em 0 0;}
header #logo img {
    height: auto;
    max-width: 444px;
    width: 100%;}

#boksy li a {
    border: 1px solid rgba(7, 36, 9, 0.2);
    border-radius: 10px;
    color: #ffffff;
    display: block;
    font-family: "Impact";
    font-size: 2em;
    height: 150px;
    text-align: center;
    background-color: rgba(7, 36, 9, 0.3);
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
    padding: 5%;
    text-decoration: none;}
#boksy {
    margin: 50px 0;}
#boksy li {
    display: inline-block;
    margin: 1.5%;
    vertical-align: middle;
    width: 46%;}
#boksy li a:hover {
	background-color: rgba(7, 36, 9, 0.5);
    color: #ffc20e;}
#boksy li a span {
	display: block;
	position: relative;
  	top: 50%;
  	transform: translateY(-50%);
}
#boksy li.full {
    width: 96%;
}

#dane-kontaktowe div {
	vertical-align: top;
	width: 46%;
	margin: 1.5%;
	padding-left: 1em;
	display: inline-block;
	text-align: left;
}
#dane-kontaktowe h3 {
	font-weight: bold;
	font-size: 1.125em;
    margin-bottom: .25em;
}
#dane-kontaktowe p {
	padding: .25em 0;
	line-height: 130%;
}
#dane-kontaktowe a {
	color: #ffc20e;
}


/* mediaqueries */

@media screen and (max-width: 768px) {
	body {
 	   background-size: 60% auto;}
}
@media screen and (max-width: 640px) {
	#boksy li.full,
	#boksy li,
	#dane-kontaktowe div {
	    width: 90%;}
	#boksy li a {
	    font-size: 1.8em;
	    height: 90px;}
}