@charset "UTF-8";

:root,
[data-bs-theme=light] {
	--font: "Baloo 2", sans-serif;

	--primary-color: hsl(39 85% 74%);
	--primary-color-light: hsl(39 85% 84%);
	--primary-color-dark: hsl(39 85% 64%);

	--xxl: 7.5rem; /* 120px */
	--xl: calc(var(--xxl) / 2);

	--bs-primary: hsl(39 85% 74%);
	--bs-primary-rgb: 245, 206, 132;

	--bs-light: hsl(39, 41%, 92%);
	--bs-light-rgb: 243, 237, 226;

	--bs-dark: hsl(47 12% 15%);
	--bs-dark-rgb: 43, 41, 34;

	--bs-body-color: var(--bs-dark);

	--h1: 	clamp(2.75rem, 2.75rem + ((1vw - 0.2rem) * 1.333), 4.29375rem);
	--h2: 	clamp(2.2rem, 2.2rem + ((1vw - 0.2rem) * 1.333), 3.43125rem);
	--h3: 	clamp(1.75625rem, 1.75625rem + ((1vw - 0.2rem) * 1.333), 2.75rem);
	--h4: 	clamp(1.40625rem, 1.40625rem + ((1vw - 0.2rem) * 1.333), 2.2rem);
	--h5: 	clamp(1.3rem, 1.3rem + ((1vw - 0.2rem) * 1.333), 1.75625rem);
	--h6: 	clamp(1.2rem, 1.2rem + ((1vw - 0.2rem) * 1.333), 1.40625rem);
	--lead: var(--h6);
}

:focus-visible {
	outline: 2px dashed var(--primary-color);
  outline-offset: 2px;
}

body {
	font-family: var(--font);
	font-optical-sizing: auto;
	line-height: 1.6;
	font-size: clamp(1rem, 1rem + ((1vw - 0.2rem) * 1.333), 1.125rem);
}

.font-size-12px {font-size: .75rem;}
.font-size-14px {font-size: .875rem;}
.font-size-16px {font-size: 1rem;}
.font-size-18px {font-size: 1.125rem;}
.font-size-20px {font-size: 1.25rem;}
.font-size-22px {font-size: 1.375rem;}
.font-size-24px {font-size: 1.5rem;}
.font-size-26px {font-size: 1.625rem;}
.font-size-28px {font-size: 1.75rem;}
.font-size-30px {font-size: 1.875rem;}
.font-size-32px {font-size: 2rem;}
.font-size-34px {font-size: 2.125rem;}
.font-size-36px {font-size: 2.25rem;}
.font-size-38px {font-size: 2.375rem;}
.font-size-40px {font-size: 2.5rem;}
.font-size-42px {font-size: 2.625rem;}
.font-size-44px {font-size: 2.75rem;}
.font-size-46px {font-size: 2.875rem;}
.font-size-48px {font-size: 3rem;}
.font-size-50px {font-size: 3.125rem;}

.icon {
	width: var(--icon-size, 72px);
}

.icon-72px, [src*="_72px"] {width: 72px;}
.icon-48px, [src*="_48px"] {width: 48px;}
.icon-32px, [src*="_32px"] {width: 32px;}
.icon-16px, [src*="_16px"] {width: 16px;}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: var(--font);
	margin-bottom: 1rem;
	font-weight: 800;
}

h1 em, h2 em, h3 em, h4 em, h5 em, h6 em,
.h1 em, .h2 em, .h3 em, .h4 em, .h5 em, .h6 em {
	font-style: normal;
	color: var(--primary-color);
}

h1, .h1 {font-size: var(--h1) !important;}
h2, .h2 {font-size: var(--h2) !important;}
h3, .h3 {font-size: var(--h3) !important;}
h4, .h4 {font-size: var(--h4) !important;}
h5, .h5 {font-size: var(--h5) !important;}
h6, .h6 {font-size: var(--h6) !important;}
.lead   {font-size: var(--lead);}

.container-fluid {
	padding-inline: 3vw;
}

@media (min-width: 1536px) {
	.container {max-width: 1470px;}
}

.inset-0 {inset: 0;}

.p-xxl {padding: var(--xxl);}
.p-xl {padding: var(--xl);}
.px-xxl {padding-inline: var(--xxl)}
.px-xl {padding-inline: var(--xl)}

.pt-xxl {padding-top: var(--xxl);}
.pb-xxl {padding-bottom: var(--xxl);}
.py-xxl {
	padding-top: var(--xxl);
	padding-bottom: var(--xxl);
}
.mt-xxl {margin-top: var(--xxl);}
.mb-xxl {margin-bottom: var(--xxl);}
.my-xxl {
	margin-top: var(--xxl);
	margin-bottom: var(--xxl);
}

