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

* {
	font-variant-ligatures: none;
  }

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

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

.btn {
	padding: 1.6em 3em;
	border-radius: 100vmax;
	font-size: 0.875rem;
	font-weight: bold;
	transition: all .3s;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.25;
}

footer h5 {
	line-height: var(--lineHeight);
}

/*
			N A V B A R
*/

.navbar {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 999;
	transition: all .3s;
}

.affix {
	background-color: hsl(0 0% 0% / .8);
	backdrop-filter: blur(2px);
}

.navbar-logo {
	margin: 2rem 0;
	transition: all .3s;
}

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

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

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

.langs {margin-left: var(--navMargin);}

.langs a + a {margin-left: 10px;}



/*
			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: white;
	font-size: 1rem;
	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: -103%;
	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);
}

.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 {
	position: relative;
	z-index: 1;
	overflow: hidden;
}

header .container {
	position: relative;
}

header .certyfikat {
	position: absolute;
	bottom: 20%;
	right: 0%;
	z-index: 31;
	box-shadow: 0px 0px 30px #00000021;
}
.home header .absolute {
	background-image: linear-gradient(to bottom, hsl(0 0% 0% / .6), transparent);
}

header .swiper-slide .absolute {
	background: linear-gradient(to bottom, hsl(0 0% 0% / .75), transparent);
}

header .absolute::after {
	content: '';
	display: block;
	background-color: #fff;
	width: 100%;
	height: 323px;

	position: absolute;
	bottom: 0;
	right: 0;
	z-index: 30;
	transform-origin: right top;

	transform: skewY(-10deg);
}

.slogan {
	width: calc(100% * 5/12);
	margin-bottom: 100px;
}

.slogan .h1 {
	color: white;
	line-height: 1.1;
}





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

h1,
.home h2,
.home h3,
.home h4,
.home h5,
.home h6 {
	margin-top: 0;
}

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

p .btn {margin-top: 1rem;}

main {
	position: relative;
	z-index: 50;
}

#o-firmie {
	transform: translateY(-180px);
	margin-bottom: -250px;
}

#o-firmie .md\:w-5-12 {
	margin-bottom: 60px;
}


#dlaczego-my .md\:w-4-12:nth-child(n + 4) {margin-top: 75px;}

.card {cursor: pointer;}

.card-image img {
	width: 100%;
	display: block;
	transition: transform .5s var(--ease);
}

.card-image {overflow: hidden; display: block;}

.card:hover .card-image img {transform: scale(1.1);}

.card-body {
	text-align: center;
}

h4.card-title {margin: 1.1rem 0 0;}

.card-title--link {
	color: black;
	transition: color .2s;
}

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


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

/*
			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 hr {
	background-color: var(--borderColor);
	margin: 0;
}

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

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

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

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: 1400px) {
	:root {
		--navMargin: 30px !important
	}
}


@media screen and (max-width: 1199px) {
	:root {
		--navMargin: 20px !important
	}
	.navbar-nav > li > a {font-size: 0.875rem;}

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

	.slogan .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)}

	#mapa iframe {
		height: 350px;
	}
}