/*
	RESET I PODSTAWOWE STYLE
*/

html,
body {
	color: #ffffff !important;
	font: 12px Tahoma, Verdana, sans-serif;
	background-color: #000000 !important;
	padding: 0;
	margin: 0;
}

p {
	line-height: 20px;
}

a {
	outline: none;
	color: #ffffff !important;
	text-decoration: underline;
}

a img {
	border: 0;
	background: none;
}

ul {
	padding: 0;
	margin: 0;
	list-style: inside;
}

img {
	vertical-align: middle;
}

h1,
h2,
h3 {
	margin: 0;
}

.left {
	float: left;
}

.right {
	float: right;
}

.center {
	text-align: center;
}

.clear {
	clear: both;
}

/*
	KONSTRUKCJA
*/

#wrap {
	margin: 0 auto;
	width: 96%;
	max-width: 1200px;
}

/*
	HEADER
*/

#header {
	height: 201px;
	padding: 80px 0 0 0;
}

a#mainpage {
	display: block;
	margin: 0 auto;
	width: 430px;
	height: 121px;
}

.dane-kontaktowe p {
	font-family: 'Roboto', sans-serif;
	font-weight: 400 !important;
	color: #ffffff;
	font-size: 18px;
	padding: 5px 0;
	line-height: 26px;
}

.adres {
	margin-top: 40px;
}

.galeria a {
	display: inline-block;
	text-align: center;
	width: 100%;
	max-width: 100%!important;
}

.galeria a img {
	max-width: 100%!important;
	width: 100%;
	height: auto;
}


h1,
h2,
h3,
p {
	text-align: center;
}

h1 {
	font-size: 46px !important;
	font-weight: 100 !important;
	font-family: 'Roboto', sans-serif !important;
}

h2 {
	font-size: 22.25px !important;
	font-family: 'Roboto', sans-serif;
	font-weight: 400 !important;
	color: #ffffff;
}

h3 {
	font-size: 15px;
}

p {
	font-size: 13px;
	padding: 28px 0;
}


.flip-container {
	margin: 0 auto;
	width: 100%;
	height: 150px;
	position: relative;
}

.front,
.back {
	width: 100%;
	height: 150px;
	position: absolute;
	top: 0;
	left: 0;
}

.front,
.back {
	position: absolute;
	top: 0;
	left: 0;
	vertical-align: middle;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

.front {
	background: #000;
	color: #fff;
	z-index: 1;
}

.back {
	background: #000;
	color: #fff;
	z-index: 2;
	opacity: 0;
	transition: all 0.6s cubic-bezier(0.5, 0, 0.1, 1.5);
}


.flip-container:hover .flip .back {
	opacity: 1;
}

.back a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.back a img {
	margin: auto;
}

.front p,
.back p {
	text-align: center;
	font-size: 20px;
}

.areas {
	width: 100%;
	margin: 40px auto 20px auto;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 0;
}

.areas__item {
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.areas__item li {
	width: 100%;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.areas__item li .img-gall {
	width: 100%;
	margin: 0;
	padding: 0;
	display: inline-block;
}

.areas__item li .img-gall img {
	max-width: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
	display: inline-block;
	transition: all 0.6s cubic-bezier(0.5, 0, 0.1, 1.5);
}

.areas__item li .img-gall img:hover {
	opacity: .55;
}

@media only screen and (max-width : 650px) {

	.flip-container,
	.front,
	.back {
		height: 200px;
	}

	.areas {
		margin: 40px auto 20px auto;
		grid-template-columns: repeat(1, 1fr);
	}
	
}