:root {
	--default: #152239;
	--dark-grey: #575757;	
	--black: #000;	
	--green: #5aae00;
	--white: #fff;
	--placeholder: #999;
	--blue: #152239;
	--footer: #005b4f;
}

body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	font-family: 'Poppins', sans-serif;
}

header {
	padding-top: 1rem;
	padding-bottom: 1rem;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	background: rgba(255,255,255,1);
	z-index: 10;
	box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.logo img {
	width: 220px;
}

.main-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.nav-link {
	color: var(--default);
	text-transform: uppercase;
	font-size: 14px;
	font-weight: 600;
}

.nav-link.btn {
	color: var(--white);	
	border-radius: 1.5rem;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.nav-link.btn img {
	width: 1rem;
	margin-right: 0.25rem;
	margin-top: -3px;
}

.nav-link:hover,
.nav-link:focus {
	color: var(--green);
}

.nav-link.btn:hover,
.nav-link.btn:focus {
	color: var(--white);	
}

.btn-success {
	background-color: var(--green);
	border-color: transparent;
}

.intro {
	height: 100vh;
	max-height: 1200px;
	background-image: linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.28) 50%, rgba(0,0,0,0) 70%), url(../img/bg-jmj2.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	display: flex;
	align-items: flex-end;
	padding-bottom: 4rem;
}

.intro .img-logo {
	width: 600px;
	margin-bottom: 2rem;
}

.intro h1 {
	color: var(--white);
	font-weight: 700;
	margin-bottom: 3rem;
	font-size: 3rem;	
}

.content {
	padding-top: 5rem;
	padding-bottom: 5rem;
}

.content h2 {
	color: var(--green);
	font-weight: 700;
}

.content p {
	color: var(--default);
}


.img-rounded {
	border-radius: 2rem;
}

p.info-box {
	background: var(--default);
	color: var(--white);
	font-weight: 700;
	padding: 1rem;
	display: inline-block;
	transform: rotate(-5deg);
}

.kontakt {
	padding-top: 5rem;
	padding-bottom: 6rem;
	background-image: linear-gradient(to right, #5aae00, #00a76d);
	background-size: cover;
	color: var(--white);
}

.kontakt h2 {
	font-weight: 700;
	color: var(--white);
}

.kontakt h3 {
	color: var(--white);
	font-weight: 600;
}

.img-icon {
	width: 1.5rem;
	margin-top: -3px;
}

.kontakt a {
	color: var(--white);
	text-decoration: none;
	margin-left: 4px;
	margin-right: 4px;
	font-weight: 600;
	font-size: 1.5rem;
}

.kontakt a:hover {
	color: var(--white);
	text-decoration: none;
}

.kontakt img {
	width: 100px;
}

footer {
	background: var(--footer);
	color: var(--white);
	text-align: center;
	padding-top: 1rem;
	padding-bottom: 1rem;
}

.modal-title {
	font-weight: 700;
}

.modal-footer .btn {
	font-weight: 600;
	border-radius: 1.5rem;
}

.modal-footer .btn img {
	width: 1rem;
	margin-right: 0.25rem;
	margin-top: -3px;
}

.form-control::-moz-placeholder {
	color: var(--placeholder);
}

.form-control::placeholder {
	color: var(--placeholder);
}

.kontakt-logo {
	width: 120px;
	margin-bottom: 1rem;
}

.cenik {
	padding-top: 6rem;
	padding-bottom: 10rem;
	background-image: url(../img/bg-cenik.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center bottom;
}

.cenik h2 {
	font-weight: 700;
}

.cenik h3 {
	font-weight: 700;
	font-size: 1.125rem;
	color: var(--green);
}

.cenik .d-flex {
	border-bottom: 1px solid rgba(0,0,0,0.1);
}

.cenik strong {
	white-space: nowrap;
}

.div-last {
	display: none;
}

.galerie {
	padding-top: 5rem;
	padding-bottom: 5rem;
	background-image: linear-gradient(to right, #5aae00, #00a76d);
	background-size: cover;
}

.galerie h2 {
	font-weight: 700;
	color: var(--white);
}

.galerie p {
	color: rgba(255,255,255,0.8);
}

.photos {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.photos a {
	display: block;
	margin: 1rem;	
	width: 260px;
	height: auto;
	overflow: hidden;
	transition: all 0.3s;
}

.photos a img {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	transition: all 0.3s;
}

.photos a:hover img {
	transform: scale(1.1);
}

@media(max-width:767px) {
	header {
		position: absolute;
	}
	.nav-link:not(.btn) {
		display: none;
	}
	.logo img {
		width: 200px;
	}
	.kontakt-logo {
		width: 100px;
	}
	.kontakt .img-jira {
		width: 120px;
	}
	.intro {
		height: calc(100vh - 100px);
		max-height: none;
		background-image: linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.28) 50%, rgba(0,0,0,0) 70%), url(../img/bg-intro-mb2.jpg);
		padding-top: 14rem;
		padding-bottom: 2rem;
	}	
	.content {
		padding-top: 3rem;
	}
	.content .info-box {
		margin-bottom: 3rem;
	}
	.cenik {
		padding-top: 3rem;
	}
	.galerie {
		padding-top: 3rem;
		padding-bottom: 3rem;
	}
	.photos a {
		display: block;
		margin: 1rem;	
		width: 150px;
		overflow: hidden;
		transition: all 0.3s;
	}
	.photos-cert a {
		height: auto;
	}
	.intro .img-logo {
		width: 100%;
		margin-bottom: 2rem;
	}
	.intro h1 {
		font-size: 1.75rem;
	}	
	.kontakt img {
		width: 80px;
	}
	.kontakt a {
		font-size: 1.25rem;
	}
	.kontakt {
		padding-bottom: 4rem;
	}
}

/* jmj verze */
.btn-vice {
	display: inline-flex;
	align-items: center;
}

.btn-vice img {
	width: 48px;
	margin-left: 1rem;
}

.btn-vice {
	border-radius: 1.5rem;
	font-weight: 600;
	text-transform: uppercase;
	padding: 0;
	padding-left: 2rem;	
	border: 1px solid var(--white);
	color: var(--white);
}

.btn-vice:hover,
.btn-vice:active {
	background-color: var(--white);
}

.certifikaty {
	padding-top: 4rem;
	padding-bottom: 4rem;
}

.certifikaty h2 {
	font-weight: 700;
	text-align: center;
	color: var(--green);
	margin-bottom: 2rem;
}

.certifikaty p {
	text-align: center;
	max-width: 600px;
	margin: 0 auto 2rem;
}

.poptavka {
	padding-top: 4rem;
	padding-bottom: 4rem;
	background: #eff3f6;
}

.poptavka h2 {
	font-weight: 700;
	text-align: center;
	color: var(--green);
	margin-bottom: 2rem;
}