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

html {
	scroll-behavior: smooth;
}

body {
	width: 100%;
	overflow-x: hidden;
}

[x-cloak] {display: none;}

* {outline: none !important;}

/* navbar */

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

.affix {
	box-shadow: 0 5px 20px hsla(0, 0%, 0%, .05);
}


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

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

.navbar-logo-image {
	height: 107px;
	transition: all .3s ease;
}

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

.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:last-child {margin-left: 1.5em;}

/* .navbar-nav > li:not(:first-child) {
	padding-left: 30px;
} */

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

.navbar-nav > li > a {
	color: var(--textColor);
	font-size: 1rem;
	display: inline-flex;
	text-decoration: none;
	padding: 1em 1.5em;
	transition: all .2s;
	outline: none;
}


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

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

/* .navbar-nav > li:hover > a::after,
.navbar-nav > li > a:hover::after {
	filter: invert(1);
} */

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

.nav-btn {
	background-color: var(--primary);
	color: white !important;
	border-radius: 100px;
	transition: all .2s ease;
}

.nav-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 15px -5px hsla(0, 0%, 0%, .2);
}

.nav-dropdown {
	position: relative;
}

.navbar-nav ul, .nav-dropdown > 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);
	border-radius: calc(var(--borderRadius) / 2);
}

.navbar .flex > .nav-dropdown > ul {
	right: 0 !important;
	left: auto;
}

.nav-dropdown li {
	list-style: none;
	margin: 0;
}

.navbar-nav ul a, .nav-dropdown li 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;

	position: relative;
}

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

.navbar-nav ul a::before, .nav-dropdown li 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);
	transition: all .3s ease;
}

.navbar-nav ul a:hover::before,
.nav-dropdown li a:hover::before {
	transform: translateX(10px) !important;
	opacity: 1;
}
.nav-dropdown li a:hover,
.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,
.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%;
}


.navbar-nav > li:last-child > a {
	color: white;
	background-color: var(--primary);
	border-radius: 50px;
}

.navbar-nav > li:last-child > a::before {
	display: none;
}

.navbar-nav > li:last-child > a:hover {
	background-color: var(--primaryLight);
	transform: translateY(-2px);
	box-shadow: 0 10px 20px -5px hsla(0, 0%, 0%, .2);
}

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



.btn {
	padding: 1em 1.5em;
	border-radius: 100px;
	font-size: 1rem;
	line-height: 1.75;
	transition: all .3s ease;
}

.btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 15px -5px hsla(0, 0%, 0%, .2);
}

.btn.alt {
	background-color: transparent;
	color: var(--textColor);
	border: 1px solid var(--borderColor);
}



h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	line-height: 1.2;
	color: black;
}

b, strong {
	font-weight: 700;
}


main img {
	border-radius: var(--borderRadius);
}


header {
	width: 100%;
	overflow-x: hidden;
	position: relative;
	z-index: 20;
}

header .slider-mask {
	width: 1162px;
	height: 763px;
	mask-image: url(/assets/img/slidemask.svg);
	-webkit-mask-image: url(/assets/img/slidemask.svg);
	mask-repeat: no-repeat;
	-webkit-mask-repeat: no-repeat;
	overflow: hidden;
}


header .swiper-container,
header .swiper-slide {
	width: 1162px !important;
	height: 763px;
}

header .swiper-slide {
	background-size: cover;
}

/* header .slider-mask,
header .swiper-container {
	width: 60vw;
} */


.slogan h1 {
	margin-top: 0;
	margin-bottom: 20px;
}

main {
	position: relative;
	z-index: 1;
	margin-top: -100px;
}

#oferta {
	background-color: var(--bgLight);
	padding: calc(var(--sectionPadding) + 100px) 0 var(--sectionPadding);
}

#oferta .grid {
	padding-bottom: var(--sectionPadding);
}

#oferta .grid .col {
	text-align: center;
	line-height: 1.3;
}

#oferta .grid .col img {
	margin-bottom: 20px;
}

#oferta .grid .col strong {
	color: var(--titleColor);
	font-weight: 400;
	font-size: var(--h4);
}

