@import url('./_config.css');

h1, h2, h3, h4, h5, h6 {
	font-weight: var(--titleWeight);
	text-transform: uppercase;
	margin-top: 30px 0 20px;
	line-height: 1.1;
}
b, strong {font-weight: var(--titleWeight)}

.container {
	max-width: 90%;
	width: var(--containerWidth);
}






/*
			N A V B A R
*/

.navbar {
	background-color: #fff;
	position: sticky;
	top: 0;
	width: 100%;
	z-index: 999;
	transition: all .3s var(--ease);
}

.affix {
	box-shadow: 0 0 30px hsla(0, 0%, 0%, .1);
}

.navbar-logo {
	margin: 10px 0 20px;
	position: relative;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1;
	height: 86.1px;
	display: flex;
	align-items: flex-end;
	transition: all .3s var(--ease);
}

.affix .navbar-logo {
	height: 43px;
}

.navbar-logo--text {margin-bottom: -10px;}

.navbar-logo--text small,
.navbar-logo--text strong {
	display: block;
	line-height: 1;
	transition: all .3s var(--ease);
}

.navbar-logo--text small {
	color: var(--titleColor);
	font-size: 1.475rem;
}

.affix .navbar-logo--text small {
	font-size: 1rem;
}

.navbar-logo--text strong {
	color: var(--primary);
	font-size: 2.14375rem;
}

.affix .navbar-logo--text strong {
	font-size: 1.3rem;
}

.navbar-logo-image {
	display: block;
	height: 71.7px;
	position: absolute;
	top: 0;
	left: 90px;
	transition: all .3s var(--ease);
}

.affix .navbar-logo-image {
	height: 35px;
	left: 60px;
}




/*
			N A V B A R   N A V
*/

.navbar-nav {
	margin: 0;
	padding: 0;
	list-style: none;
	align-items: center;
}

.navbar-nav li {
	list-style: none;
	display: block;
	position: relative;
	margin: 0;
	padding: 0;
}

.navbar-nav > li:not(:first-child) {
	padding-left: var(--navMargin);
}

.navbar-nav a {
	will-change: auto;
}

.navbar-nav > li > a {
	color: var(--titleColor);
	font-size: 1rem;
	letter-spacing: 3px;
	text-transform: uppercase;
	font-weight: 700;
	display: inline-flex;
	text-decoration: none;
	padding: 10px 0;
	transition: all .2s;
	outline: none;
	position: relative;
	overflow: hidden;
}
/*
.nav-dropdown > a::after {
	filter: invert(1);
} */


.navbar-nav a::before {
	content: '';
	display: block;
	position: absolute;
	bottom: 0;
	left: -100%;
	width: 100%;
	height: 2px;
	will-change: transform;
	background-color: var(--primary);
	transition: all .2s var(--ease);
}


.navbar-nav a:focus::before,
.navbar-nav a:hover::before,
.navbar-nav .nav-active::before {
	left: 0;
}

.navbar-nav .nav-active {
	color: var(--primary);
}

.navbar-nav ul {
	position: absolute;
	display: none;
	top: 100%;
	left: var(--navMargin);
	margin: 0;
	padding: 10px;
	min-width: 250px;
	background-color: white;
	box-shadow: 0 10px 30px hsla(0, 0%, 0%, .2);
}

.navbar-nav ul a {
	padding: 5px 15px;
	display: flex;
	font-size: 0.875rem;
	color: var(--textColor);
	justify-content: space-between;
	text-decoration: none;
	overflow: hidden;
	transition: all .3s var(--ease);
}

.navbar-nav ul a::after {
	transform: rotate(-90deg);
}

.navbar-nav ul a::before {
	content: '>';
	font-family: monospace;
	font-weight: bold;
	font-size: 1rem;
	width: auto;
	height: auto;
	display: block;
	transform: translateX(0) !important;
	visibility: visible;
	background: none;
	position: absolute;
	top: 2px;
	left: 0;
	opacity: 0;
	color: var(--primary);
}