.pt-xl {padding-top: var(--xl);}
.pb-xl {padding-bottom: var(--xl);}
.py-xl {
	padding-top: var(--xl);
	padding-bottom: var(--xl);
}
.mt-xl {margin-top: var(--xl);}
.mb-xl {margin-bottom: var(--xl);}
.my-xl {
	margin-top: var(--xl);
	margin-bottom: var(--xl);
}

#main ol li ul {
	margin-top: 1rem;
	margin-bottom: 1rem;
}

#main ol li + li {margin-top: 1rem;}

/*  MARK: navbar  */

.navbar {
    --bs-navbar-padding-x: 0;
    --bs-navbar-padding-y: 1.875rem;
    --bs-navbar-active-color: white;
    --bs-navbar-nav-link-padding-x: 1rem;
	transition: padding 200ms, box-shadow 200ms, transform 200ms, opacity 200ms;
}

.navbar.affix {
	--bs-navbar-padding-y: .5rem;
	background-color: hsl(0 0% 0% / .85);
	box-shadow: 0 0 2rem hsl(0 0% 0% / .15);
}

.hidden-top {
	tranform: translateY(-100%);
	opacity: 0;
	pointer-events: none;
	touch-action: none;
}

.navbar-brand {
	margin: 0;
	padding: 0;
	font-size: 1.758125rem;
	color: white;
	line-height: 1.2;

	& strong,
	& em {
		display: block;
	}

	& strong {
		font-weight: 800;
	}

	& em {
		font-style: normal;
		font-weight: 400;	}
}

.navbar-nav .nav-link {
	font-weight: bold;
	color: white;

	&:hover,
	&:focus,
	&.active,
	&.show,
	&.open {
		color: var(--primary-color);
	}
}

.dropdown-menu {
	border: 0;
	padding: .75rem 1rem;
	border-radius: 0;
	box-shadow: 0 1rem 2.5rem -.5rem hsl(0 0% 0% / .25);
	background-color: hsl(0 0% 100% / .8);
}

.dropdown-item {
	padding: 0.25rem 0;
	transition: color 200ms, border-color 200ms;
	border-bottom: 1px solid transparent;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
	color: var(--primary-color);
	background-color: transparent;
	border-bottom-color: var(--primary-color);
}

/*  MARK: header  */

header {

	&::after {
		content: '';
		display: block;
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 200px;
		z-index: 100;
		background-image: url(../img/waves.svg);
		background-repeat: no-repeat;
		background-position: center top;
		background-size: cover;
	}
}

.slogan {
	--gap: 0.3125rem;
	margin-top: -100px;
}

header .position-absolute {
	background-image: linear-gradient(to right, hsl(0 0% 0% / .5), transparent);
}

.header__swiper {
	position: relative;
}

.header__swiper::before {
	content: '';
	display: block;
	position: absolute;
	inset:0;
	z-index: 2;
	background-color: hsl(0 0% 0% / .3);
	pointer-events: none;
	touch-action: none;
}

.home header .swiper-slide .simpleParallax
.home .swiper__image {
	height: 100dvh;
	min-height: 750px;
	object-position: center;
}

/*  MARK: main content */

.btn {
    --bs-btn-padding-x: 1.875rem;
    --bs-btn-padding-y: 1.25rem;
    --bs-btn-font-size: clamp(.875rem, .875rem + ((1vw - 0.2rem) * 1.333), 1.125rem);
    --bs-btn-font-weight: 800;
    --bs-btn-line-height: 1.5;
		--bs-btn-border-radius: .25rem;
}

.btn-primary {
    --bs-btn-bg: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-bg: var(--primary-color-light);
    --bs-btn-hover-border-color: var(--primary-color-light);
    --bs-btn-active-bg: var(--primary-color-dark);
    --bs-btn-active-border-color: var(--primary-color-dark);

		--bs-btn-color: var(--bs-dark);
		--bs-btn-hover-color: var(--bs-dark);
		--bs-btn-active-color: var(--bs-dark);
}

.btn-outline-primary {
    --bs-btn-color: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-bg: var(--primary-color);
    --bs-btn-hover-border-color: var(--primary-color);
    --bs-btn-active-bg: var(--primary-color);
    --bs-btn-active-border-color: var(--primary-color);
}

p:has(.btn:only-child) {
	margin-top: 1.5rem;
}

.mask, .gallery a {
	display: block;
	mask-image: url(../img/img-mask.svg);
	mask-size: 100% auto;
	-webkit-mask-image: url(../img/img-mask.svg);
	-webkit-mask-size: 100% auto;

	& img {
		width: 100%;
		height: auto;
		object-fit: cover;
		aspect-ratio: 695/536;
	}
}

.card {
	border: 0;
	border-radius: 0;
}

.align-items-stretch .card {
	height: 100%;
}

.card[x-data] {
	cursor: pointer;

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

		& .card-img-top img {
			transform: scale(1.1);
			object-fit: cover;
		}
	}
}

