/* Обложка сайта */
.introduction {
	display: flex;
	flex-direction: column;
	align-items: center;

	background-image: url('/static/images/introduction.webp');
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: cover;

	height: 85vh;

	@media all and (min-width: 0px) and (max-width: 643px) {
		padding-top: 100px;
	}
	@media all and (min-width: 643px) {
		padding-top: 40px;
	}

	@media all and (min-width: 0px) and (max-width: 643px) {
		background-position-x: 70%
	}
	@media all and (min-width: 643px) and (max-width: 1260px) {
		background-position-x: calc(50% - 630px + 50vw);
	}
	@media all and (min-width: 1260px) {
		background-position-x: 50%;
	}


	@media all and (min-width: 0px) and (max-width: 643px) {
		height: auto;
		background-size: auto 70%;
		background-position-y: 0%;
	}
	@media all and (min-width: 643px) {
		height: 85vh;
		background-size: cover;
		background-position-y: 50%;
	}
}

.introduction section {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	width: 1200px;

	@media all and (min-width: 0px) and (max-width: 1200px) {
		width: 100vw;
	}
	@media all and (min-width: 1200px) {
		width: 1200px;
	}
}

.introduction .title {
	font-family: "Playfair Display SC", serif;
	font-size: 40pt;
	margin-top: 200px;
	justify-content: left;
	text-align: left;

	@media all and (min-width: 0px) and (max-width: 400px) {
		font-size: 20pt;
	}
	@media all and (min-width: 400px) and (max-width: 643px) {
		font-size: 30pt;
	}
	@media all and (min-width: 643px) {
		font-size: 40pt;
	}

	@media all and (min-width: 0px) and (max-width: 545px) {
		margin-top: 150px;
	}
	@media all and (min-width: 545px) {
		margin-top: 200px;
	}
}

.introduction .title span {
	width: 50%;
	margin-inline: 10%;

	@media all and (min-width: 0px) and (max-width: 643px) {
		width: 100%;
	}
	@media all and (min-width: 643px) {
		width: 50%;
	}


	@media all and (min-width: 0px) and (max-width: 370px) {
		width: 100%;
	}
	@media all and (min-width: 370px) {
		margin-inline: 10%;
	}
}

.introduction .lil-description {
	margin-top: 30px;
	justify-content: left;
	text-align: left;
}

.introduction .lil-description span {
	width: 50%;
	margin-inline: 10%;
	font-size: 17pt;

	@media all and (min-width: 0px) and (max-width: 400px) {
		width: 100%;
		font-size: 11pt;
	}
	@media all and (min-width: 4000px) and (max-width: 643px) {
		width: 100%;
		font-size: 13pt;
	}
	@media all and (min-width: 643px) {
		width: 50%;
		font-size: 17pt;
	}
}

.introduction .consult-btn {
	margin-top: 20px;
	justify-content: left;
}

/*.introduction .consult-btn .cool-button {
} */

.introduction .fancy-words {
	margin-top: 50px;

	@media all and (min-width: 0px) and (max-width: 575px) {
		margin-top: 20px;
	}
	@media all and (min-width: 575px) {
		margin-top: 50px;
	}
}

.introduction .fancy-words span {
	width: 90%;
	margin-inline: 10%;
	justify-content: left;

	font-family: "Great Vibes", cursive;
	font-size: 30pt;
	text-align: left;

	@media all and (min-width: 0px) and (max-width: 400px) {
		font-size: 15pt;
		width: 100%;
		margin-inline: 0%;
		justify-content: center;
		text-align: center;
	}
	@media all and (min-width: 400px) and (max-width: 643px) {
		font-size: 25pt;
		width: 100%;
		margin-inline: 0%;
		justify-content: center;
		text-align: center;
	}
	@media all and (min-width: 643px) and (max-width:900px) {
		font-size: 30pt;
		width: 100%;
		margin-inline: 10%;
		justify-content: left;
		text-align: left;
	}
	@media all and (min-width: 900px) {
		font-size: 30pt;
		width: 90%;
		margin-inline: 10%;
		justify-content: left;
		text-align: left;
	}
}

.introduction .big-phone {
	display: flex;
	justify-content: right;
	width: 80%;

	@media all and (min-width: 0px) and (max-width: 400px) {
		width: 100%;
	}
	@media all and (min-width: 400px) {
		width: 80%;
	}
}

.introduction .big-phone a {
	color: white;
	display: flex;
	width: fit-content;
	margin-inline: 10%;
	padding: 100px;
	margin: -100px;
	justify-content: right;
	z-index: 10;

	font-size: 25pt;
	text-shadow: 2px 0 #000, -2px 0 #000, 0 2px #000, 0 -2px #000, 2px 2px #000, -2px -2px #000, 2px -2px #000, -2px 2px #000;

	@media all and (min-width: 0px) and (max-width: 400px) {
		padding-block: 50px;
		margin-block: -50px;
		padding-inline: 0px;
		margin-inline: 0%;
		width: 100%;

		justify-content: center;
	}
	@media all and (min-width: 400px) and (max-width: 643px) {
		justify-content: center;
		padding-block: 50px;
		margin-block: -50px;
		padding-inline: 50px;
		margin-inline: 10%;
		width: fit-content;
		justify-content: right;
	}
	@media all and (min-width: 643px) {
		justify-content: right;
		padding-block: 100px;
		margin-block: -100px;
		padding-inline: 100px;
		margin-inline: 10%;
		width: fit-content;
		justify-content: right;
	}
}