.navbar-nav ul a:hover::before {
	transform: translateX(10px) !important;
	opacity: 1;
}
.navbar-nav ul a:hover {
	padding-left: 25px;
	padding-right: 5px;
}

.navbar-nav ul .active > a,
.navbar-nav ul a.active {
	color: var(--primary);
}

.navbar-nav > li > .open,
.navbar-nav .nav-dropdown:hover > ul {
	display: block;
	animation: showDropdown .3s 1 forwards;
}

.navbar-nav .open .open,
.navbar-nav ul .nav-dropdown:hover > ul {
	display: block;
	animation: showNextDropdown .3s 1 forwards;
}

.navbar-nav ul ul {
	top: 0; left: 100%;
}


/* mobile menu */

.mobile-menu-toggler {
	width: 32px;
	height: 24px;
	padding: 0;
	border: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-end;
	position: relative;
	background: none;
	transition: all var(--fastSpeed) var(--easeOutBack);
	outline: none;
}

.mobile-menu-toggler div {
	display: block;
	height: 2px;
	width: 32px;
	background-color: var(--primary);
	transition: all var(--fastSpeed) var(--easeOutBack);
	transform-origin: right;
}

.mobile-menu-toggler div:last-child {
	width: 70%;
}

.mobile-menu-toggler.active-toggler div:first-of-type {
	transform: rotate(-45deg);
}

.mobile-menu-toggler.active-toggler div:last-child {
	transform: rotate(45deg);
	width: 100%;
}

.mobile-menu-toggler.active-toggler div:nth-of-type(2) {
	display: none;
}

.mobile-nav {
	transition: transform var(--fastSpeed) var(--easeOutQuart);
	transform: translateX(-100%);
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	max-width: 80vw;
	width: 300px;
	/* background-color: hsla(0, 0%, 0%, 0.8);
	backdrop-filter: blur(10px); */
	background-color: var(--primary);
	margin: 0;
	padding: 0;
	z-index: 99999;
	overflow-y: auto;
}

.mobile-nav.show {
	transform: translateX(0);
}

.mobile-nav ul,
.mobile-nav li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mobile-nav ul {
	background-color: hsla(0, 0%, 0%, .3);
}

.mobile-nav a {
	display: block;
	font-size: 1rem;
	text-decoration: none;
	font-weight: 700;
	color: white;
	box-sizing: border-box;
	padding: 10px 15px;
	border-bottom: 1px solid hsla(0, 0%, 100%, .2);
}

.mobile-nav ul a {
	font-size: 0.875rem;
	font-weight: normal;
	padding-left: 30px;
}

.mobile-nav ul ul a {
	padding-left: 45px;
}

.mobile-nav a:hover,
.mobile-nav a.active {
	color: var(--primary);
	background-color: #fff;
}



p:first-of-type {margin-top: 0;}
p:last-of-type {margin-bottom: 0;}



/*
			H E A D E R
*/

header {
	padding-top: calc(var(--sectionPadding)/3);
}

header h1 {
	margin-top: 0;
}


header .md\:w-8-12 {
	position: relative;
	z-index: 20;
}

header .md\:w-8-12::before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	right: -100px;
	bottom: 0;
	left: 100px;
	z-index: 30;
	background: url(/assets/img/slidemask.svg) center no-repeat;
	background-size: contain;
}

header .md\:w-8-12::after {
	content: '';
	display: block;
	position: absolute;
	top: 50px;
	right: 30px;
	width: 200.8px;
	height: 182.5px;
	z-index: -1;
	background: url(/assets/img/green.svg) center no-repeat;
	background-size: contain;
}

header .swiper-slide {
	display: flex;
	justify-content: flex-end;
}




/*
			M A I N   S E C T I O N S
*/

h2 small {
	display: block;
	margin-bottom: 15px;
	font-size: 1rem;
}

#uslugi ul li,
.sub #main ul li {
	list-style: none;
	line-height: 1.3;
	display: block;
	padding-left: 25px;
	margin-bottom: 1rem;
	position: relative;
}

