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

html {
	scroll-padding-top: 120px;
	scroll-margin-top: 120px;
	scroll-behavior: smooth;

	-webkit-scroll-padding-top: 120px;
	-webkit-scroll-margin-top: 120px;
	-webkit-scroll-behavior: smooth;
}

[x-cloak] {display: none;}

* {outline: none !important;}

.btn {
	padding: 1em 1.5em;
	position: relative;
	background-color: transparent;
}

.btn::before,
.btn::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: -1;
	transition: all .3s var(--easeOutExpo);
}

.btn::before {
	right: 100%;
	background-color: var(--primaryDark);
}

.btn::after {
	z-index: -1;
	background-color: var(--primary);
}

.btn:hover::before,
.btn:focus::before {
	right: 0;
}

.btn:hover::after,
.btn:focus::after {
	left: 100%
}

/* navbar */

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

.navbar .btn {
	font-size: 1.125rem;
}


.navbar-logo {
	margin: 15px 0;
	transition: all .2s ease;
}

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

.navbar-logo-image {
	display: block;
	height: 100px;
	transition: all .2s ease;
}

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

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

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



/* navbar-nav */

.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: 30px;
}

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

.navbar-nav > li > a {
	color: hsl(0, 0%, 11%);
	font-size: 1.125rem;
	display: inline-flex;
	text-decoration: none;
	padding: 10px 0;
	transition: all .2s;
	outline: none;
}

.nav-dropdown > a::after {
	opacity: .3;
}


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

.navbar-nav > li:first-child > a::before {
	left: 0;
	width: 100%;
}

.navbar-nav:hover a::before {
	transform: translateX(100%);
}

.navbar-nav:hover li:hover ~ li > a::before {
	transform: translateX(-100%);
}

.navbar-nav:hover li:hover > a::before {
	transform: none;
	visibility: visible;
	transition-delay: 0s;
}


.navbar-nav a:focus::before,
.navbar-nav a:hover::before,
.navbar-nav .nav-active::before {
	transform: translateX(0);
}

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

.navbar-nav ul {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	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;
	transition: all .3s 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);
}

@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);}
}

.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 span {
	display: block;
	height: 2px;
	width: 100%;
	background-color: var(--primary);
	transition: all var(--fastSpeed) var(--easeOutBack);
	transform-origin: right;
}

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

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

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

.mobile-menu-toggler.active-toggler span: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;
}


a {text-decoration: none;}


h1, h2, h3, h4, h5, h6 {
	font-weight: 900;
	line-height: 1.1;
	font-family: var(--fontTitle);
}

h1 strong,
h2 strong,
h3 strong,
h4 strong,
h5 strong,
h6 strong {
	font-weight: 900;
}

b, strong {
	font-weight: 700;
}



body {
	font-size: 1.375rem;
}

small {
	font-size: 1rem;
}




.slogan {
	margin-bottom: 71px
}

header .swiper-slide img {
	height: calc(100vh - 150px);
	object-fit: cover;
	object-position: center;
}

.header-top {
	background: linear-gradient(90deg, hsl(0, 0%, 0%, .9), transparent);
	overflow: hidden;
}



#scroll {
	bottom: 15px;
	color: var(--titleColor);
	transition: color .2s;
}

#scroll small {
	font-size: 0.75rem;
}

#scroll:hover {color: var(--primary);}

#scroll img {
	transition: all .3s ease;
}

#scroll:hover img {
	transform: translateY(3px);
}

#scroll::after {
	content: '';
	position: absolute;
	top: -20px;
	right: -150px;
	bottom: -15px;
	left: -20vw;
	z-index: -1;
	background-color: #fff;
}

.home .slogan h1 {
	font-weight: normal;
}


#firma {
	padding: var(--sectionPadding) 0;
}

#firma  .md\:w-8-12 {
	padding-left: 90px !important;
}

h2 small {
	font-weight: normal;
	display: block;
	margin-bottom: 5px;
}

.more {
	color: var(--textColor);
	font-size: 1.375rem;
	transform: color .2s;
	display: flex;
	align-items: center;
}

.more::after {
	content: '';
	display: block;
	width: 40px;
	height: 4px;
	background: var(--primary);
	margin-left: 15px;
	transition: width .5s ease-out;
}

.more:hover {
	color: var(--primary);
}

.more:hover::after {
	width: 60px;
}

#wspieramy {
	padding: var(--sectionPadding) 0;
	position: relative;
}

#wspieramy::after {
	content:'';
	display: block;
	width: 100%;
	height: 543px;
	background-color: var(--bgLight);
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
}

#wspieramy .grid a {
	position: relative;
	display: block;
	width: 100%;
	overflow: hidden;
}

#wspieramy .grid .caption {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 20;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	padding: 30px;
	background: linear-gradient(hsl(240, 17%, 12%, .8) 0, transparent);
	transition: all .3s;
	background-size: 100% 100%;
}

#wspieramy .arrow {
	opacity: 0;
	transform: translateX(-10px);
	transition: all .3s ease-out;
}

#wspieramy a:hover .caption {
	background-size: 100% 300%;
}

#wspieramy a:hover .arrow {
	opacity: 1;
	transform: translateX(0);
}

#wspieramy .grid .caption strong {
	color: white;
	font-size: 1.5vw;
	line-height: 1.2;
}

#wspieramy a > img {
	transition: all .6s ease;
}

#wspieramy a:hover > img {
	transform: scale(1.1);
}







.madeby {
	color: var(--textColor);
	text-decoration: none;
	line-height: 1;
	display: inline-block;
}

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


footer {
	padding: 0 0 var(--sectionPadding);
}

footer hr {
	opacity: .2;
	background-color: #fff;
	margin: 80px 0 40px;
}

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

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

footer a {
	color: white;
	transition: opacity .2s;
}

footer a:hover {
	opacity: .8;
}



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

	.navbar-nav > li > a, .navbar .btn {font-size: 1rem;}

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

	.slogan .lead {font-size: 1.125rem;}

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

	#wspieramy .grid .caption strong {font-size: 1rem;}

	#wspieramy .grid .caption {padding: 15px;}
}



@media screen and (max-width: 1023px) {
	:root {
		--sectionPadding: 3.75rem;
	}
	#scroll {display: none;}
	.slogan {
		margin-bottom: 0;
	}

	#firma .md\:w-8-12 {
		padding-left: 0 !important;
	}

	footer img[src*="logo.svg"] {
		height: 40px;
	}

	#wspieramy a > img {
		height: 250px;
		object-fit: cover;
		object-position: top;
	}

	#wspieramy .grid .caption strong {
		font-size: 1.5rem;
	}

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


@media screen and (max-width: 630px) {
	#wspieramy .arrow {display: none;}

	#wspieramy .grid .caption {
		align-items: center;
		justify-content: center;
		text-align: center;
		padding: 0 30px;
	}
}


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