@charset "UTF-8";

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

	--primary-color: #2E4587;
	--primary-color-light: hsl(from var(--primary-color) h s calc(l + 10));
	--primary-color-dark: hsl(from var(--primary-color) h s calc(l - 10));

	--xxl: 7.5rem;
	--xl: 5rem;

	--bs-primary: var(--primary-color);
	--bs-primary-rgb: 46, 69, 135;

	--bs-light: hsl(220 16% 96%);
	--bs-light-rgb: 243, 244, 246;

	--bs-dark: #0E0D17;
	--bs-dark-rgb: 14, 13, 23;
	--bs-border-color: #E9EDF4;
	--bs-body-color: #0E0D17;

	--h1: clamp(2.625rem, 4.5vw, 4.375rem);
	--h2: clamp(2rem, 3.5vw, 3.5rem);
	--h3: clamp(1.5rem, 2.7vw, 2.625rem);
	--h4: clamp(1.125rem, 2vw, 2rem);
	--h5: clamp(1.15rem, 1.5vw, 1.5rem);
	--h6: clamp(1.1rem, 1.3vw, 1.125rem);
	--lead: clamp(1.15rem, 1.3vw, 1.25rem);

	--affix-height: 80px;
}

@view-transition {
	navigation: auto;
}

[x-cloak] {
	display: none !important;
}

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

html {
	scrollbar-gutter: stable;
	scroll-behavior: smooth;
	scroll-padding-top: var(--affix-height);
}

body {
	font-family: var(--font);
	line-height: 1.7;
	padding-top: 123px;
}

.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: bold;
	line-height: 1.1;
	color: var(--primary-color);
}

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(--bs-body-color);
}

h1,
.h1 {
	font-size: var(--h1) !important;
	text-wrap: balance;
}

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

.lead,
p {
	text-wrap: pretty;
}

.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;
	background-color: #fff;
}

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

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

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

.navbar-nav .nav-link {
	color: var(--bs-body-color);

	&:hover,
	&:focus,
	&.active,
	&.show {
		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,
.header__swiper {
	height: calc(100vh - 133px);
}

header .swiper,
.overflow-hidden.position-relative:has(img:only-child) {

	&::after {
		content: '';
		display: block;
		width: 100%;
		aspect-ratio: 1600/142;
		background-image: url(../img/after.svg);
		background-repeat: no-repeat;
		background-size: 100%;

		position: absolute;
		bottom: 0;
		left: 0;
		z-index: 2000;
	}
}

.swiper__image {
	display: block;
	/* height: calc(100vh - 133px); */
	height: 100%;
	object-fit: cover;
}

/*  MARK: main content */

main {
	overflow: hidden;
}

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

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

iframe[src*="google"] {
	width: 100%;
	aspect-ratio: 16/10;
}

section ul {
	padding-left: 1em;
}

section ul li::marker {
	font-size: 50%;
}

.checklist {
	padding-left: 0;

	li {
		display: block;
		padding-left: 1.5rem;
		list-style: none;
		position: relative;
		line-height: 1.3;

		&::before {
			content: '';
			display: block;
			width: 1rem;
			height: 1rem;
			background-image: url(../img/check.svg);
			background-size: contain;
			background-repeat: no-repeat;
			position: absolute;
			top: .15em;
			left: 0;
		}

		&+li {
			margin-top: 0.75rem;
		}
	}
}

.decorated {
	position: relative;
	display: block;

	&::before {
		content: "";
		position: absolute;
		z-index: -1;
		top: -2.2em;
		left: -1em;
		width: 2em;
		height: 3.5em;
		transform: skewY(-15deg);
		display: block;
		opacity: .5;
		background-image: linear-gradient(to top, hsl(224 49% 35% / .24), hsl(224 49% 35% / .4) 40%);
	}
}

.parallax {
	max-height: 70vh;
	width: 100%;
	object-fit: cover;
}

/*  MARK: stopka */

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

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


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

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



/*  MARK: sub content  */

.sub .swiper__image {
	height: 600px;
}

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

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

.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 a {
	text-decoration: none;
	color: black;
	border: 1px solid hsl(0 0% 90%);
	border-radius: .25rem;
	transition: color 200ms, border-color 200ms;
}

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

.form-control,
.form-select,
.form-check-input {
	border-radius: .25rem;
	padding: .75rem;
}

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

textarea {
	height: 13.5rem;
}

label a {
	color: var(--primary-color);
}

.form-check label {
	margin: .15em 0 0 1em;
}

.btn:has(img) {
	img {
		transition: transform 300ms;
	}

	&:hover,
	&:focus {
		img {
			transform: translateX(3px);
		}
	}
}

.error-msg {
	color: red;
}

/*  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 (width < 1280px) {
	.navbar-brand-image {
		height: 50px;
	}
}

@media (width < 1200px) {
	.navbar {
		--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%2846, 69, 135, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
		--bs-navbar-toggler-border-color: rgba(46, 69, 135, 0.15);
		--bs-navbar-toggler-border-radius: var(--bs-border-radius);
	}
}


@media (width < 992px) {
	:root {
		--xxl: 3.5rem;
		--xl: 1.5rem;
	}

	footer {
		text-align: center;

		a:has(img) {
			margin-bottom: 2rem;
			display: flex;
			justify-content: center;
		}
	}

	.form-check label {
    width: 90%;
	}
}


@media (width < 499px) {
	.navbar-brand-image {
    height: 38px;
	}

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