#uslugi ul li::before,
.sub #main ul li::before {
	content: '';
	display: block;
	position: absolute;
	top: 3px;
	left: 0;
	width: 13.2px;
	height: 13.2px;
	background: url(/assets/img/bullet.svg) center no-repeat;
}


.well {
	padding: 50px;
	border-radius: 12px;
	background: var(--secondary);
	position: relative;
	font-size: var(--leadSize);
}

.well::after {
	content: '';
	display: block;
	position: absolute;
	top: -30px;
	right: -30px;
	width: 164.1px;
	height: 124.8px;
	background: url(/assets/img/tecza.svg) center no-repeat;
}



.card {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-bottom: calc(var(--sectionPadding)/2);
}

.card-image {
	position: relative;
	z-index: 1;
	flex-shrink: 0;
}

.card-body {
	border-radius: 12px;
	padding: 70px 50px;
	flex-shrink: 0;
	flex-grow: 0;
	position: absolute;
	right: 0;
	z-index: 1;
	width: calc(100% * 5/12);
	background: var(--secondary);
}

.card::after {
	content:'';
	display: block;
	width: 195px;
	height: 182.5px;
	background: url(/assets/img/pink.svg) center no-repeat;

	position: absolute;
	bottom: 20px;
	right: 130px;
	z-index: -1;
}

.card-title {
	margin-top: 0;
}

.card-title--link {
	color: var(--titleColor);
	transform: color .2s;
}

.card-title--link:hover {
	color: var(--primary);
}

.card-body .btn {
	margin-top: 2rem;
}

.card.reverse {
	justify-content: flex-end;
}

.card.reverse::after {
	content:'';
	display: block;
	width: 195px;
	height: 182.5px;
	background: url(/assets/img/green2.svg) center no-repeat;

	position: absolute;
	bottom: 20px;
	left: 130px;
	z-index: -1;
}

.card.reverse .card-body {
	right: auto;
	left: 0;
}


.btn {
	border-radius: 12px;
	padding: 1.2em 2em;
	font-size: 1.125rem;
	font-weight: bold;
	text-transform: uppercase;
}


#zdjecia .swiper-container, .sub #pliki .slider {
	padding-bottom: 60px;
}

#zdjecia .swiper-pagination, .slider .swiper-pagination {
	bottom: 0;
}

section .swiper-pagination-bullet {
	width: 18px;
	height: 18px;
	margin: 0 0.5rem;
	background: white;
	opacity: 1;
	border: 1px solid var(--borderColor);
	transition: all .3s var(--ease);
}

section .swiper-pagination-bullet-active {
	background: var(--primary);
	border-color: var(--primary);
}

section .swiper-slide img {
	transition: all 1s var(--ease);
}

section .swiper-slide:hover img {
	transform: scale(1.1);
}


#mapa iframe {
	display: block;
	width: 100%;
}

header, section {
	width: 100%;
	overflow: hidden;
}


/*
			F O O T E R
*/

.madeby {
	color: black;
	text-decoration: none;
	line-height: 1;
	display: inline-block;
}

.madeby small {
	float: left;
	margin: 4px 4px 0 0;
	font-size: 0.6875rem;
}


footer {
	background-color: var(--secondary);
	padding: var(--sectionPadding) 0 40px;
}

footer hr {
	opacity: .2;
	background-color: #000;
	margin: var(--sectionPadding) 0 40px;
}

footer ul {
	margin: 0;
	padding: 0;
}

footer li {
	margin: 0 30px 0 0;
	padding: 0;
	list-style: none;
}

footer a {
	color: var(--textColor);
	text-decoration: none;
	transition: all .2s;
}

footer a:hover {
	color: var(--primary);
	text-decoration: underline;
}

address {
	font-style: normal;
	margin-bottom: 1rem;
}




form {
	width: 100%;
}

fieldset {
	border: 0;
	padding: 0;
	margin: 0;
}

label {
	margin-top: 10px;
	margin-bottom: 5px;
	font-size: 1.125rem;
}

label p, label li {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.5;
}

label li {
	list-style: disc;
	margin-top: 10px;
	margin-left: 20px;
}

label p a {
	color: var(--primary);
}

