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

h1, h2, h3, h4, h5, h6 {font-weight: var(--titleWeight); color: var(--titleColor);}
b, strong {font-weight: var(--boldWeight)}

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

.btn {
	padding: 1.8em 2em;
	font-weight: bold;
	font-size: 0.9375rem;
}

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

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


/*
			N A V B A R
*/

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

.affix {
	box-shadow: 0 0 20px hsl(0, 0%, 0%, .2);
}

.navbar-logo {
	margin: 45px 0;
	transition: all .3s;
}

.affix .navbar-logo {margin: 10px 0;}

.navbar-logo-image {
	display: block;
	height: 29.9px;
	transition: all .3s;
}

.affix .navbar-logo-image {height: 22px;}




/*
			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: 0.9375rem;
	font-weight: 700;
	display: inline-flex;
	text-decoration: none;
	padding: 47px 0;
	transition: all .2s;
	outline: none;
	position: relative;
	overflow: hidden;
	transition: all .3s;
}

.affix .navbar-nav > li > a {
	padding: 15px 0;
}
/*
.nav-dropdown > a::after {
	filter: invert(1);
} */


.navbar-nav a::before {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	left: -101%;
	width: 100%;
	height: 4px;
	will-change: transform;
	background-color: var(--secondary);
	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(--titleColor);
}

.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: 10px 15px;
	display: flex;
	font-size: 0.875rem;
	color: var(--textColor);
	justify-content: space-between;
	text-decoration: none;
	overflow: hidden;
	line-height: 1.3;
	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: 8px;
	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;
}







/*
			H E A D E R
*/

.home header {
	background-color: hsl(0, 0%, 70%);
}

.home header h2 {
	font-size: 2.15625rem;
}

.swiper-slide img {
	transition: transform 15s;
	transform: scale(1);
}

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






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

.delay-100 {animation-delay: 100ms;}
.delay-200 {animation-delay: 200ms;}
.delay-300 {animation-delay: 300ms;}
.delay-400 {animation-delay: 400ms;}
.delay-500 {animation-delay: 500ms;}

#oferta {
	background-color: var(--bgLight2);
	border-bottom: 1px solid var(--borderColor);
}

#oferta .box {
	padding: 60px 30px;
	border-right: 1px solid var(--borderColor);

	font-size: 0.8125rem;
	color: var(--textColor);

	transition: background-color .3s;
}

#oferta .box:hover {
	background-color: white;
}

.box:first-of-type {
	border-left: 1px solid var(--borderColor);
}


#dariusz-domagala {
	background-color: var(--bgLight2);
	font-size: 0.9375rem;
}

#dariusz-domagala img {
	mix-blend-mode: multiply;
}

#cytat .content {
	color: white;
	font-size: 0.9375rem;
	padding: 60px 0 60px 100px;
	background: url(/assets/img/quote.svg) left center no-repeat;
}


#wspolpraca {
	font-size: 0.9375rem;
}





/*
			F O O T E R
*/

.madeby {
	color: var(--textColor);
	text-decoration: none;
	line-height: 1;
	display: flex;
	align-items: center;
}

.madeby small {
	font-size: 0.6875rem;
	font-weight: 400;
	margin-right: 4px;
}





footer a {
	color: var(--titleColor);
	transition: color .2s;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.125rem;
}

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




/*
			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);}
}





/*

		M  E  D  I  A
		Q U E R I E S

*/


@media screen and (max-width: 1280px) {
	header h1 {
		font-size: var(--h3);
	}
}

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

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

	.slogan {
		width: 50%;
		max-width: 50%;
		flex-basis: 50%;
	}

	.slogan .btn {
		padding: 1em 2em;
	}

	#oferta .box {padding: 30px;}

	.box h5 {
		font-size: var(--h6);
	}

	#wspolpraca .justify-end {justify-content: flex-start;}

	.home section {overflow: hidden;}

	footer .mr-60 {margin-right: 30px;}

	footer a {font-size: 1rem;}
}



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

	[class*="md:w"]:not([class="sm:w"]) {
		padding-left: 0;
		padding-right: 0;
	}

	#oferta .box:nth-child(3) {border-left: 1px solid var(--borderColor); border-top: 1px solid var(--borderColor);}
	#oferta .box:nth-child(4) {border-top: 1px solid var(--borderColor);}

	#dariusz-domagala img {
		margin: 0 auto 30px;
		max-height: 60vh;
	}

	#dariusz-domagala {
		text-align: center;
	}

	footer .container > .flex {
		flex-direction: column;
	}
}



@media screen and (max-width: 970px) {
	.home header .swiper-slide img {height: 350px; object-fit: cover; object-position: center;}

	.home header h1 {font-size: var(--h4);}
	.home header h2 {font-size: var(--h5);}
	.home header h2 img {
		height: 30px;
	}

	.navbar-logo {margin: 20px 0;}

	.navbar-logo-image {height: 20px;}
	.affix .navbar-logo-image {height: 18px;}
}



@media screen and (max-width: 720px) {
	.home header .swiper-slide img {height: 300px;}
	.slogan {
		width: 70%;
		max-width: 70%;
		flex-basis: 70%;
	}

	#cytat .content {
		padding: 30px 0 30px 60px;
	}

	.footer-logo {display: none;}

	footer .flex {
		margin: 0 0 15px 0;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	footer .flex > img {
		margin-right: 0;
		margin-bottom: 10px;
	}
}



@media screen and (max-width: 635px) {
	.home header h1 {font-size: var(--h5);}

	.slogan {
		width: 52%;
		max-width: 52%;
		flex-basis: 52%;
	}

	header .btn {
		font-size: 0.75rem;
	}

	#oferta .box {
		border-top: 1px solid var(--borderColor);
		border-left: 1px solid var(--borderColor);
	}

	h2, .h2 {font-size: var(--h3);}
	h3, .h3 {font-size: var(--h4);}
	h4, .h4 {font-size: var(--h5);}
	h5, .h5 {font-size: var(--h6);}

	.w-full {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}



@media screen and (max-width: 590px) {
	.slogan .btn {
		text-align: center;
	}

	#wspolpraca .w-5-12 {
		width: 70%;
		max-width: 70%;
		flex-basis: 70%;
	}
}


@media screen and (max-width: 430px) {
	.slogan {
		width: 70%;
		max-width: 70%;
		flex-basis: 70%;
	}

	#cytat .content {
		padding: 0;
		background: none;
	}
}