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

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

html {
	scroll-padding-top: 50px
}

.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-500 {animation-duration: 500ms;}
.speed-700 {animation-duration: 700ms;}
.speed-900 {animation-duration: 900ms;}
.speed-1000 {animation-duration: 1000ms;}
.speed-1200 {animation-duration: 1200ms;}

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

.btn {
	padding: 1.2em 3em;
	color: white;
	border-radius: .25rem;
}




/*
			N A V B A R
*/

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

.affix {
	background-color: var(--secondary);
}

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

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

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

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




/*
			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: hsl(0, 0%, 100%);
	font-size: 1rem;
	text-transform: uppercase;
	font-weight: 700;
	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: -102%;
	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: white;
	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 {
	overflow: hidden;
}

header video {
	display: block;
	position: relative;
	z-index: 1;
	width: 100%;
	height: 100vh;
	object-fit: cover;
	object-position: center;
}

.header-top {
	background-color: hsl(166, 60%, 16%, .6);
}

header .hemp {
	bottom: -100px;
	right: -100px;
	z-index: 10;
	max-width: 50vw;
}

.slogan {
	z-index: 20;
}

.slogan h1 {
	margin-top: 0;
	color: white;
}

.slogan p {
	margin: 0;
	font-size: 1.6875rem;
	color: hsl(145, 58%, 68%);
	display: block;
	padding-left: 1em;
	border-left: 7px solid hsl(145, 58%, 68%);
}




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

h2 em,
h3 em,
h4 em,
h5 em,
h6 em {
	color: var(--secondary);
}

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

section h2:first-of-type,
section h3:first-of-type,
section h4:first-of-type {
	margin-top: 0;
}

#budujemy {
	color: white;
	height: 640px;
	background: var(--primary) url(/assets/img/budujemy-image.png) right no-repeat;
	position: relative;
	isolation: isolate;
	overflow: hidden;
}

#budujemy::before {
	content: '';
	display: block;
	width: 800px;
	height: 830px;
	max-width: 40vw;
	background: url(/assets/img/hemp.svg) right top no-repeat;
	position: absolute;
	bottom: -100px;
	left: -100px;
	z-index: -1;
	filter: brightness(1.1);
}

#budujemy h2 {
	margin-bottom: 60px;
}

#budujemy p {
	padding-left: 7.5em;
}

.box.bg-primary {
	border-radius: 0 150px;
}

.box.bg-secondary {
	border-radius: 150px 0;
}

.box-content {
	padding: 120px;
	color: white;
}

.box.bg-primary .box-content ul {
	margin: 0;
	padding: 0;
}

.box.bg-primary .box-content li {
	list-style: none;
	margin: .5em 0 0;
	padding: 0 0 0 1.65em;
	position: relative;
}

.box.bg-primary .box-content li::before {
	content: '';
	display: block;
	width: 16px;
	height: 12.8px;
	background: url(/assets/img/check.svg) center no-repeat;

	position: absolute;
	top: .4em;
	left: 0;
}

.box.bg-secondary h3 {color: white;}

#wspolpraca .circle {
	outline: 2px solid white !important;
	box-shadow: 0 0 15px hsl(0, 0%, 0%, .1);
}

#wspolpraca h2 em {
	color: var(--primary);
}

#zalety, #zespol {
	isolation: isolate;
}

#zalety h2 em {
	color: white;
}


#zespol h2 {color: var(--primary);}
#zespol h2 em {
	color: var(--secondary);
}

#zalety::before {
	content: '';
	display: block;
	width: 800px;
	height: 830px;
	background: url(/assets/img/hemp.svg) center no-repeat;
	position: absolute;
	bottom: -100px;
	left: -100px;
	z-index: -1;
	filter: brightness(1.1);
}

#zalety .swiper-wrapper, #zespol .swiper-wrapper {align-items: stretch;}
#zalety .swiper-slide, #zespol .swiper-slide {height: auto;}

#zalety .box, #zespol .box {
	border-radius: 1rem;
	height: 100%;
}

#zespol .swiper-slide {padding-top: 180px;}

#zespol .box {background-color: var(--secondary); position: relative;}

#zespol .swiper-slide {
	padding-top: 180px;
}

#zespol .swiper-slide:nth-of-type(odd) .box {
	background-color: var(--primary);
}

#zalety .box h5, #zespol .box h5, #zespol .box h6 {
	color: white;
	margin-top: 0;
}

#zespol .box h5 {margin-bottom: .5em; margin-top: 30px;}

#zespol .box a {
	color: white;
	margin-top: 2rem;
}

#zespol .box .rounded {
	border-radius: 1rem;
	position: absolute;
	top: -150px;
	left: 40px;
}

#zalety h2 {
	flex-shrink: 1;
	max-width: 70%;
}

.swiper-controls {
	display: flex;
	flex-shrink: 0;
}

.swiper-controls .swiper-button-prev,
.swiper-controls .swiper-button-next {
	position: relative;
	left: auto;
	right: auto;
	top: auto;
	bottom: auto;
	margin-top: 0;

	width: 72px;
	height: 72px;
	border-radius: 100vmax;
	border: 2px solid var(--secondary);
	color: var(--secondary);
}

.swiper-controls .swiper-button-next {margin-left: 15px;}

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

#zalety .container, #zespol .container {
	padding-bottom: 60px;
}

#zalety .swiper-pagination, #zespol .swiper-pagination {
	bottom: 0 !important;
	top: auto !important;
	border-radius: .5rem;
	overflow: hidden;
}

#zalety .swiper-pagination-progressbar, #zespol .swiper-pagination-progressbar {
	height: 10px;
	background-color: var(--secondary);
}

#zalety .swiper-pagination-progressbar .swiper-pagination-progressbar-fill, #zespol .swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
	background-color: hsl(145, 58%, 68%);
}

#zalety {
	padding-bottom: 320px;
}


#rozwoj {
	position: relative;
	isolation: isolate;
	color: white;
}

#rozwoj::before {
	content: '';
	display: block;
	width: 700px;
	height: 730px;
	background: url(/assets/img/hemp.svg) right top no-repeat;
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: -1;
	opacity: .1;
}

#rozwoj h2 {
	color: white;
}

#rozwoj h2 em {
	color: var(--primary);
}

.simpleParallax {
	border-radius: 0 150px !important;
	height: 400px;
	transform: translateY(-200px);
	margin-bottom: -50px;
}
#rozwoj .parallax {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: relative;
	-webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

#rozwoj .box {
	background: #7EDDA6;
	border-radius: .5rem;
}

#rozwoj .box h5 {
	padding: 30px;
	margin: 0;
	line-height: 1.1;
	display: block;
}

#rozwoj .box-content {
	background-color: var(--primary);
	border-radius: .5rem;
	padding: 30px;
}

#rozwoj .box .box-content ul {
	margin: 0;
	padding: 0;
}

#rozwoj .box .box-content li {
	list-style: none;
	margin: .4em 0 0;
	line-height: 1.3;
	padding: 0 0 0 1.65em;
	position: relative;
}

#rozwoj .box .box-content li::before {
	content: '';
	display: block;
	width: 16px;
	height: 12.8px;
	background: url(/assets/img/check.svg) center no-repeat;

	position: absolute;
	top: .4em;
	left: 0;
}

#zespol p {
	line-height: 1.4;
}




/*
			F O O T E R
*/