input,select,textarea {
	width: 100%;
	box-sizing: border-box;
	padding: .8rem 1rem;
	border-radius: 12px;
	background-color: transparent;
	margin-bottom: 1rem;
	border: 2px solid hsla(0, 0%, 0%, .15);
}

[type="checkbox"],
[type="radio"] {
	width: auto;
	flex-shrink: 0;
}

textarea {
	height: 14.8rem;
}

.ok {
	border-color: var(--borderColor);
}

.error {
	border-color: red;
}

.error-msg {
	color: red;
	font-size: 1rem;
	margin-top: 5px;
}

.star {
	color: red;
	font-family: sans-serif;
}

#alert {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 0.5rem 1rem;
	color: white;
	font-weight: bold;
}

#alert.success {
	background-color: rgb(0, 133, 22);
}


#alert.danger {
	background-color: rgb(165, 0, 0);
}




/*
			K E Y F R A M E S
*/

@keyframes showDropdown {
	0% {opacity: 0; transform: translateY(-10px);}
	100% {opacity: 1; transform: translateY(0);}
}

@keyframes showNextDropdown {
	0% {opacity: 0; transform: translateX(-10px);}
	100% {opacity: 1; transform: translateX(0);}
}






.lightUp--ready {
	transform: translateY(50px);
	opacity: 0;
}

.lightUp {
	animation: lightup .8s var(--easeOutQuart)  1 forwards;
}

.lightDown--ready {
	transform: translateY(-50px);
	opacity: 0;
}

.lightDown {
	animation: lightdown .8s var(--easeOutQuart) 1 forwards;
}

@keyframes lightup {
	from {
		transform: translateY(50px);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}

@keyframes lightdown {
	from {
		transform: translateY(-50px);
		opacity: 0;
	}

	to {
		transform: translateY(0);
		opacity: 1;
	}
}









/*

			MEDIA
			QUERIES

*/

@media screen and (max-width: 1536px) {
	header, section {width: 100%; overflow: hidden;}
}

@media screen and (max-width: 1199px) {
	.navbar-nav > li:not(:first-child) {
		padding-left: 25px;
	}

	.navbar-logo--text strong {
		font-size: 1.5rem;
	}

	.navbar-logo-image {
		height: 40px;
	}

	.navbar-logo {height: 48px;}

	.navbar-nav > li > a {
		letter-spacing: 1px;
	}


	header .swiper-slide img {
		width: 100%;
	}

	header .md\:w-8-12::before {
		left: 50px;
		right: -50px;
	}

	header h1 {
		font-size: var(--h3);
	}

	.card-image,
	.card-image img {
		width: 100%;
	}

	.card-body {right: 30px; padding: 30px; background: hsl(33, 96%, 91%, .8); backdrop-filter: blur(5px);}

	.card.reverse .card-body {
		right: auto;
		left: 30px;
	}
}




@media screen and (max-width: 1000px) {
	header .md\:w-4-12 {
		text-align: center;
		margin-bottom: 60px;
	}

	header .md\:w-8-12::before {
		left: 0;
		right: 0;
	}

	#uslugi ul:first-child {margin-top: 0;}

	.well {
		font-size: 1.1rem;
	}

	.card {
		display: block;
	}

	.card-image,
	.card-image img {
		border-radius: 12px 12px 0 0 !important;
	}

	.card-body {
		position: relative;
		right: 0 !important;
		left: 0 !important;
		width: 100%;
		border-radius: 0 0 12px 12px;
		background: var(--secondary);
	}

	footer .md\:w-4-12 {margin-bottom: 50px;}

	footer h2 {
		font-size: var(--h4);
	}

	footer .last {
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
}


@media screen and (max-width: 560px) {
	h2 {font-size: var(--h3);}
	h3 {font-size: var(--h4);}
	h4 {font-size: var(--h5);}

	form .items-start.flex-nowrap {
		flex-direction: column;
		align-items: flex-end;
	}

	form .pr-30 {padding-right: 0;}

	form .btn {
		margin-top: 20px;
	}

	#alert {display: none;}
}