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

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

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

.btn {
	padding: 1.4em 3.5em;
	line-height: 1.1;
	font-weight: 600;
	font-size: .75rem;
}

.btn:hover {
	background-color: var(--primaryLight) !important;
}

[x-cloak] {display: none !important;}




/*
			N A V B A R
*/

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

.affix {
	top: -121px;
}

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

.navbar-logo-image {
	display: block;
	height: 72px;
}

.navbar a {
	color: black;
	text-decoration: none;
}

.navbar-bottom .container {
	padding: 12px 0;
	border-top: 1px solid var(--borderColor);
	transition: padding 200ms;
	-webkit-transition: padding 200ms;
	-moz-transition: padding 200ms;
	-ms-transition: padding 200ms;
	-o-transition: padding 200ms;
}

.affix .navbar-bottom .container {padding: 5px 0;}





/*
			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: black;
	font-weight: 600;
	font-size: 1rem;
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	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: -100%;
	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 video {
	width: 1700px;
	max-width: 96%;
	height: calc(100vh - 201px);
	object-fit: cover;

}


.scroll {
	width: 110px;
	height: 64px;
	background-image: url(/assets/img/scroll-bg.svg);
	background-repeat: no-repeat;
	background-position: center top;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: translateY(1px);
	-webkit-transform: translateY(1px);
	-moz-transform: translateY(1px);
	-ms-transform: translateY(1px);
	-o-transform: translateY(1px);
}

.scroll img {
	transition: transform 200ms;
	-webkit-transition: transform 200ms;
	-moz-transition: transform 200ms;
	-ms-transition: transform 200ms;
	-o-transition: transform 200ms;
}

.scroll:hover img {
	transform: translateY(3px);
	-webkit-transform: translateY(3px);
	-moz-transform: translateY(3px);
	-ms-transform: translateY(3px);
	-o-transform: translateY(3px);
}



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

.decorated-image::after {
	--offset: 30px;

	content: '';
	display: block;
	position: absolute;
	border: 1px solid hsl(33, 44%, 81%);
	inset: var(--offset) var(--offset) calc(-1 * var(--offset)) calc(-1 * var(--offset));
}

#info .md\:w-6-12:first-child {
	padding-right: 60px;
}

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

.lead {margin-top: 0;}

#boksy .card {
	box-shadow: 0 0 30px hsl(0 0% 0% / .1);
}

p > .btn:only-child {margin-top: 0.5em;}


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








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

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

footer a:hover {
	opacity: .8;
}

.sekretariat {
	font-weight: 600;
	line-height: 1.2;
	font-family: var(--fontTitle);
}

.sekretariat small {
	font-size: var(--h5);
}

.sekretariat strong {
	font-size: var(--h2);
}

.sekretariat img {
	filter: invert(1) grayscale(1);
	-webkit-filter: invert(1) grayscale(1);
}

.footer-bottom .container {
	border-top: 1px solid hsl(0 0% 100% / .1);
}

footer ul {
	padding: 0;
}

footer li {
	padding: 0.25em 0;
}

.amount {
	font-size: .75rem;
	border-radius: 50%;
	width: 22px;
	aspect-ratio: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: hsl(0 0% 15%);
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
}

.amount.plenty {
	color: limegreen;
}

.amount.little {
	color:  gold;
}

.amount.none {color: red;}



/*
			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 (max-width: 1199px) {

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

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

	.mprojekt-logo img {
		height: 30px;
		width: auto;
	}

	:root {
		--sectionPadding: 60px !important;
	}

	#info .md\:w-6-12:first-child {padding-right: 0;}

	.dane.gap-60 {gap: 10px;}

	.decorated-image {margin-top: 30px;}

	.decorated-image::after {display: none;}

	.md\:w-4-12 + .md\:w-4-12 {margin-top: 30px;}

	.footer-bottom .flex:not(.socials) {
		flex-direction: column;
	}

	.sekretariat strong {font-size: var(--h4);}

	.copy {text-align: center; font-size: .75rem;}
}