html, body {
	margin: 0px;
	padding: 0px;
	font-family: 'Play', Sans-serif;
	font-size: 16px;
	letter-spacing: 0.04em;
	color: #2A332F;
}

*, *::before, *::after {
	box-sizing: border-box;
}

.container {
	width: 80%;
	height:auto;
	margin:0px auto 0px;
}

/*HEADER*/

header p {
	display: inline-block;
	color: #faf0e6;
	font-size: 1.6rem;
	font-weight:500;
}

/*JUMBOTRON*/

.jumbotron {
	width:100%;
	background: url('../img/ft-bckgrnd.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	padding: 5rem 0px 5rem 0px;
	text-align: center;
}

.jumbotron h1 {
	color: #faf0e6;
	font-size: 12rem;
	font-family: 'Lobster';
	margin:1.5rem 0 9rem 0;
	font-weight: lighter;
	line-height: 1.1;
}

.jumbotron h1 span {
	font-size: 0.5em;
}

.jumbotron p {
	font-size: 2rem;
	font-weight:600;
	color: #faf0e6;
	margin:0.75em auto 0.5em auto;
}

.img-j {
	border-radius: 100%;
	overflow: hidden;
	background-color: rgba(250,240,230,0.2);
	width: 220px;
	height: 220px;
	margin:0 auto;
	padding: 10%;
}

div.img-j img {
	width:100%;
	margin: 0 auto;
}

.nav {
	display: inline-block;
	width: 33.33%;
}

#left {
	float: left;
}

#center {
	margin: 0px auto;
}

#right {
	float: right;
}

div.img-j:hover {
	transform: scale(1.1);
	background-color: rgba(250,240,230,0.6);
	box-shadow: 0 0 0 0.8rem rgba(250,240,230,0.2), 0 0 0 1.6rem rgba(250,240,230,0.2), 0 0 0 2.4rem rgba(250,240,230,0.2);
	transition: background-color 0.6s ease;
	transition: box-shadow 0.2s ease, box-shadow 0.4s ease, box-shadow 0.6s ease;
}

/*O NAMA*/

.o_nama h2, .usluge h2, .kontakt h2 {
	text-align: center;
	padding-bottom: 1rem;
	font-size: 1.6rem;
}

.o_nama p {
	text-align: justify;
	font-size: 1.1rem;
}

.o_nama .container {
	border-bottom: 1px solid #54665E;
	padding: 2rem 0 4rem 0;
}

/*USLUGE*/

.usluge .container {
	padding: 2rem 0 4rem 0;
}

.usluge .container > p {
	text-align: justify;
	font-size: 1.1rem;
}

.usluge_2 {
	display: inline-block;
	text-align: center;
	width: 25%;
	padding: 1%;
	margin-top: 2rem;
}

 .usluge_2 p {
 	font-size: 1.3rem;
 	font-weight: bolder;
 	overflow: hidden;
 }

.img {
	border-radius: 50%;
	width: 100%;
	opacity: 0.8;
}

.usluge_2 img:hover{
	opacity: 1;
	box-shadow: 0 0 0 3px #54665E;
	transition: all 0.3s;
}


/*KONTAKT*/

.kontakt {
	text-align: center;
	background-color: #2A332F;
	color: #faf0e6;
	padding: 2rem 0 4rem 0;
}

.kontakt ul {
	padding: 0px;
	font-size: 1.3rem;
}

.kontakt li {
	display: inline-block;
	width: 33.33%;
}

.kontakt li:first-child {
	float: left;
	text-align: left;
}

.kontakt li:nth-child(3) {
	float: right;
	text-align: right;
}

.kontakt li:nth-child(2) {

}

.kontakt a {
	text-decoration: none;
	color: #faf0e6;
}

/*FOOTER*/

footer {
	font-size: 0.9rem;
	padding-bottom: 100vh;
	margin-top: 1em;
}

footer p {
	float: left;
	margin-top: 0;
	margin-bottom: 0;
}

footer p a {
	margin-top: 0;
}

footer a {
	text-decoration: none;
	color: #2A332F;
	font-weight: bolder;
	float: right;
}

footer a:hover {
	text-decoration: none;
	transition: border-bottom 1s ease-in-out;
}


/*MEDIA QUERIES*/

@media screen and (max-width: 950px) {
	header p#left, header p#right {
		display:block;
		float: left;
		clear: both;
		margin: 0.2em 0em;
	}

	div.img-j:hover {
		transform: none;
		background-color: rgba(250,240,230,0.2);
		box-shadow: none;
	}

@media only screen and (max-width: 850px) {
	html, body {
		font-size: 13px;
	}
	.img-j {
		width: 100%;
		height: 100%;
	}

}

@media only screen and (max-width: 500px) {
	.jumbotron .nav * {
		display: none;
	}

	header .container p#left {
		display: none;
	}

	header .container p#right {
		font-size: 1.33rem;
	}

	.jumbotron h1 {
		font-size: 8.8rem;
	}

	html, body {
		font-size: 11px;
	}

	.o_nama p, .usluge .container > p {
	font-size: 1.2rem;
	}

	.usluge_2 {
		width: 50%;
	}

	.usluge_2 img:hover{
		opacity: 1;
		box-shadow: none;
		transition: none;
	}

	.img {
		opacity: 1;
	}

	footer .container div{
		display: none;
	}

	.kontakt li {
		display: block;
		width: 100%;
	}

	.kontakt li:first-child, .kontakt li:nth-child(3) {
	text-align: center;
	}

	footer {
	font-size: 0.9rem;
	padding-bottom: 0;
	}
}