.card-img-top {
	overflow: hidden;
}

.card-img-top img {
	transition: transform 600ms cubic-bezier(0.23, 1, 0.320, 1);
}

.card-img-top:hover img,
.card-img-top:focus img {
	transform: scale(1.1);
}

.card-title-link {
	color: var(--bs-body-color);
	text-decoration: none;
	transition: color 200ms;

	&:hover,
	&:focus {
		color: var(--primary-color);
	}
}

.card-body {
	display: flex;
	flex-direction: column;
}

main {
	overflow: hidden;
	background-image: url(../img/footer-waves.svg);
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: 100% auto;
	padding-bottom: calc(118px + var(--xxl));
}


/*  MARK: stopka */

footer a {
	text-decoration: none;
	color: var(--bs-body-color);
	transition: color 200ms;

	&:hover,
	&:focus {
		color: black;
		text-decoration: underline;
	}
}

.list-unstyled li + li {
	margin-top: 0.5em;
}

.madeby {
	display: flex;
	align-items: center;
	margin-top: 2rem;
}

.madeby small {
	font-size: 0.625rem;
	margin: 0.2em 0.2em 0 0;
}

/*  MARK: sub content  */

.sub .swiper__image {
	height: 600px;
}

.sub .slogan {
	margin-top: -60px;
}

.sub .slogan h1 {
	margin-bottom: 0;
}

.gallery a {
	display: block;
	width: 100%;
	overflow: hidden;
}

.gallery a img {
	width: 100%;
	display: block;
	transition: transform 400ms cubic-bezier(0.19, 1, 0.22, 1);
}

.gallery a:hover img {
	transform: scale(1.1);
}

.downloads {
	margin-top: var(--xl);
}

.downloads a {
	text-decoration: none;
	color: black;
	border: 1px solid hsl(0 0% 90%);
	border-radius: .25rem;
	transition: color 200ms, border-color 200ms;

	& .h5 {
		font-size: 1.15rem !important;
		font-weight: normal !important;
	}
}

.downloads a:hover {
	color: var(--primary-color);
	border-color: var(--primary-color);
}

.form-control {
	border-radius: .25rem;
	padding: 1rem;

	&:hover,
	&:focus {
		border-color: var(--primary-color);
	}
}

.form-control.error {
	border-color: red;
}

.error-msg {
	color: red;
}

main iframe {
	width: 100% !important;
}

/*  MARK: paginator  */

.pagination {
	display: flex;
}

.pagination li {
	display: none;
}

.pagination .active,
.pagination .insertPage,
.pagination li:first-child,
.pagination li:last-child {
	display: block;
}

.pagination a,
.pagination input {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	margin: 0 5px;
	padding: 0;
	text-align: center;
	color: #bbb;
	border: 1px solid #e1e1e1;
	text-decoration: none;
	transition: all .2s;
}

.pagination a:focus,
.pagination a:hover,
.pagination input:focus,
.pagination input:hover {
	color: var(--primary-color);
	border: 1px solid var(--primary-color);
}

.pagination input::placeholder {
	color: #bbb;
	font-size: 16px;
	font-weight: 500;
}

.pagination .active a {
	border: 1px solid var(--primary-color);
	background: var(--primary-color);
	color: #fff;
	cursor: text;
}

.pagination .insertPage+.insertPage {
	display: none;
}

/*  MARK: RWD  */

@media (max-width: 1399px) {
	.navbar-brand {
    font-size: 1.5rem;
	}

	.navbar-nav .nav-link {
		padding-right: .5rem !important;
		padding-left: .5rem !important;
		font-size: 1rem;
	}

	.btn {
    --bs-btn-padding-x: 1rem;
    --bs-btn-padding-y: .875rem;
    --bs-btn-font-size: clamp(.75rem, .75rem + ((1vw - 0.2rem) * 1.333), 1rem);
	}
}


@media (max-width: 1199px) {
	.navbar-dark, .navbar[data-bs-theme=dark] {
    --bs-navbar-toggler-border-color: rgba(255, 255, 255);
    --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
}


@media (max-width: 991px) {
	:root {
		--xxl: 3rem;
	}

	.sub .swiper__image {
    height: 400px;
	}

	[data-aos][data-aos-delay] {
		transition-delay: none !important;
	}

	#bezpieczenstwo .mask {
		margin-bottom: 1.5rem;
	}

	footer {
		text-align: center !important;
		overflow: hidden;

		& .d-flex {
			flex-direction: column !important;
			align-items: center !important;
			text-align: center !important;
		}

		& .text-end {
			text-align: center !important;
		}
	}
}


@media (max-width: 575px) {

	.slogan {
		margin-top: 0;
	}

	.slogan h1 {
		font-size: var(--h2) !important;
	}

	.sub .swiper__image {
    height: 360px;
	}

	main iframe {
		height: 350px;
	}
}