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

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

.affix {
	background-color: #fff;
	box-shadow: 0 0 15px hsla(0, 0%, 0%, .1);
}

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

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

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

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

.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:not(:first-child) {
	margin-left: 50px;
}

.navbar-nav>li>a {
	color: var(--textColor);
	font-size: 0.875rem;
	text-transform: uppercase;
	font-weight: 700;
	display: inline-flex;
	text-decoration: none;
	padding: 10px 0;
	transition: all .2s;
}

.gepard {
	position: absolute;
	bottom: 30px;
	right: 30px;
	width: 150px;
	height: auto;
	z-index: 99;
}
/*
.nav-dropdown > a::after {
	filter: invert(1);
} */

/* .navbar-nav a::before {
	content: '';
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--secondary);
	transition: all .2s var(--easeOutBack);
} */

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

.navbar-nav ul {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	margin: 0;
	padding: 15px;
	min-width: 250px;
	background-color: white;
	box-shadow: 0 10px 30px hsla(0, 0%, 0%, .3);
}

.navbar-nav ul a {
	padding: 10px 15px;
	display: flex;
	color: var(--textColor);
	justify-content: space-between;
	text-decoration: none;
}

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

.navbar-nav ul a::before {
	height: 100%;
	z-index: -1;
	filter: brightness(93%);
	transition-timing-function: ease-out;
}

@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, .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 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); */
	background-color: var(--primary);
	/* backdrop-filter: blur(10px); */
	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%, .4);
	transition: all .2s ease;
}

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

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

b, strong {
	font-weight: 700;
}

.btn {
	padding: 1.5rem 2.5rem;
	border-radius: 50px;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: bold;
	transition: all .2s;
}

header {
	background: var(--bgLight) url(/assets/img/header-bg.jpg) bottom no-repeat;
	background-blend-mode: darken;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	height: 100vh;
	width: 100%;
	overflow: hidden;
	position: relative;
}

header .dynks {
	position: absolute;
	z-index: 20;
	bottom: 0;
	display: block;
}

header .btn {
	box-shadow: 0 0 40px hsla(198, 100%, 55%, 0.6);
	position: relative;
	z-index: 20;
	margin-top: 10vh;
}

header h1 {
	position: absolute;
	margin: 0;
	top: 20vh;
	z-index: 222;
}

.house {
	position: absolute;
	z-index: 1;
	bottom: 80px;
}

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

#firma h2 {
	margin-top: 0;
}

.firma-image {
	position: relative;
}

.firma-image .dynks {
	position: absolute;
	z-index: 20;
	bottom: 0;
	left: 7.7%;
}

#boksy .grid {
	gap: 0;
}

#boksy a {
	position: relative;
	width: 100%;
	transition: all .3s;
}

#boksy a img {
	display: block;
	width: 100%;
}

#boksy a:hover {
	opacity: .85;
}

#boksy a .caption {
	bottom: 0;
	left: 0;
	width: 100%;
	box-sizing: border-box;
	padding: 200px 30px 50px;
	background: linear-gradient(transparent, var(--titleColor));
	color: white;
	text-align: center;
	font-weight: bold;
	font-size: 1.5rem;
	line-height: 1.1;
}

#boksy a::after {
	position: absolute;
	bottom: -27.5px;
	left: calc(50% - 27.5px);
	z-index: 20;
	content: '';
	display: block;
	border-radius: 100%;
	width: 55px;
	height: 55px;
	background: var(--primary) url(/assets/img/more.svg) center no-repeat;
	background-size: 8.5px 12px;
}

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

#dlaczego .sm\:row {
	padding-top: var(--sectionPadding);
}

#dlaczego h3 {
	font-size: 1.5rem;
	margin-top: 10px;
}

.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: var(--secondary);
	padding: var(--sectionPadding) 0 40px;
	color: white;
}

footer .md\:w-4-12 {
	font-size: 1.375rem;
}

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

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

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

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

footer a:hover {
	opacity: .8;
}

/* Facebook slider - right */

.fb_slider_right {
	position: fixed;
	top: 180px;
	right: -320px;
	z-index: 10000;
	width: 348px;
	height: 100px;
	overflow: hidden;
	transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out;
	-moz-transition: all 0.3s ease-in-out;
	-webkit-transition: all 0.3s ease-in-out;
}

.fb_slider_right .sliderbody {
	float: left;
	width: 320px;
}

.fb_slider_right:hover {
	right: 0;
	height: 100%;
}

.fb_slider_right .button, .fb_slider_right iframe {
	float: left;
	background: white;
}



@media screen and (max-height: 600px) {
	.house {
		opacity: .3 !important;
	}

	header .dynks {height: 20vh;}
}

@media screen and (max-width: 1400px) {
	header h1 {
		font-size: 3.5rem;
		text-shadow: 0 0 10px white, 0 0 30px white;
	}

	header .dynks {height: 20vh;}
}

@media screen and (max-width: 1280px) {
	.navbar-nav > li:not(:first-child) {
		margin-left: 30px;
	}

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

@media screen and (max-width: 1024px) {
	.navbar-nav > li:not(:first-child) {
		margin-left: 20px;
	}

	header .dynks {height: 15vh;}

	#boksy a .caption {font-size: 1.3rem;}
}

@media screen and (max-width: 1022px) {
	main {
		overflow: hidden;
	}

	.house {
		display: none;
	}

	header {
		background-size: 170% auto;
	}

	#boksy a {
		margin-bottom: 50px;
	}

	#boksy a img {
		height: 55vh;
		min-height: 200px;
		object-fit: cover;
		object-position: center;
	}

	#dlaczego .col .w-full {
		margin-bottom: 30px;
	}

	.sub aside {display: none;}
}


@media screen and (max-width: 435px) {
	header h1 {
		font-size: 2.5rem;
	}

	header {
		background-size: 400% auto;
	}

	:root {
		--sectionPadding: 60px;
	}

	.copy {
		text-align: center;
	}
}