.card {
	display: block;
	width: 100%;
	overflow: hidden;
	transition: all .3s ease;
	border-radius: var(--borderRadius);
}

.card:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 30px -10px hsla(0, 0%, 0%, .2);
}

.card-image {
	border-radius: var(--borderRadius) var(--borderRadius) 0 0;
	overflow: hidden;
	display: block;
	width: 100%;
}

.card-image--photo {
	border-radius: var(--borderRadius) var(--borderRadius) 0 0;
	transition: transform 2s ease-out;
}

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

.card-body {
	border-radius: 0 0 var(--borderRadius) var(--borderRadius);
	background-color: #fff;
	padding: 30px;
}

.card-title {
	margin: 0;
	font-size: var(--h4);
	font-weight: normal;
}

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

.card-title--link img {
	transition: transform .3s ease;
}

.card:hover .card-title--link img {
	transform: translateX(5px);
}


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

#dlaczego h2 {
	margin-top: 0;
	margin-bottom: 20px;
}

#dlaczego h4 {
	margin-top: 0;
	margin-bottom: 5px;
}

#dlaczego p {margin-top: 0;}

img[src*=".svg"] {
	border-radius: 0 !important;
}

#jezyki a {
	color: var(--textColor);
	line-height: 1.3;
	transition: color .2s;
}

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

#jezyki, #zaufali {
	padding-bottom: var(--sectionPadding);
}

#zaufali .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 120px;
}

#zaufali .swiper-slide img {
	display: block;
	max-width: 90%;
	max-height: 120px;
	border-radius: 0;
}


.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: radial-gradient(ellipse at top, hsl(219, 76%, 56%), var(--secondary) 100%);
	padding: var(--sectionPadding) 0 40px;
	color: white;
}

footer h6 {
	margin-top: 0;
	margin-bottom: 30px;
	color: hsl(209, 100%, 70%);
}

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

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

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

footer li a {
	line-height: 1.3;
	display: block;
	padding-left: 15px;
	background: url(/assets/img/bullet.svg) 0 5px no-repeat;
	background-size: 5.5px 8px;
}

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

footer a:hover {
	opacity: .8;
}




#newsletter {
	padding: var(--sectionPadding) 0;
	background: var(--bgLight);
}

#newsletter form {
	height: 60px
}

#newsletter input {
	flex-grow: 1;
	border-radius: var(--borderRadius);
	padding: 1em 1.5em;
	margin-right: 10px;
	border: 2px solid hsl(220, 82%, 88%);
}

#newsletter button {
	border: 0;
	padding: 1em 5em;
	color: white;
	background-color: var(--primary);
	border-radius: var(--borderRadius);
}




@media screen and (max-width: 1199px) {
	.navbar-nav > li > a {
		padding: 1rem;
	}

	.nav-dropdown>a::after {display: none;}

	.navbar .btn {
		padding: 1em;
	}

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

	header .slider-mask {
		height: 430px;
		width: 65vw;
	}

	header .swiper-container, header .swiper-slide {
		width: 133% !important;
		height: 470px;
	}

	.dynks-1,
	.dynks-2 {height: 100px;}

	.card-title {
		font-size: var(--h5);
	}
}


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

	header .slider-mask {
		width: 100%;
		height: 400px;
		mask-image: none;
		-webkit-mask-image: none;
		border-radius: 50px;
	}

	header .swiper-container, header .swiper-slide {
		width: 100% !important;
		height: 100%;
	}

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

	.card {
		margin-bottom: 30px;
	}

	#dlaczego .md\:w-6-12 img {
		height: 50vh;
		object-fit: cover;
		margin-bottom: 30px;
	}

	footer .md\:w-3-12 {
		margin-bottom: 30px;
	}

	footer .social-media {
		margin: 30px 0 15px;
	}
}


@media screen and (max-width: 480px) {
	header .slider-mask {
		height: 288px;
	}

	header .swiper-slide {
		background-size: contain !important;
	}

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

@media screen and (max-width: 425px) {
	header .slider-mask {
		height: 288px;
	}

	header .swiper-slide {
		background-size: auto 100% !important;
	}

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

	.card-title {
		font-size: 0.875rem;
	}

	.card-body {
		padding: 15px;
	}
}