@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: 96%;
	width: var(--containerWidth);
}

.btn {
	font-size: 1rem;
	font-weight: bold;
	padding: 1em 2em;
	line-height: 1;
	border-radius: var(--borderRadius);
	background-image: var(--gradient);
	background-size: 100% 100%;
	transition: all .3s;
}

.btn:hover {
	background-size: 300% 100%;
}

#admin_bar a {text-decoration: none;}


body {
	font-variant-ligatures: none;
}



/*
			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 30px hsl(0 0% 0% / .2);
}

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

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

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

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




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

.navbar-nav {
	margin: 0 var(--navMargin) 0 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-weight: bold;
	display: inline-flex;
	text-decoration: none;
	padding: 10px 0;
	transition: all .2s;
	outline: none;
	position: relative;
	overflow: hidden;
	text-transform: uppercase;
}
/*
.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: 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);
	text-transform: uppercase;
}

.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
*/

header {
	overflow: hidden;
}

header .swiper-slide {overflow: hidden;}

.h1 {
	line-height: 1;
	font-weight: bold;
	margin-bottom: 30px;
}

.swiper-content {
	width: 45%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-right: calc(100% * 1/12);
	position: relative;
	color: white;
}

.swiper-content::after {
	content: '';
	display: block;
	position: absolute;
	top: 0;
	right: 0;
	left: -50vw;
	bottom: 0;
	background-image: var(--gradient);
	z-index: -1;
}

header .swiper-button-prev,
header .swiper-button-next {
	bottom: 40px !important;
	top: auto !important;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 2px solid white;
	color: white;
	transition: transform .2s;
}

header .swiper-button-prev:hover {transform: translateX(-3px);}
header .swiper-button-next:hover {transform: translateX(3px);}

header .swiper-button-prev {
	left: calc((100% - var(--containerWidth)) / 2);
}
header .swiper-button-next {
	left: calc((100% - var(--containerWidth)) / 2 + 52px);
}

.swiper-button-next::after, .swiper-button-prev::after {
	font-size: 0.875rem !important;
	font-weight: bold;
	color: white;
}



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

p:last-of-type {margin-bottom: 0;}
p a.btn {margin-top: 1rem;}

#firma {
	background-image: url(/assets/img/firma-bg.svg);
	background-position: right top;
	background-repeat: no-repeat;
}


#dlaczego .md\:w-4-12 {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 10px;
}

#dlaczego .swiper-button-prev,
#dlaczego .swiper-button-next {
	position: relative !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--primary) !important;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background-color: #fff;
	box-shadow: 0 10px 30px hsl(0 0% 0% / .1);
	transition: all .3s;
}

#dlaczego .swiper-button-prev:active,
#dlaczego .swiper-button-next:active {
	box-shadow: 0 5px 15px hsl(0 0% 0% / .15);
	transform: scale(.98);
}

#dlaczego .swiper-button-prev::after,
#dlaczego .swiper-button-next:after {
	color: var(--primary);
	font-weight: bold;
}

#dlaczego .shadow {
	box-shadow: 0 10px 30px hsl(0 0% 0% / .1);
	font-size: 0.875rem;
	height: 100%;
}


#dlaczego .swiper-wrapper {
	align-items: stretch !important;
}

#dlaczego .swiper-slide {
	height: auto !important;
}







/*
			F O O T E R
*/

.madeby {
	color: white;
	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);
	color: white;
}

footer h6 {
	color: var(--primary);
}

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

footer li {
	margin: 0 0 1em 0;
	padding: 0;
	list-style: none;
}

footer li a {
	line-height: 1.3;
	display: block;
}

footer a {
	color: white;
	text-decoration: none;
	transition: opacity .2s;
}

footer a:hover {
	opacity: .5;
}


.socials img {
	width: 32px;
}







.langs {
	position: relative;
	margin-left: 30px;
}

.langs a {
	text-decoration: none;
	color: #212121;
	-webkit-transition: color .2s;
	transition: color .2s
}

.langs a:hover {
	color: #149747
}

.drop {
	position: absolute;
	top: calc(100% + 5px);
	right: -15px;
	background-color: #fff;
	-webkit-box-shadow: 0 10px 15px -5px rgba(0, 0, 0, .2);
	box-shadow: 0 10px 15px -5px rgba(0, 0, 0, .2)
}

.drop a {
	text-decoration: none;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	padding: 10px 25px;
	border-bottom: 1px solid #f2f2f2;
	-webkit-transition: all .2s;
	transition: all .2s;
	background-color: #fff
}

.drop a:hover {
	-webkit-transform: translateY(-2px);
	transform: translateY(-2px);
	-webkit-box-shadow: 0 3px 4px rgba(0, 0, 0, .1);
	box-shadow: 0 3px 4px rgba(0, 0, 0, .1);
	background-color: #f8f8f8
}

.drop a img {
	margin-right: 5px
}








/*
			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-height: 690px) and (min-width: 1024px) {
	.swiper-content {padding-bottom: 100px;}
}

@media screen and (max-width: 1280px) {
	header .swiper-button-prev {
		left: calc(2vw + 15px);
	}
	header .swiper-button-next {
		left: calc(2vw + 67px);
	}
}



@media screen and (max-width: 1199px) {
	:root {
		--navMargin: 20px !important
	}

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

	.navbar-nav > li > a {font-size: .875rem;}

}



@media screen and (max-width: 1022px) {
	[class*="md:w"]:not([class*="sm:w"]) {
		padding-left: 0;
		padding-right: 0;
	}

	.langs {
		margin-left: 0;
		margin-right: 20px;
	}

	.navbar .btn {display: none;}

	header .swiper-button-next,
	header .swiper-button-prev {display: none;}

	header, header .swiper-slide img {
		height: 82vh;
	}

	.h1 {font-size: var(--h2);}

	#firma, #dlaczego, footer {
		text-align: center;
	}

	#firma img, #dlaczego img {
		margin: 0 auto 30px;
	}

	#dlaczego .md\:w-4-12 {
		display: flex;
		justify-content: center;
		margin-top: 30px;
	}

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



@media screen and (max-width: 760px) {
	.container {
		max-width: 90%;
	}
	header, header .swiper-slide img {
		height: auto;
		background-color: var(--primary);
	}
	header .swiper-slide .absolute {
		position: relative;
		top: auto;
		right: auto;
		bottom: auto;
		left: auto;
		width: 100%;
		padding: 30px 0;
	}

	.swiper-content {
		width: 100%;
		padding-right: 0;
		text-align: center;
	}

	.swiper-content::after {display: none;}
}



@media screen and (max-width: 400px) {
	.navbar-logo-image {
		height: 40px;
	}


}