@charset "UTF-8";

:root,
[data-bs-theme=light] {
	--font: 'Clash Display', system-ui, sans-serif;
	--font2: 'Gambarino', system-ui, serif;

	--primary-color: hsl(217, 69%, 38%);
	--primary-color-light: hsl(217, 69%, 48%);
	--primary-color-dark: hsl(217, 69%, 28%);

	--xxl: 9.375rem;
	--xl: 4.6875rem;

	--bs-primary: hsl(217, 69%, 38%);
	--bs-primary-rgb: 30, 81, 164;

	--bs-light: hsl(240, 4%, 95%);
	--bs-light-rgb: 242, 242, 243;

	--bs-dark: hsl(345, 7%, 11%);
	--bs-dark-rgb: 30, 26, 27;

	--bs-body-color: hsl(345, 7%, 11%);

	--h1: 	clamp(3.15625rem, 6vw, 5.6125rem);
	--h2: 	clamp(2.36875rem, 5vw, 4.20625rem);
	--h3: 	clamp(1.775rem, 4vw, 3.15625rem);
	--h4: 	clamp(1.33125rem, 3vw, 2.36875rem);
	--h5: 	clamp(1.27rem, 2vw, 1.775rem);
	--h6: 	clamp(1.1rem, 1.5vw, 1.33125rem);
	--lead: var(--h6);
}

body {
	font-family: var(--font);
	font-size: clamp(1rem, 2vw, 1.125rem);
}

html {
	scroll-padding-top: 60px;
}

main {overflow: hidden;}

strong {font-weight: 600 !important;}

.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);
	font-weight: normal;
	margin-bottom: 1rem;
	color: var(--primary-color);

	em {
		font-style: normal;
		color: var(--primary-color);
	}
}

h1, .h1 {font-size: var(--h1); line-height: 1.1;}
h2, .h2 {font-size: var(--h2);}
h3, .h3 {font-size: var(--h3);}
h4, .h4 {font-size: var(--h4);}
h5, .h5 {font-size: var(--h5);}
h6, .h6 {font-size: var(--h6);}
.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);
}


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

	a {
		text-decoration: none;
	}

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

		.offcanvas-body {height: 50px;}
	}
}

.navbar-brand {
	margin: 0;
	padding: 0;
	position: absolute;
	top: var(--bs-navbar-padding-y);
	left: 50%;
	transform: translateX(-50%);
}

.navbar-brand-image {
	height: 80px;
	transition: height 200ms;
}

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

.offcanvas-body {
	height: 80px;
	transition: height 200ms;
}

.navbar-nav .nav-link {
	font-weight: 400;
	color: var(--primary-color);

	&:hover,
	&:focus,
	&.show,
	&.active,
	&.open {
		color: var(--bs-body-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;

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


/*  header  */

.header__h1 {
	margin-top: 150px;
}

header .position-absolute {
	background-image: linear-gradient(transparent 50%, var(--primary-color));
}

.swiper__image {
	height: 100vh;
	object-position: top;
}


/*  main content */

.btn {
    --bs-btn-padding-x: 1.875rem;
    --bs-btn-padding-y: 1.25rem;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 400;
    --bs-btn-line-height: 1.5;
		border-radius: 0;
}

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

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


.card {
	border-radius: 0;
	border: 0;
	background-color: transparent;
	cursor: pointer;
}

.card-image {
	overflow: hidden;

	img {
		transition: transform 800ms cubic-bezier(0.075, 0.82, 0.165, 1);
	}

	&:hover {
		img {
			transform: scale(1.1);
		}
	}
}

.text-bg-primary .card {
	color: white;

	.card-title-link {
		color: white;
		text-decoration: none;
		transition: opacity 200ms;

		&:hover {
			opacity: .7;
		}
	}
}

.clients {
	padding-bottom: var(--xxl) !important;

	.swiper-wrapper {
		align-items: stretch !important;

		.swiper-slide {
			height: auto !important;
		}
	}
}

.client-title-row {
	position: relative;
	border-bottom: 2px dashed var(--bs-light);

	&::before,
	&::after {
		display: block;
		content: '';
		position: absolute;
		bottom: 0;
		width: 1.4375rem;
		height: 1.4375rem;
		border-radius: 50%;
		background-color: var(--bs-light);
	}

	&::before {
		left: 0;
		transform: translate(-50%, 50%);
	}

	&::after {
		right: 0;
		transform: translate(50%, 50%);
	}
}


/*  stopka  */

footer a {
	text-decoration: none;
	color: white;
	transition: color 200ms;

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

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

.madeby {
	display: flex;
	align-items: center;

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


/*  sub content  */

.sub .swiper__image {
	height: 450px;
	object-position: center;
}

.sub .navbar {
	background-image: linear-gradient(white, transparent);
}

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

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

	&:hover img {
		transform: scale(1.1);
	}
}

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

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

.form-control {
	border-radius: 0;

	&.error {border-color: red;}
}

.error-msg {color: red;}


footer {
	h2.h5 {
		margin-bottom: 1.5rem;
		color: white;
	}

	.form-control {
		padding: 1rem;
		color: white !important;
		background-color: transparent;

		&::placeholder {
			color: white;
			opacity: 1;
		}

		&:focus {
			background-color: transparent;
			&::placeholder {
				opacity: .2;
			}
		}
	}
}

.footer-logo {
	filter: brightness(0) invert(1);
}

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



/*  media query  */

@media (max-width: 1199px) {
	.navbar-brand {
		position: relative;
		inset: auto;
	}

	.navbar-toggler {
		border-color: var(--primary-color);
	}

	.paralaksa img {
		width: 100%;
		height: 400px;
		object-fit: cover;
	}
}


@media (max-width: 991px) {
	#oferta .card-image img {
		aspect-ratio: 16/9;
	}

	footer {
		text-align: center;

		.form-control {
			text-align: center;
		}

		.form-check label {text-align: left !important;}
	}

	.footer-logo {
		display: inline-block;
		margin-inline: auto;
		margin-bottom: 0.5rem;
	}
}


@media (max-width: 767px) {
	:root {
		--xxl: 3rem;
	}
	.paralaksa img {
		height: 300px;
	}

	.header__h1 {
		text-shadow: 0 0 2rem white, 0 0 1rem white;
	}

	.offcanvas-backdrop {display: none !important;}
}