.introduction .about {
	margin-top: 20px;
	justify-content: left;
	text-align: left;
	display: flex;
	flex-direction: column;

	@media all and (min-width: 0px) and (max-width: 643px) {
		justify-content: center;
		text-align: center;
	}
	@media all and (min-width: 643px) {
		justify-content: left;
		text-align: left;
	}
}

.introduction .about span {
	width: 70%;
	margin-inline: 10%;
	font-size: 15pt;

	@media all and (min-width: 0px) and (max-width: 400px) {
		margin-inline: 0%;
	}
	@media all and (min-width: 400px) {
		margin-inline: 10%;
	}

	@media all and (min-width: 0px) and (max-width: 643px) {
		width: 100%;
		font-size: 11pt;
	}
	@media all and (min-width: 643px) {
		width: 70%;
		font-size: 15pt;
	}
}



/* Направления услуг */
.specialities {
	display: flex;
	flex-direction: column;
	align-items: center;

	margin-top: 20px;
	width: 100vw;

	/*@media all and (min-width: 0px) and (max-width: 500px) {
		margin-top: 300px;
	}
	@media all and (min-width: 500px) and (max-width: 643px) {
		margin-top: 250px;
	}
	@media all and (min-width: 643px) {
		margin-top: 20px;
	}*/
}

.specialities .title {
	text-align: center;
	font-size: 15pt;
	width: 100%;
}

.specialities .list {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-items: center;
	margin-top: 15px;
	width: 1200px;

	@media all and (min-width: 0px) and (max-width: 1200px) {
		width: 100vw;
	}
	@media all and (min-width: 1200px) {
		width: 1200px;
	}

	@media all and (min-width: 0px) and (max-width: 575px) {
		flex-direction: column;
	}
	@media all and (min-width: 575px) {
		flex-direction: row;
	}
}

.specialities .list a {
	display: flex;
	position: relative;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	border-width: 2px;
	border-style: solid;
	transition: border-color 0.1s, text-decoration 0.1s;
	text-decoration: none;
	text-shadow: 2px 0 #000, -2px 0 #000, 0 2px #000, 0 -2px #000,  2px 2px #000, -2px -2px #000, 2px -2px #000, -2px 2px #000;
	font-size: 1.2em;
	color: white;
	border-color: transparent;
	justify-content: center;
	align-items: center;

	margin: 10px;
	min-height: 100px;
	width: 100%;

	@media all and (min-width: 0px) and (max-width: 575px) {
		width: 90vw;
	}
	@media all and (min-width: 575px) {
		width: 100%;
	}
}

.specialities .list a:hover {
	border-color: rgb(238,192,100);
}



#contact-container {
	background-image: linear-gradient(rgb(20, 20, 20), rgb(50, 57, 64));
}



/* Описание */
#quick-desc-section {
	display: flex;
	justify-content: center;
	width: 100%;
	background-color: rgb(50, 57, 64);
}

#quick-desc-section #quick-desc-content {
	font-size: 1em;
	display: flex;
	justify-content: center;
	align-items: center;
	color: white;
	width: 80%;
	margin-top: 20px;
	margin-bottom: 20px;
	@media all and (min-width: 0px) and (max-width: 700px) {
		flex-direction: column;
	}
	@media all and (min-width: 700px) {
		flex-direction: row;
	}
}

#quick-desc-section #quick-desc-content img {
	height: 450px;
	width: 367px;
	margin-right: 30px;
}



/* Цифры */
#numbers-section {
	@media all and (min-width: 0px) and (max-width: 1100px) {
		display: none;
	}
	@media all and (min-width: 1100px) {
		display: flex;
	}

	justify-content: center;
	width: 100%;
	background-color: rgb(50, 57, 64);
	#numbers-content {
		display: flex;
		justify-content: center;
		color: rgb(225, 225, 225);
		margin-top: 20px;
		margin-bottom: 20px;
		width: 80%;
		
		@media all and (min-width: 0px) and (max-width: 450px) {
			width: 100%;
		}
		@media all and (min-width: 450px) {
			width: 80%;
		}

		@media all and (min-width: 0px) and (max-width: 1100px) {
			flex-direction: column;
		}
		@media all and (min-width: 1100px) {
			flex-direction: row;
		}
		div {
			@media all and (min-width: 0px) and (max-width: 450px) {
				width: 90vw;
				min-height: 150px;
				margin: 0px;
				padding: 20px;
			}
			@media all and (min-width: 450px) and (max-width: 1100px) {
				width: 300px;
				min-height: 150px;
				margin: 20px;
				padding: 30px;
			}
			@media all and (min-width: 1100px) {
				width: 300px;
				min-height: 150px;
				margin: 20px;
				padding: 30px;
			}
			/*background-color: rgb(31, 31, 31);*/
			img {
				width: 100px;
			}
		}
	}
}



/* FaQ */
.faq-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: rgb(50, 57, 64);
	width: 100%;
	margin: 0 auto;
}

.faq-item {
	width: 80%;
	border-bottom: 1px solid #ddd;
}

.faq-item a {
	color: gold;
	text-decoration-color: gold;
}

.faq-question {
	padding: 15px 20px;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border: transparent 2px solid;
	transition: border-color 0.3s;
}

.faq-question:hover {
	border-color: #bebdbd;
}

.faq-answer {
	padding: 0 20px;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out, padding 0.3s ease;
}

.faq-item.active .faq-answer {
	padding: 15px 20px;
	max-height: 500px;
}

.arrow {
	width: 12px;
	height: 12px;
	border-right: 2px solid #ffffff;
	border-bottom: 2px solid #ffffff;
	transform: rotate(45deg);
	transition: transform 0.3s;
	margin-left: 10px;
}

.faq-item.active .arrow {
	transform: rotate(-135deg);
}