@charset "UTF-8";

:root,
[data-bs-theme=light] {
	--font: 'Jost', system-ui, sans-serif;

	--primary-color: hsl(180 100% 34%);
	--primary-color-light: hsl(180 100% 44%);
	--primary-color-dark: hsl(180 100% 24%);

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

	--bs-primary: hsl(180 100% 34%);
	--bs-primary-rgb: 0, 173, 173;

	--bs-link-color: hsl(180 100% 34%);
	--bs-link-color-rgb: 0, 173, 173;
	--bs-link-decoration: underline;
	--bs-link-hover-color: hsl(180 100% 44%);
	--bs-link-hover-color-rgb: 0, 224, 224;

	--bs-light: hsl(340 9% 94%);
	--bs-light-rgb: 241, 238, 239;

	--bs-dark: black;
	--bs-dark-rgb: 0,0,0;

	--bs-body-color: black;

	--h1: 	clamp(2.5rem, 4.5vw, 4.29375rem);
	--h2: 	clamp(2.2rem, 3.5vw, 3.43125rem);
	--h3: 	clamp(1.75625rem, 2.75vw, 2.75rem);
	--h4: 	clamp(1.40625rem, 2.2vw, 2.2rem);
	--h5: 	clamp(1.25rem, 1.7vw, 1.75625rem);
	--h6: 	clamp(1.125rem, 1.4vw, 1.40625rem);
	--lead: var(--h6);
}

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

	padding-top: 124px;
}

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

.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: bold;

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

h1, .h1 {font-size: var(--h1);}
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  */

.social-media a,
.langs a {
	transition: transform 200ms;

	&:hover {
		transform: scale(1.05);
	}

	&:active {
		transform: scale(.98);
	}
}

.navbar {
    --bs-navbar-padding-x: 0;
    --bs-navbar-padding-y: 1.875rem;
    --bs-navbar-active-color: white;
    --bs-navbar-nav-link-padding-x: 1rem;
		--bs-navbar-brand-padding-y: 0;
		--bs-navbar-brand-margin-end: 0;

	transition: padding 200ms, box-shadow 200ms;

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

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

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

.navbar-nav .nav-link {
	font-size: 1.125rem;

	&:hover,
	&:focus,
	&.show,
	&.active {
		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%);
}

.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 p:empty {display: none;}

/* .slogan {
	--gap: 0.3125rem;
}

.header__h1 {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--gap);
}

.header__h2 {
	display: inline-block;
	margin-top: var(--gap);
}

.header__span, .header__h2 {
	color: white;
	padding-inline: .25em;
	background-color: rgba(var(--bs-primary-rgb), .72);
}

.swiper__image {
	height: 100vh;
	object-position: right;
} */




/*  main content */

.btn {
    --bs-btn-padding-x: 1.875rem;
    --bs-btn-padding-y: 1.25rem;
    --bs-btn-font-size: 1rem;
    --bs-btn-font-weight: 700;
    --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);
}

#co-robimy {
	margin-top: calc(var(--xxl) - var(--bs-gutter-y));
}

.partnerzy__swiper .swiper-wrapper {
	transition-timing-function: linear !important
}

.partnerzy__swiper .swiper-slide a {
	width: 100%;
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;

	img {
		width: 100%;
		height: 100%;
	}
}

blockquote {
	font-size: var(--h6);
	padding: .5em 0 .5em 1.25em;
	border-left: 3px solid var(--primary-color);

	em {display: block;}

	cite {
		font-size: clamp(1rem, 1.1vw, 1.125rem);
	}
}


/*  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 header img {
	height: 320px;
	width: 100%;
	object-fit: cover;
	object-position: right 0 top -60px;
}

.sub header h1 {margin: 0;}

main:has(#sub-pages:last-of-type) {padding-bottom: 0;}

.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: .25rem;

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

.error-msg {color: red;}



/*  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-image {height: 45px;}
	.navbar-nav .nav-link {font-size: 1rem;}

	.home header img {
		min-height: 400px;
		object-fit: cover;
		object-position: right;
	}

	main {overflow: hidden;}
}


@media (max-width: 991px) {
	.home section {text-align: center;}
	#co-robimy .col-md-6 {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.col-lg-4 + .col-lg-4 {margin-top: 2rem;}

	#partnerzy h6 {margin-bottom: 1.5rem !important;}

	.partnerzy__swiper .swiper-slide a {height: 60px;}

	footer {
		text-align: center;
	}

	.madeby {margin-top: 1rem;}

	blockquote {
		border: 0;
		padding: 0;
	}
}


@media (max-width: 767px) {
	header img {
		filter: brightness(.6);
	}

	.sub header img {
		min-height: 270px;
		height: auto;
		object-fit: cover;
		object-position: right;
	}

	.sub .slogan {
		width: 100%;
	}
}


@media (max-width: 545px) {
	:root {
		--xxl: 3rem;
		--xl: 2rem;
	}
	body {padding-top: 115px;}
	.home header img {
		object-position: right 16% top 0;
	}
}