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

.lg-on {
	overflow: hidden;
	width: 100vw;
	height: 100vh;
}

.lg-on .lg-backdrop {
	background-color: hsl(0 0% 0% / 0.85);
	backdrop-filter: blur(3px);
}

.langs a {opacity: .6;}

.langs:lang(en) a:first-child {
	opacity: 1;
}

.langs:lang(pl) a:last-child {
	opacity: 1;
}

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

.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}
.delay-600 {animation-delay: 600ms}

.speed-800 {animation-duration: 800ms}
.speed-1000 {animation-duration: 1000ms}
.speed-1200 {animation-duration: 1200ms}
.speed-1400 {animation-duration: 1400ms}

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

.btn {
	padding: 1.5em 4em;
	font-weight: bold;
	text-transform: uppercase;
	background-image: linear-gradient(90deg, var(--primary), var(--secondary));
	transition: all .3s;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	-ms-transition: all .3s;
	-o-transition: all .3s;
}

.btn:hover {
	/* text-shadow: 0 3px 2px hsl(0 0% 0% / 0.45); */
	filter: brightness(1.3);
	-webkit-filter: brightness(1.3);
}

p .btn:only-child {margin-top: 10px;}

p:first-of-type,
.lead {
	margin-top: 0;
}
p:last-of-type {
	margin-bottom: 0;
}

.lead {
	line-height: 1.5;
}




/*
			N A V B A R
*/

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

.affix {
	box-shadow: 0 0 30px hsl(0 0% 0% / 0.1);
}

.navbar-logo {
	margin: 55px 0;
	transition: all .2s;
	-webkit-transition: all .2s;
	-moz-transition: all .2s;
	-ms-transition: all .2s;
	-o-transition: all .2s;
}

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

.navbar-logo-image {
	display: block;
	height: 58.5px;
	transition: all .2s;
	-webkit-transition: all .2s;
	-moz-transition: all .2s;
	-ms-transition: all .2s;
	-o-transition: all .2s;
}

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

.tel {
	text-decoration: none;
	color: black;
	font-size: 1.125rem;
}

/*
			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(--textLight);
	font-size: 0.875rem;
	text-transform: uppercase;
	font-weight: 700;
	display: inline-flex;
	text-decoration: none;
	padding: 10px 0;
	transition: all 0.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: -100%;
	width: 100%;
	height: 3px;
	will-change: transform;
	background-image: linear-gradient(90deg, var(--primary), var(--secondary));
	transition: all 0.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: black;
}

.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%, 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 0.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 0.3s 1 forwards;
}

.navbar-nav .open .open,
.navbar-nav ul .nav-dropdown:hover > ul {
	display: block;
	animation: showNextDropdown 0.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%, 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%, 0.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 .absolute {
	/* background-image: linear-gradient(90deg, hsl(268 100% 59% / .3), hsl(169 100% 50% / .3)); */
	isolation: isolate;
}

header .absolute::before {
	content: '';
	display: block;
	width: 428px;
	height: 403px;
	background-image: url(/assets/img/logo-image.svg);
	background-repeat: no-repeat;

	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	mix-blend-mode: multiply;
	opacity: .2;
}

.slogan {
	width: calc(100% * 4.5/12);
	color: white;
}

header h1 {
	margin-top: 0;
	color: white;
}

.scroll {
	position: absolute;
	bottom: 30px;
	left: 100px;
	text-decoration: none;
	color: white;
}




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

.gradient-text {
	background: linear-gradient(90deg, var(--primary), var(--secondary));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.bg-black {
	background-color: black;
}

.text-white, .text-white * {
	color: white;
}


.card.over {
	cursor: pointer;
}

.card-title {margin: 0 0 5px;}

#info .card-image {
	overflow: hidden;
}

#info .card-image img {
	transition: transform var(--normalSpeed) var(--ease);
	-webkit-transition: transform var(--normalSpeed) var(--ease);
	-moz-transition: transform var(--normalSpeed) var(--ease);
	-ms-transition: transform var(--normalSpeed) var(--ease);
	-o-transition: transform var(--normalSpeed) var(--ease);
}

#info .card:hover .card-image img {
	transform: scale(1.1);
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-ms-transform: scale(1.1);
	-o-transform: scale(1.1);
}


