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

.info-widget {
	position: fixed;
	top: 100px;
	left: 0;
	z-index: 50;
	height: 208.7px;
	width: 273.6px;
	background: url(/assets/img/infobox.svg) 0 0 no-repeat;
	box-sizing: border-box;
	color: white;
	font-size: 1rem;
	line-height: 1.3;
	display: flex;
	align-items: center;
}

.info-widget--content {
	box-sizing: border-box;
	padding: 0 15px;
}

.info-widget a {
	color: white;
	transition: color .2s;
}

.info-widget a:hover {
	color: var(--primary);
}

.info-widget--content p:last-of-type {margin-bottom: 0;}

/* navbar */

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

.affix {
	top: 0;
}

.navbar > .container > .flex {
	background-color: #fff;
	border-radius: 8px;
	transition: all .2s ease;
}


.affix > .container > .flex {
	border-radius: 0 0 8px 8px;
}

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

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

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

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

.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: 40px;
}

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

.affix .navbar-nav > li > a {
	padding: 15px 0;
}
/*
.nav-dropdown > a::after {
	filter: invert(1);
} */

.navbar-nav > li:last-child > a {
	background-color: var(--primary);
	color: white;
	border-radius: 0 8px 8px 0;
	padding-left: 30px;
	padding-right: 30px;
}

.affix .navbar-nav > li:last-child > a {
	border-radius: 0 0 8px 0;
}

.navbar-nav > li:last-child > a:hover {
	background-color: var(--primaryLight);
	color: white;
}
.navbar-nav > li:last-child > a:focus {
	background-color: var(--primaryDark);
	color: white;
}


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

.navbar-nav li:hover > a::before,
.navbar-nav a:hover::before,
.navbar-nav .nav-active::before {
	width: 100%;
}

.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: 300px;
	background-color: white;
	box-shadow: 0 10px 30px hsla(0, 0%, 0%, .2);
}

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

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


@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);
	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%, .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 {
	background-color: var(--primary);
}

a {text-decoration: none;}


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

b, strong {
	font-weight: 700;
}


header {
	position: relative;
	overflow: hidden;
}

.header-top {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 20;
	position: absolute;
	color: white;
	background: linear-gradient(90deg, var(--secondary) 20%, transparent 60%);
}

.header-top p {
	font-size: 2rem;
	line-height: 1.1;
}

.header-top::after {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 1px;
	left: 0;
	background: url(/assets/img/maska.svg) bottom no-repeat;
	background-size: 100% auto;

}

.slogan h1 {
	margin-bottom: 30px;
	line-height: 1.1;
}

.slogan small {
	font-size: 1.125rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	display: block;
	margin-bottom: 30px;
}

.home header .swiper-slide img {
	display: block;
	width: 100%;
	height: 100vh;
	object-fit: cover;
	object-position: center;
}


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

.box {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.box-image {
	position: relative;
	margin-bottom: 15px;
	transition: all .2s ease;
}

.box:hover .box-image {
	transform: translateY(-2px);
	box-shadow: 0 10px 15px -5px hsla(0, 0%, 0%, .3);
}

.box-image img {
	position: relative;
	z-index: 1;
	display: block;
}

.box-image::after {
	content: '';
	display: block;
	position: absolute;
	top: 5px;
	right: 5px;
	bottom: 5px;
	left: 5px;
	z-index: 20;
	border: 2px solid hsla(0, 0%, 100%, .2);
}

.box strong {
	color: var(--titleColor);
	font-size: 1.5625rem;
	transition: color .2s;
}

.box:hover strong {
	color: var(--primary);
}


#posadzki {
	padding: var(--sectionPadding) 0;
	background: url(/assets/img/greybg.jpg) center no-repeat;
	background-attachment: fixed;
	background-size: cover;
}

#posadzki h2 {
	margin-top: 0;
	margin-bottom: 30px;
}

#posadzki .md\:w-5-12 {
	padding-right: 60px;
}

.posadzki-images {
	width: 100%;
	height: 637.7px;
}

.posadzki-images img:last-child {
	position: absolute;
	bottom: 0;
	right: 0;
}

.btn {
	padding: 1.2rem 1.5rem;
	border-radius: 4px;
	font-size: 0.8125rem;
	font-weight: bold;
}

.btn:hover {
	filter: none;
	background: var(--primaryLight);
}

.btn:focus {
	filter: none;
	background: var(--primaryDark);
}




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

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


footer {
	background-color: var(--secondary);
	padding: var(--sectionPadding) 0;
	color: white;
}

footer h2 {
	margin-top: 0;
	margin-bottom: 60px;
}

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

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

footer .md\:w-5-12 small {
	opacity: .5;
}




form {
	width: 100%;
}

fieldset {
	border: 0;
	padding: 0;
	margin: 0;
}

label {
	margin-bottom: 5px;
	font-size: 0.9375rem;
	font-weight: bold;
	text-transform: uppercase;
}

form .col {
	margin-bottom: 15px;
}

label p {
	margin: 0;
}

input,select,textarea {
	box-sizing: border-box;
	padding: .8rem 1rem;
	border: 2px solid var(--borderColor);
	background: none;
}

input[type="checkbox"] {
	position: relative;
	top: -12px;
}

label[for="zgoda"] {
	text-transform: none;
	font-weight: normal;
	font-size: 0.75rem;
	line-height: 1.3;
	color: #A8A7C5;
}

label[for="zgoda"] a {
	color: var(--primary);
}

textarea {
	height: 15.2rem;
}

.ok {
	border-color: #e2e2e2;
}

.error {
	border-color: red;
}

.error-msg {
	color: red;
	font-size: 1rem;
	margin-top: 5px;
}

.star {
	color: red;
}

#alert {
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 0.5rem 1rem;
	color: white;
	font-weight: bold;
}

#alert.success {
	background-color: rgb(0, 133, 22);
}


#alert.danger {
	background-color: rgb(165, 0, 0);
}


footer p.flex {
	font-size: 1.25rem;
	margin-bottom: 30px;
}

















@media screen and (max-width: 1680px) {
	.info-widget {width: 215px;}
	.info-widget--content {
		box-sizing: border-box;
		padding: 0 15px;
		width: 96%;
		height: 85%;
	}

	.info-widget--content p {
		margin-top: 0;
	}
}

@media screen and (max-width: 1536px) {
	.info-widget {display: none;}
}

@media screen and (max-width: 1280px) {
	.slogan small {margin-bottom: 15px;}
	.slogan h1 {font-size: 4rem;}

	.header-top p {
		font-size: 1.1rem;
	}

	.header-top p img {height: 28px;}
}

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

	.navbar-logo {margin-left: 20px;}

	.box-image,
	.box-image img {width: 100%;}
}

@media screen and (max-width: 1023px) {
	.mobile-menu-toggler {margin-right: 20px;}

	.posadzki-images-1 {max-width: 100%;}
	.posadzki-images-2 {display: none;}

	.posadzki-images {
		height: auto;
		display: flex;
		margin-top: 30px;
		justify-content: center;
	}

	footer .md\:w-5-12 {
		margin-top: 60px;
	}
}