.madeby {
	color: white;
	text-decoration: none;
	line-height: 1;
	display: inline-block;
}

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


footer {
	background-color: var(--secondary);
	color: white;
	position: relative;
	isolation: isolate;
}

footer::before {
	content: '';
	display: block;
	width: 700px;
	height: 730px;
	max-width: 40vw;
	background: url(/assets/img/hemp.svg) 0 0 no-repeat;
	position: absolute;
	bottom: 0;
	right: 0;
	z-index: -1;
	opacity: 1;
}

footer h2 {
	color: white;
}

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

footer a:hover {
	opacity: .8;
}

.eu-baner {
	position: relative;
	z-index: 20;
}

.eu-baner::before {
	content: '';
	display: block;
	background-color: #fff;
	position: absolute;
	top: 0;
	right: -50px;
	bottom: 0;
	left: -100vmax;
	z-index: -1;
	border-radius: 0 50px 0 0;
}




/*
			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: 30px !important
	}

	#budujemy {
		background-position: right -100px center;
	}

	#budujemy p {padding-left: 0;}
}

@media screen and (max-width: 1336px) {
	.box-content {padding: 100px;}
}


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

	body {
		overflow-x: hidden;
	}

	.navbar-logo-image {height: 25px !important;}

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

	#budujemy {
		background-position: right -300px center;
	}

	.box-content {padding: 50px;}

	.box.bg-primary {
		border-radius: 0 50px;
	}

	.box.bg-secondary {
		border-radius: 50px 0;
	}

	.eu-baner img {
		max-width: 50vw;
	}
}


@media screen and (max-width: 1022px) {
	.slogan {
		width: 100%;
		text-align: center;
		margin-bottom: 25vh;
	}

	.slogan p {
		padding-left: 0;
		border-left: 0;
	}

	header .hemp {
		bottom: -50px;
		right: auto;
		z-index: 10;
		max-width: 40vw;
		left: calc(50% - 20vw);
	}

	#budujemy {
		padding-top: 60px;
		padding-bottom: 120vw;
		background-position: right 470px;
		background-size: 135%;
	}

	#budujemy::before {display: none;}

	.box > img {
		width: 100%;
	}

	#zespol .box > img {
		width: auto;
	}

	.box.bg-primary {
		margin-bottom: 30px;
	}

	#zalety h2, #rozwoj h2, #zespol h2 {
		max-width: 100%;
		text-align: center;
		margin-bottom: 30px;
	}

	#rozwoj p {text-align: center;}

	#rozwoj .box {margin-bottom: 30px;}

	footer, main {
		overflow: hidden;
	}

	footer::before {
		width: 30vw;
		height: auto;
		aspect-ratio: 1/1;
		background-size: contain;
		bottom: -30px;
		right: -30px;
	}

	#wspolpraca .md\:w-6-12 img.max-w-full {margin-top: 30px; margin-left: auto; margin-right: auto;}

	[class*="md:w"]:not([class*="sm:w"]) {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.row, .sm\:row {
		margin-left: 0;
		margin-right: 0;
	}

}


@media screen and (max-width: 720px) {
	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)}

	.slogan p {font-size: 1.3rem;}

	header .hemp {bottom: 30px;}

	#budujemy {
		padding-top: 60px;
		padding-bottom: 150vw;
		background-position: right 490px;
		background-size: 133%;
	}

	#zalety::before, #rozwoj::before {
		width: 70vw;
		height: auto;
		aspect-ratio: 1/1;
		background-size: contain;
		bottom: 0;
		left: 0;
	}
}



@media screen and (max-width: 630px) {
	#budujemy {
		padding-top: 60px;
		padding-bottom: 165vw;
		background-position: right 70vh;
		background-size: 133%;
	}

	footer .sm\:w-6-12 {margin-bottom: 30px;}

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

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

	.madeby {
		margin-top: 0;
		margin-bottom: 30px;
	}

	.eu-baner img {
		max-width: 75vw;
	}

	footer::before {
		width: 70vw;
		max-width: 100%;
	}
}



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

	#budujemy {
		padding-bottom: 187vw;
		background-position: right 66vh;
		background-size: 135%;
	}
}

@media screen and (max-width: 420px) {
	.navbar-logo-image {height: 23px !important;}

	.slogan p {
		font-size: 1.35rem;
	}

	#budujemy {
		padding-bottom: 238vw;
		background-position: right 78vh;
		background-size: 135%;
	}
}