#tech .swiper {
	overflow: visible;
}

#tech .bg-light {
	padding: 5px;
	position: relative;
}

#tech .bg-light::before {
	content: '';
	display: block;
	height: 5px;
	background-image: linear-gradient(90deg, var(--primary), var(--secondary));
	position: absolute;
	top: 0;
	left: 5px;
	right: 5px;
}

#tech .swiper-slide h5,
#tech .product h5 {
	margin: 0;
	line-height: 1;
	writing-mode: vertical-rl;
	-webkit-writing-mode: vertical-rl;
	-ms-writing-mode: vertical-rl;
}

#tech h5 a {
	color: black;
}

#tech ul {
	padding: 0;
}

#tech li {
	list-style: none;
	margin: 0;
	font-size: 0.6875rem;
	display: flex;
	flex-direction: column;
	line-height: 1.1;
	position: relative;
	isolation: isolate;
	padding-bottom: 12px;
	margin-top: 5px;
}

#tech li::after {
	content: '';
	display: block;
	width: calc(100% + 10px);
	height: 10px;
	background-image: linear-gradient(90deg, var(--primary), var(--secondary));
	position: absolute;
	bottom: 0;
	left: -10px;
	z-index: -1;
}


#tech .swiper-pagination {
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: flex-end;
	max-width: 80%;
	position: relative;
	margin: 0;
	padding: 0;
	inset: auto;
}

#tech .swiper-pagination-bullet {
	width: 12px;
	height: 12px;
}

#tech .swiper-pagination-bullet-active {
	background-image: linear-gradient(45deg, var(--primary), var(--secondary));
}

.swiper-controls {
	display: flex;
	gap: 10px;
	align-items: center;
}

#tech .swiper-button-prev,
#tech .swiper-button-next {
	position: relative;
	margin: 0;
	padding: 0;
	inset:auto;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	background-image: linear-gradient(45deg, var(--primary), var(--secondary));
	color: white;
	transition: all .3s;
	-webkit-transition: all .3s;
	-moz-transition: all .3s;
	-ms-transition: all .3s;
	-o-transition: all .3s;
}

#tech .swiper-button-prev:hover,
#tech .swiper-button-next:hover {
	filter: brightness(1.3);
	-webkit-filter: brightness(1.3);
}

#tech .swiper-button-prev:active,
#tech .swiper-button-next:active {
	transform: scale(.9);
	-webkit-transform: scale(.9);
	-moz-transform: scale(.9);
	-ms-transform: scale(.9);
	-o-transform: scale(.9);
}

#tech .swiper-button-next::after,
#tech .swiper-button-prev::after {
	font-size: 1rem;
	font-weight: bold;
}

#tech .swiper-button-disabled {
	filter: grayscale(1);
	-webkit-filter: grayscale(1);
}


#tech .swiper-slide .flex-nowrap,
#tech .product .flex-nowrap {
	cursor: pointer;
	transition: all .2s;
	-webkit-transition: all .2s;
	-moz-transition: all .2s;
	-ms-transition: all .2s;
	-o-transition: all .2s;
}

#tech .swiper-slide .flex-nowrap:hover,
#tech .product .flex-nowrap:hover {
	transform: scale(1.03);
	-webkit-transform: scale(1.03);
	-moz-transform: scale(1.03);
	-ms-transform: scale(1.03);
	-o-transform: scale(1.03);
}

#tech .product, #tech .product > .flex {
	width: 100%;
	height: 100%;
}

#tech .product > .flex-nowrap > img.max-w-full {
	/* flex-grow: 1; */
	width: 100%;
	object-fit: cover;
}


#idea {
	background: black url(/assets/img/bottom-bg.jpg) top no-repeat;
	color: white;
}

#idea h3 {color: white;}

#idea .fade .relative img:not(.blur) {
	animation: animcircle1 4s var(--ease) 1 forwards;
	-webkit-animation: animcircle1 4s var(--ease) 1 forwards;
}

@keyframes animcircle1 {
	0% {
		filter: brightness(0);
		-webkit-filter: brightness(0);
	}

	100% {
		filter: brightness(1);
		-webkit-filter: brightness(1);
	}
}

#idea .blur {
	mix-blend-mode: revert;
}

