*,
*::after,
*::before {
	box-sizing: border-box;
}

a {
	text-decoration: none;
}

.page__body {
	margin: 0;
	position: relative;

	background-repeat: no-repeat;
	background-size: auto, auto, auto, auto, auto, auto, auto, auto, auto, 100%;
	background-position: left 20% top, left calc(50% - 40px) top -80px,
		right 15% top 15%, left calc(50% - 40px) top 33%, right -70px top 55%,
		left -80px top 30%, right 12% top 18%, right 25% bottom 10%, left bottom 24%,
		center bottom;

	@media (max-width: 1440px) {
		background-size: 100px, 100px, 100px, 100px, 100px, 100px, 100px, 100px,
			100px, 100%;
	}
	@media (max-width: 1024px) {
		background-size: 80px, 80px, 80px, 80px, 80px, 80px, 80px, 80px, 80px, 100%;
		background-position: left 10% top, left calc(50% - 20px) top -40px,
			right 10% top 15%, left calc(50% - 20px) top 33%, right -40px top 55%,
			left -40px top 30%, right 8% top 18%, right 10% bottom 10%,
			left bottom 24%, center bottom;
	}
	@media (max-width: 768px) {
		background-size: 50px, 50px, 50px, 50px, 50px, 50px, 50px, 50px, 50px,
			auto 30%;
		background-position: left 10% top, left calc(50% - 10px) top -25px,
			right 10% top 15%, left calc(50% - 10px) top 33%, right -25px top 55%,
			left -25px top 30%, right 8% top 18%, right 10% bottom 12%,
			left bottom 24%, center bottom;
	}
}

.preloader {
	display: none;

	@media (max-width: 640px) {
		position: fixed;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		background-color: #3e9bf9;
		background-image: url(../images/pre/flag.png),
			url(../images/pre/pre-bgd.jpg);
		background-repeat: no-repeat;
		background-size: 100%, cover;
		background-position: center, center;

		z-index: 1000;

		display: grid;
		align-content: space-between;

		transition: opacity 1s ease-in-out;
	}
}

.preloader__logo {
	display: block;
	margin-inline: auto;
	margin-top: 40px;
}

.preloader__text {
	font-size: 24px;
	font-family: "KyivType Sans";
	color: rgb(34, 13, 105);
	line-height: 1.2;
	text-align: center;
}

.container {
	max-width: 1130px;
	margin-inline: auto;
	padding-inline: 15px;
}

.page__main {
	padding-top: 180px;

	@media (max-width: 1440px) {
		padding-top: 120px;
	}
	@media (max-width: 1024px) {
		padding-top: 80px;
	}
}

.logo {
	display: block;
	margin-inline: auto;

	@media (max-width: 1024px) {
		width: 400px;
		height: auto;
	}
	@media (max-width: 768px) {
		width: 300px;
	}
	@media (max-width: 576px) {
		width: 280px;
	}
}

.introtext {
	max-width: 860px;
	margin-inline: auto;
	margin-top: 120px;
	margin-bottom: 260px;

	font-size: 32px;
	font-family: "Nefelibata";
	color: rgb(34, 13, 105);
	line-height: 1.2;
	text-align: center;

	@media (max-width: 1024px) {
		margin-top: 60px;
		margin-bottom: 160px;
		font-size: 24px;
	}
	@media (max-width: 992px) {
		margin-top: 80px;
		margin-bottom: 100px;
	}
	@media (max-width: 576px) {
		margin-block: 40px 60px;
	}
}

.slider-title {
	font-size: 66px;
	font-family: "KyivType Sans";
	color: rgb(34, 13, 105);
	line-height: 1.2;
	text-align: center;

	@media (max-width: 1024px) {
		font-size: 40px;
	}
	@media (max-width: 576px) {
		font-size: 32px;
	}
}

.slider {
	padding-block: 30px;
	padding-inline: 10px !important;
}

.slide {
	border-radius: 20px;
	background-color: rgb(255, 255, 255);
	box-shadow: 6px 4px 8px 0px rgba(148, 148, 148, 0.5);
	overflow: hidden;
	margin-bottom: 20px;
	padding-bottom: 30px;
	cursor: pointer;

	font-family: "Roboto Condensed";
	color: rgb(0, 0, 0);
	line-height: 1.2;
}

.slide__img {
	width: 100%;
	height: 321px;
	object-fit: contain;
	object-position: top center;
}

.slide__title {
	font-size: 40px;

	text-align: center;
	padding-inline: 20px;
	margin-top: 30px;
	margin-bottom: 24px;

	@media (max-width: 1024px) {
		font-size: 30px;
		margin-block: 24px;
	}
}

.slide__text {
	padding-inline: 20px;
	margin-block: 0;
	text-align: center;
	font-size: 18px;
}

.slide__dialog {
	max-width: 600px;
	width: 100%;
	border-radius: 20px;

	&::backdrop {
		background-color: rgba(0, 0, 0, 0.5);
	}
}

.slide__dialog-close-form {
	position: absolute;
	top: 20px;
	right: 20px;

	& button {
		background-color: transparent;
		border: none;
		cursor: pointer;
	}
}

.page__footer {
	margin-top: 400px;
	padding-block: 40px;
	color: #000000;

	@media (max-width: 1024px) {
		padding-block: 60px 40px;
		margin-top: 240px;
	}
}

.page__footer-container {
	display: flex;
	justify-content: space-between;
	align-items: center;

	/* @media (max-width: 1024px) {
		flex-direction: column;
	} */
}

.company-address {
	font-size: 18px;
	font-family: "Roboto Condensed";
	font-style: normal;
	line-height: 1.2;

	@media (max-width: 992px) {
		display: none;
	}
}

.company-links {
	display: flex;
	align-items: center;
	gap: 30px;

	@media (max-width: 992px) {
		width: 100%;
		justify-content: center;
		/* column-gap: 20px; */
	}
}

.hotline {
	font-size: 20px;
	font-family: "Roboto Condensed";
	font-weight: bold;
	line-height: 1.5;
	color: #000000;

	& a {
		color: #000000;
	}

	@media (max-width: 768px) {
		font-size: 16px;
	}
}

.footer-img {
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: -1;
	width: 100%;
	object-fit: cover;
}
