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

h1, h2, h3, h4, h5, h6 {font-weight: var(--titleWeight); margin: 30px 0 20px;}
b, strong {font-weight: var(--titleWeight)}

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






/*
			N A V B A R
*/

.navbar {
	background-color: var(--primary);
	position: sticky;
	top: 0;
	width: 100%;
	z-index: 999;
}

.navbar-logo {
	margin: 22.7px 0;
	transition: all .3s;
	text-decoration: none;
	display: flex;
	align-items: center;
}

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

.navbar-logo--image {
	display: block;
	height: 94.5px;
	transition: all .3s;
	flex-shrink: 0;
	margin-right: 20px;
}

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

.navbar-logo--text {
	color: white;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.navbar-logo--text strong {
	line-height: 1.1;
	display: block;
	transition: all .3s;
}

.affix .navbar-logo--text strong {
	font-size: 0.625rem;
}

.navbar-logo--text small {
	font-size: 0.75rem;
	font-weight: 200;
	display: block;
	margin-top: 3px;
	line-height: 1.3;
	transition: all .3s;
}

.affix .navbar-logo--text small {
	display: none;
}



/*
			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: 0.875rem;
	text-transform: uppercase;
	font-weight: 700;
	display: inline-flex;
	text-decoration: none;
	padding: 10px 0;
	transition: all .2s;
	outline: none;
}

.nav-dropdown > a::after {
	filter: invert(1);
}


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

.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 {
	opacity: .7;
}

.navbar-nav ul {
	position: absolute;
	z-index: 999;
	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;
	transition: all .3s 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;
}





.has-dropdown dialog {
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 20;
	width: 100%;
	background-color: var(--primary);
	padding: 30px;
	border: 0;
	outline: none;
	transition: all .3s ease;
}

.has-dropdown dialog input {
	background: none;
	border: 0;
	border-bottom: 2px solid white;
	color: white;
	padding: .5em;
	font-size: 2rem;
	text-align: center;
	font-weight: 200;
}

.has-dropdown dialog input::placeholder {
	color: white;
	opacity: 1;
	transition: all .2s;
}

.has-dropdown dialog input:hover::placeholder {opacity: .7;}
.has-dropdown dialog input:focus::placeholder {opacity: .2;}


.langs a:not(:first-child) {
	margin-left: 15px;
}

.langs a,
.langs img {
	display: block;
}





/*
			H E A D E R
*/

header {
	background-color: var(--bgLight);
	padding: 30px 0;
}

header .swiper-container {
	margin-bottom: 30px;
}

.header-box {
	background-color: var(--primary);
	color: white;
	width: 100%;
	height: 100%;
	padding: 40px 30px;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-position: right 5px center;
	background-size: auto 110%;
	background-repeat: no-repeat;
	transition: all .3s var(--easeOutBack);
}

.header-box:hover {
	filter: brightness(1.1);
	box-shadow: 0 10px 20px hsl(197, 93%, 47%, .5);
}

.header-box strong {
	display: block;
	max-width: 70%;
	line-height: 1.3;
	transition: all .3s var(--easeOutBack);
}

.header-box .more {
	background-color: var(--primaryDark);
	width: 54px;
	height: 54px;
	margin-right: -30px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all .3s var(--easeOutBack);
}

.header-box:hover strong {
	transform: translateX(5px);
}

.header-box:hover .more {
	transform: translateX(15px);
	box-shadow: -15px 0 20px -5px hsl(0, 0%, 0%, .3);
}

.header-box--1 {background-image: url(/assets/img/bbg1.svg)}
.header-box--2 {background-image: url(/assets/img/bbg2.svg)}
.header-box--3 {background-image: url(/assets/img/bbg3.svg)}
.header-box--4 {background-image: url(/assets/img/bbg4.svg)}

header .md\:w-3-12:nth-child(2) {animation-delay: .15s !important;}
header .md\:w-3-12:nth-child(3) {animation-delay: .3s !important;}
header .md\:w-3-12:nth-child(4) {animation-delay: .45s !important;}



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


.btn {
	padding: 1.8em 2.5em;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 0.75rem;
	transition: all .3s;
}

.btn:hover {
	transform: translateY(-2px);
	filter: brightness(1.1);
	box-shadow: 0 5px 20px hsl(197, 93%, 47%, .5);
}

.btn:focus {
	transform: translateY(0);
	filter: brightness(.98);
	box-shadow: 0 3px 8px hsl(199, 100%, 25%, .5);
}

.btn.w-full {
	justify-content: center;
	text-align: center;
}


.home section h2 {
	margin-top: 0;
}

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

#news .btn.w-full {
	margin-top: 30px;
}

.card-category {
	text-transform: uppercase;
	color: var(--primary);
}

.card-title {
	margin: 10px 0 15px;
}

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

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

.card-date {
	opacity: .5;
}

.card-body p:last-child {margin-bottom: 0;}


.slider .swiper-slide {
	height: 140px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.slider .swiper-slide img {
	display: block;
	max-width: 100%;
	max-height: 100%;
}





/*
			F O O T E R
*/

.madeby {
	color: var(--textColor);
	text-decoration: none;
	line-height: 1;
	display: inline-block;
}

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


footer {
	background-color: var(--bgLight);
	padding: var(--sectionPadding) 0 40px;
	margin-top: var(--sectionPadding);
}

footer h6 {
	margin-top: 0;
	margin-bottom: 20px;
}

footer hr {
	opacity: .1;
	background-color: black;
	margin: var(--sectionPadding) 0 40px;
}

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

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

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

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

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

.copy {opacity: .5;}

.has-dropdown dialog input {width: 100%;}


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


#partnerzy {
	overflow: hidden;
}


/*
			M E D I A   Q U E R I E S
*/

@media screen and (max-width: 1199px) {
	.navbar-nav > li:not(:first-child) {
		padding-left: 25px;
	}

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

	.navbar-logo--text {display: none;}

	.header-box {padding: 20px;}

	.header-box strong {
		font-size: 0.875rem;
	}

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

	footer {
		font-size: 0.875rem;
	}

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

	.copy {
		text-align: center;
		margin-bottom: 10px;
	}
}


@media screen and (max-width: 1000px) {
	.navbar-logo--image {height: 65px;}
	.navbar-logo {margin: 10px 0;}

	.header-box {
		margin-top: 15px;
		margin-bottom: 15px;
		height: auto;
	}

	footer {
		text-align: center;
	}

	.social-media {
		justify-content: center;
	}

	footer p .flex-nowrap {
		justify-content: center;
	}

	footer .w-full {
		margin-bottom: 30px;
	}
}


@media screen and (max-width: 620px) {
	h5.card-title {margin-bottom: 10px;}

	#news .card {
		margin-bottom: 25px;
		margin-top: 25px;
	}
}

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


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