#idea .fade .blur {
	animation: animcircle2 4s var(--ease) 1 forwards;
	-webkit-animation: animcircle2 4s var(--ease) 1 forwards;
}

@keyframes animcircle2 {
	0% {
		filter: brightness(0) blur(0) contrast(1);
		-webkit-filter: brightness(0) blur(0) contrast(1);
	}

	100% {
		filter: brightness(1) blur(5px) contrast(1.3);
		-webkit-filter: brightness(1) blur(5px) contrast(1.3);
	}
}

#idea h4 {
	color: white;
	text-transform: none;
	margin: 30px 0 20px;
}

#idea hr {
	margin-bottom: 0;
}

.gallery a {
	overflow: hidden;
}

.gallery img {
	display: block;
	width: 100%;
	transition: all var(--normalSpeed) var(--ease);
}

.gallery a:hover img {
	transform: scale(1.1);
}

/*
			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: black;
	color: white;
}

footer h4 {
	color: white;
	text-transform: none;
}

footer hr {
	opacity: 0.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;
	text-decoration: none;
	transition: opacity 0.2s;
}

footer a:hover {
	opacity: 0.6;
}

/*
			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: 1380px) {
	:root {
		--navMargin: 20px !important
	}

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

	header h1 {
		font-size: clamp(var(--h4), var(--h1), 4vw);
	}

	h2 {font-size: clamp(var(--h5), var(--h2), 3vw);}
	h3 {font-size: clamp(var(--h5), var(--h3), 2.5vw);}
	h4 {font-size: clamp(var(--h5), var(--h4), 2vw);}
	h5 {font-size: clamp(var(--h6), var(--h5), 1.7vw);}

	.slogan {
		width: calc(100% * 6/12);
	}


	#info .card-body p {
		line-height: 1.3;
	}
}



@media screen and (max-width: 1200px) {
	.navbar .tel strong {display: none;}
	.navbar .tel img {margin-right: 0;}

	#how .md\:row {
		flex-direction: column-reverse;
	}

	#how .w-full {
		width: 100%;
		max-width: 100%;
		flex-basis: 100%;
	}

	#how .gallery {margin-top: 30px;}
}


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

	#info .w-full + .w-full, #idea .md\:w-5-12 {
		margin-top: 60px;
	}

	#idea .sm\:w-6-12:nth-child(n+3) {margin-top: 60px;}

	footer {
		text-align: center;
	}

	footer a.flex {
		justify-content: center;
	}

	footer .md\:w-4-12.items-end {
		justify-content: center;
		align-items: center;
		text-align: center;
		display: flex;
		margin-top: 60px;
	}

	header .absolute {
		padding-left: 30px;
		padding-right: 30px;
	}

	.scroll {left: 30px;}

	#info .card-image img {
		width: 100%;
		height: auto;
		aspect-ratio: 16/6;
		object-fit: cover;
	}

}



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

	#tech .swiper-slide img.max-w-full {
		flex-grow: 1;
		width: 100%;
	}
}



@media screen and (max-width: 760px) {
	.scroll {display: none;}

	.slogan {
		width: 70%;
	}

	#info .card-body {padding: 0;}

	#info .card-image img {
		aspect-ratio: 16/10;
	}

	#tech .swiper-pagination {display: none;}

	.swiper-controls {
		justify-content: center;
		width: 100%;
	}
}



@media screen and (max-width: 638px) {
	#idea .sm\:w-6-12, #idea .sm\:w-6-12:nth-child(n+3) {
		text-align: center;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		margin-bottom: 60px;
		margin-top: 0;
	}
}



@media (max-width: 490px) {
	.navbar-logo-image {
		height: 35px;
	}

	.langs a img {
		width: 24px;
	}

	.navbar-right.gap-30 {gap: 20px}
}


@media screen and (max-width: 420px) {
	.slogan {width: 100%;}

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

	.card-body .gap-30 {gap: 10px;}

	.card-body .px-30 {
		padding-left: 15px;
		padding-right: 15px;
	}

	.card-body .px-30 + img.block {
		height: 70px;
	}

	.card-body p {
		font-size: .75rem;
	}

	.navbar-right.gap-30, .langs.gap-15 {gap: 10px}
}