@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&family=Marck+Script&family=Philosopher:ital,wght@0,400;0,700;1,400;1,700&display=swap');

* {
	margin: 0;
	padding: 0;
}

h1, h2, pre, p {
	font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif
}

h2 {
	font-size: 2.7rem;
}


body {
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: #666;
}

header {
	display: flex;
	box-sizing: border-box;
	padding: 0px 20px;
	position: relative;
	z-index: 1;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	width: 100vw;
	height: 185px;
	background-color: #121212;
}

header h2, pre {
	color: white;
}
header h2 {
	position: absolute;
	left: 50vw;
	transform: translateX(-50%);
	font-family: "Manrope", sans-serif;
}

header .logo {
	display: flex;
	box-sizing: border-box;
	padding: 25px 0px;
	align-items: center;
	height: 100%;
	width: 100px;
	gap: 5px;
}

header .logo img, pre {
	height: 100%;
}

header .logo pre {
	font-size: 1.75rem;
	font-weight: 600;
}

header .info {
	display: flex;
	flex-direction: column;
	align-items: center;
}

header .info pre {
	line-height: 1.7rem;
	text-align: center;
	font-size: 1.4rem;
	font-weight: 400;
	font-family: "Manrope", sans-serif;
}

header .info div {
	display: flex;
	gap: 20px;
}

header .info img {
	height: 35px;
	aspect-ratio: 1;
	color: white;
	filter: brightness(0) invert(1);
}

@media (width < 1200px) {
	header h2 {
		display: none;
	}
}

@media (width < 768px) {
	header {
		display: none;
	}
}

.big-nav {
	display: flex;
	position: sticky;
	top: 0;
	z-index: 10;
	justify-content: center;
	height: 75px;
	width: 100vw;
	background-color: #1e1e1e;
}

.big-nav img {
	height: 100%;
}

.big-nav button {
	display: flex;
	font-family: "Manrope", sans-serif;
	font-size: 1.1rem;
	color: white;
	box-sizing: border-box;
	padding: 0 15px;
	justify-content: center;
	align-items: center;
	border: none;
	background-color: #1e1e1e;
}

.big-nav button:nth-child(1) {
	padding: 10px;
}

.small-nav {
	display: none;
	justify-content: space-between;
	box-sizing: border-box;
	padding: 0 5px;
	align-items: center;
	background-color: #1e1e1e;
	height: 75px;
	width: 100vw;	
}

.small-nav button {
	display: flex;
	justify-content: center;
	align-items: center;
	background: none;
	border: none;
	color: white;
	font-size: 2.5rem;
	height: 100%;
	aspect-ratio: 1;
}

.small-nav button:nth-child(1) {
	padding: 5px;
}

.small-nav img {
	height: 100%;
	aspect-ratio: 1;
}


@media (width < 768px) {
	.small-nav {
		display: flex;
	}

	.big-nav {
		max-height: 0;
		transition: 700ms;
		justify-content: none;
		align-items: none;
		flex-direction: column;
		height: unset;
		width: 100%;
		padding-bottom: 5px;
	}

	.big-nav button:nth-child(1) {
		display: none;
	}

	.big-nav button {
		width: 100%;
		justify-content: end;
		box-sizing: border-box;
		padding: 3px 15px;
	}
}

@media(width < 768px) {
	.big-nav {
		z-index: 9;
		top: 75px;
		position: sticky;
	}
	.small-nav {
		top: 0;
		position: sticky;
		z-index: 10;
	}
}


main {
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: white;
}

@media (width > 1199px) {
	main {
		width: 100%;
	}
}

@media (width < 1200px) {
	main {
		width: 100%;
	}
}

.quote {
	display: flex;
	flex-direction: column;
	z-index: 2;
}

.quote p {
	font-family: "Marck Script";
	font-size: 1.7rem;
	min-width: 100%;
	max-width: 100%;
}


.quote .author {
	margin-top: -20px;
	text-align: end;
}


.block {
	display: flex;
	width: 100%;
}

@media (width < 480px) {
	.block {
		padding-top: 25px;
		padding-bottom: 25px;
	}
}

#first-block {
	align-items: center;
	gap: 10px;
	background-color: #464646;
	z-index: 2;
	max-height: 1080px !important;
}

#first-block-img {
	position: absolute;
	opacity: 30%;
	z-index: 2;
	width: 100%;
}

.first-text {
	display: flex;
	padding: 30px 20px;
	box-sizing: border-box;
	gap: 10px;
	justify-content: start;
	align-items: center;
	flex-direction: column;
	position: relative;
	width: 100vw;
	height: 100%;
	z-index: 2;
	background-color: #e1e1e1;
}

.first-text h2, span, button {
	z-index: 3;
}

.first-text h2 {
	font-size: 1.5rem;
	font-family: "Philosopher", sans-serif;
}

.first-text span, button {
	font-family: "Manrope", sans-serif !important;
}

.first-text span {
	height: 100px;
	box-sizing: border-box;
	width: 100%;
}

.first-text button {
	box-sizing: border-box;
	padding: 20px 30px;
	border: none;
	color: white;
	margin-top: 10px;
	font-size: 1.25rem;
	border-radius: 3px;
	font-family: "manrope";
	background-color: #e6634c;
}

.video-container {
	width: 600px;
	height: 400px;
}

.video-container video {
	height: 100%;
	width: 100%;
	object-fit: cover;
	border-radius: 5px;
}

@media (width > 1199px) {
	#first-block {
		height: 100vh;
		max-height: calc(100vh - 75px);
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		padding: 0 20px;
	}

	.first-text h2 {
		font-size: 1.9rem;
	}

	.first-text span {
		font-size: 1.4rem;
	}

	.first-text {
		width: 550px;
		height: 400px;
		border-radius: 5px;
		gap: 20px;
		padding: 15px;
	}
}

@media (width < 1200px) {
	.video-container {
		display: none;
	}
}

@media (width < 1200px) and (width > 767px)  {
	.first-text {
		justify-content: center;
		height: calc(100vh - 260px);
		gap: 60px;
		max-height: calc(100vh - 260px);
	}
	.first-text h2 {
		font-size: 1.75rem;
	}
	.first-text span {
		font-size: 1.25rem;
		max-width: 600px;
	}
}

@media (width < 768px) {
	.first-text {
		justify-content: center;
		height: calc(100vh - 80px);
		max-height: calc(100vh - 80px);
		padding: 0px 10px !important;
	}
	.first-text span {
		font-size: 1.25rem;
		height: unset;
	}
	#first-block-img {
		min-height: 100%;
		object-fit: cover;
	}

}

@media (width < 480px) {
	#first-block {
		padding-top: 0;
		padding-bottom: 0;
	}
}

#department-block {
	background-color: white;
	flex-direction: column;
	gap: 20px;
}

#department-block .info * {
	font-size: 1.1rem !important;
}	

#department-block .content {
	display: flex;
	width: 100%;
	height: 450px;
	background-color: transparent;
	gap: 20px;
	padding-bottom: 30px;
}

#department-block .content .image-container {
	aspect-ratio: 1.3333;
}

#department-block .content .image-container img {
	border-radius: 5px;
}

#department-block .content .info {
	gap: 12px;
	flex-direction: column;
	align-items: center;
}
#department-block .content .info .socials {
	display: flex;
	gap: 13px;
}

#department-block .content .info .social {
	display: flex;
	align-items: center;
	justify-content: center;
}

#department-block .content .info .social:nth-child(1) {
	background-color: #0077FF ;
}
#department-block .content .info .social:nth-child(2) {
	background-color: white;
}
#department-block .content .info .social:nth-child(3) {
	background-color: #0077FF;
}

#department-block .content .info .social img {
	height: 35px;
}

#department-block .content .info .map-button {
	padding: 15px;
	box-sizing: border-box;
}

#department-block .content .info button {
	background-color: white;
	border-radius: 3px;
	width: 400px;
	padding: 9px;
	border: 1px solid black;
	box-sizing: border-box;
}

.active-department-button {
	color: white;
	background-color: #e6634c !important;
}

#department-block .content .info span {
	font-family: "Manrope", sans-serif;
	font-size: 1.5rem !important;
}

#department-block .content .info a {
	width: 75px;
	aspect-ratio: 1;
	border-radius: 3px;
	border: 1px solid black;
}

@media (width > 1023px) {
	#department-block .content {
		align-items: center;
		justify-content: center;
	}
	#department-block .content .image-container {
		max-height: 350px;
	}
}

@media (width > 1199px) {
	#department-block .content .image-container {
		height: 400px;
		max-height: unset;
	}
}

@media (width < 1024px) {
	#department-block {
		padding: 0 10px;
		box-sizing: border-box;
	}

	#department-block .content {
		flex-direction: column;
		height: unset;
		box-sizing: border-box;
		align-items: center;
	}
	#department-block .content .image-container {
		align-items: center;
		justify-content: center;
		display: flex;
		width: 100%;
		object-fit: cover;
		max-width: 480px;
	}
	#department-block .content .image-container img {
		width: 100%;
		height: 100%;
	}

	#department-block .content .info {
		width: 100%;
	}

	#department-block .content .info button {
		max-width: 100%;
	}

}
#department-block .content * {
	display: flex;
}

.block .title {
	width: 100%;
	box-sizing: border-box;
	padding-top: 25px;
	padding-bottom: 10px;

	font-size: 2.8rem;
	text-align: center;
	font-weight: 600;
	font-family: "Philosopher", sans-serif;
}


#instructors-block {
	flex-direction: column;
	background-color: #1e1e1e;
}

#instructors-block .title {
	color: white;
}

#instructors-block .content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: start;
	box-sizing: border-box;
	padding: 30px;
	gap: 5px;
}

#instructors-block .content .instructor {
	display: flex;
	width: 800px;
	height: 200px;
	box-sizing: border-box;
	padding: 20px;
	border-radius: 5px;
	gap: 5px;
	background-color: #e1e1e1;
}


@media (width < 1200px) {
	#instructors-block .content .instructor {
		max-width: min(100%, 650px);
	}
}

#instructors-block .content .instructor h3 {
	font-size: 1.3rem;
	font-family: "manrope";
}
#instructors-block .content .instructor span {
	font-family: "manrope";
	font-size: 1.1rem;
}


#instructors-block .content .instructor img {
	border-radius: 3px;
}

@media (width < 768px) {
	#instructors-block .content {
		padding: 30px 0;
	}

	#instructors-block .content .instructor {
		padding: 10px;
		height: unset;
	}
	#instructors-block .content .instructor img {
		height: 200px;
	}
}

@media (width < 480px) {
	#instructors-block .content .instructor {
		padding: 5px;
	}
	#instructors-block .content .instructor h3 {
	font-size: 1.2rem;
	}
	#instructors-block .content .instructor span {
		font-size: 1rem;
	}
}

#order-block {
	flex-direction: column;
	position: relative;
	z-index: 1;
	height: 700px;
}

#order-block .title, .content {
	z-index: 1;
}
#order-block .content {
	width: 100%;
	height: 200px;
}

#order-block .content form {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Отступы между всеми элементами формы */
    max-width: 400px; /* Ограничиваем ширину для аккуратного вида */
    width: 100%;
    margin: 0 auto; /* Центрируем форму, если нужно */
}

/* Стили для подписей (Город, Возраст, ФИО...) */
#order-block .content form span {
    font-size: 1.2rem;
    font-weight: 800;
	font-family: "Manrope", sans-serif;
    margin-bottom: -5px;
	color: white;
}

/* Общие стили для полей ввода и селекта */
#order-block .content form input[type="text"],
#order-block .content form input[type="number"],
#order-block .content form input[type="tel"],
#order-block .content form textarea,
#order-block .content form select {
    padding: 10px 16px;
	resize: none;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #fff;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Эффект при клике на поле (фокус) */
#order-block .content form input:focus,
#order-block .content form select:focus {
    border-color: #e6634c; /* Фирменный синий */
    box-shadow: 0 0 0 3px rgba(0, 113, 255, 0.15);
}

/* Стили для заблокированного селекта (если оставите disabled) */
#order-block .content form select:disabled {
    background-color: #f5f5f5;
    color: #666;
    cursor: not-allowed;
}

/* Блок с чекбоксом и ссылкой */

#order-block .content form .agreement {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 5px;
}

#order-block .content form .agreement span,
#order-block .content form .agreement a {
    font-size: 1rem;
    font-weight: normal;
    color: white;
}

#order-block .content form .agreement input {
	transform: scale(1.5);
}

#order-block .content form .agreement a {
    color: #0077FF;
    text-decoration: underline;
}

#order-block .content form .agreement div {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Кнопка отправки */
#order-block .content form button {
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: not-allowed;
    background-color: #e0e0e0; /* Серая по умолчанию, пока нет согласия */
    color: #a0a0a0;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

#order-block .content form button:disabled {
	background-color: #e6634cba;
}
/* Когда кнопка готова к нажатию (класс .ready) */
#order-block .content form button.ready {
    background-color: #e6634c; /* Становится синей */
    color: #fff;
    cursor: pointer;
}

#order-block .content form button.ready:hover {
    background-color: #e6634c;
}

#order-block .content form button.ready:active {
    transform: scale(0.98); /* Легкий эффект нажатия */
}

#order-block .image-wrapper {
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: end;
	position: absolute;
	justify-self: center;
	width: 100%;

}

#order-block .image-wrapper img {
	height: 100%;
	opacity: 0.7;
	filter: brightness(0.5);
}
@media (width > 1199px) {
	#order-block {
		max-height: 700px !important;
	}
	#order-block .image-wrapperf {
		max-height: 700px !important;
	}
	#order-block .image-wrapper img {
		min-width: 100%;
		max-height: 700px !important;
	}
}
@media (width < 1200px) {
	#order-block .content {
		box-sizing: border-box;
		padding: 0px 10px;
	}
	#order-block form {
		width: 100%;
	}
}


#school-block {
	flex-direction: column;
	align-items: center;
	background-color: white;
	padding: 25px 0;
	box-sizing: border-box;
}

#school-block  span {
	font-family: "Manrope", sans-serif !important;
	font-size: 1.1rem;
	color: black !important;
}

#school-block .content {
	display: flex;
	flex-direction: column;
	width: 900px;
	gap: 10px;
}

#school-block .top-section, .bottom-section {
	display: flex;
	width: 100%;
}


#school-block .top-section {
	display: flex;
	gap: 10px;
}

#school-block .quote {
	width: 500px;
} 

#school-block .quote p {
	color: black !important;
}

#school-block .top-section img {
	height: 250px;
}

#school-block .text-section {
	display: flex;
	justify-content: end;
	width: 600px;
	flex-direction: column;
}


#school-block .bottom-section {
	justify-content: space-between;
	height: 250px;
}

#school-block .bottom-section img, video {
	border-radius: 5px;
}

#school-block .bottom-section * {
	height: 100%;
}


#school-block-mobile {
	width: 100%;
	background-color: white;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding-bottom: 25px;
}
#school-block-mobile .content {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 700px;
}

#school-block-mobile .content .text-section {
	display: flex;
	flex-direction: column;
	height: 100%;
}

#school-block-mobile .content .text-section {
	color: black;
	gap: 25px;
	max-width: 70%;
}

#school-block-mobile .content span {
	font-size: 1.1rem;
	font-family: "Manrope", sans-serif;
}

#school-block-mobile .content img, video {
	width: 100%;
	border-radius: 5px;
}

@media (width > 1023px) {
	#school-block-mobile {
		display: none;
	}

	#school-block {
		display: flex;
	}
}

@media (width < 1024px) {
	#school-block-mobile {
		display: flex;
	}

	#school-block {
		display: none;
	}
}

@media (width < 768px) {
	#school-block-mobile {
		width: 100%;
	}
	#school-block-mobile .content {
		box-sizing: border-box;
		padding: 0 10px;
		width: 100%;
		padding-bottom: 25px;
	}
	#school-block-mobile .content .text-section {
		min-width: 100%;
		box-sizing: border-box;
	}
	#school-block-mobile .content img, video {
		width: 100%;
		max-width: 100%;
	}

}

#education-block {
	width: 100%;
	background-color: #1e1e1e;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
#education-block .content {
	display: flex;
	width: 900px;
}
#education-block .content .image-section,
#education-block .content .text-section {
	display: flex;
	flex-direction: column;
	height: 100%;
}

#education-block .content .text-section {
	color: white;
	gap: 25px;
	max-width: 70%;
}

#education-block .content .text-section span {
	font-size: 1.1rem;
	font-family: "Manrope";
}

#education-block .content .image-section {
	display: flex;
	flex-direction: column;
	width: 400px !important;
	gap: 10px;
}

#education-block .content .image-section img {
	width: 100%;
	border-radius: 5px;
}



@media (width < 1024px) {
	#education-block .content {
		width: 700px;
		gap: 10px;
	}
	#education-block .content .image-section {
		align-self: center;
	}
}

@media (width < 768px) {
	#education-block {
		width: 100%;
	}
	#education-block .content {
		box-sizing: border-box;
		padding: 0 10px;
		width: 100%;
		flex-direction: column-reverse;
	}
	#education-block .content .text-section {
		min-width: 100%;
		box-sizing: border-box;
	}
	#education-block .content .image-section {
		width: 100%;
		max-width: 100%;
	}
	#education-block .content .image-section img:nth-child(1) {
		display: none;
	}
	#education-block .quote {
		display: none;
	}

}

#education-block .title,
#gallery-block .title  {
	color: white;
	padding: 25px;
}



#gallery-block {
	align-items: center;
	background-color: #1e1e1e;
	flex-direction: column;
	padding: 20px 0;
	box-sizing: border-box;
	--slider-width: 500px;
}

#gallery-block .content {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	align-items: center;
	width: 700px;
	gap: 20px;
	padding: 20px 0;
}

#gallery-block .content span {
	color: white;
	font-size: 1.1rem;
	font-family: "Manrope", sans-serif;
}


#gallery-block .content .slider {
	display: flex;
	align-items: center;
	gap: 20px;
}

#gallery-block .content .slider button {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: white;
	border: none;
}

#gallery-block .div-wrapper {
	display: flex;
	aspect-ratio: 16/9;
	overflow: hidden;
	width: var(--slider-width);
}

#gallery-block .div-wrapper .image-wrapper {
	display: flex;
	width: var(--slider-width);
	aspect-ratio: 16/9;
	background-color: transparent	;
	justify-content: center;
}

#gallery-block .div-wrapper .image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 5px;
}


@media (width > 767px) and (width < 1199px) {
	#gallery-block .content {
		width: 600px;
	}
}

@media (width < 768px) {
	#gallery-block .content {
		width: 100%;
		padding: 0 10px;
		justify-content: space-between;
		gap: 10px;
	}

	#gallery-block .content .slider button {
		width: 30px;
		height: 30px;
	}
	#gallery-block .content .div-wrapper {
		--slider-width: calc(100vw - 140px);
	}
}

@media (width < 481px) {
	#gallery-block .content {
		padding: 0 10px;
	}
	#gallery-block .content .div-wrapper {
		--slider-width: calc(100vw - 80px);
	}
	#gallery-block .content .slider {
		gap: 5px;
		justify-content: center;
		width: 100vw;
	}
}





#faq-block {
	flex-direction: column;
	background-color: #1e1e1e;
}

#faq-block .title {
	color: white;
}

#faq-block .content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: start;
	box-sizing: border-box;
	padding: 30px;
	gap: 10px;
}

#faq-block .content .instructor {
	display: flex;
	width: 800px;
	box-sizing: border-box;
	padding: 20px;
	border-radius: 5px;
	gap: 5px;
	background-color: #e1e1e1;
}

#faq-block .content .instructor div {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

@media (width < 1200px) {
	#faq-block .content .instructor {
		max-width: min(100%, 650px);
	}
}

#faq-block .content .instructor h3 {
	font-size: 1.3rem;
	font-family: "manrope";
}
#faq-block .content .instructor span {
	font-family: "manrope";
	font-size: 1.1rem;
}


#faq-block .content .instructor img {
	border-radius: 3px;
}

@media (width < 768px) {
	#faq-block .content {
		padding: 30px 0;
	}

	#faq-block .content .instructor {
		padding: 10px;
		height: unset;
	}
	#faq-block .content .instructor img {
		height: 200px;
	}
}

@media (width < 480px) {
	#faq-block .content .instructor {
		padding: 5px;
	}
	#faq-block .content .instructor h3 {
	font-size: 1.2rem;
	}
	#faq-block .content .instructor span {
		font-size: 1rem;
	}
}

#master-block {
	background-color: #1e1e1e;
	z-index: 1;
	justify-content: center;
	position: relative;
	overflow-y: hidden;
}

#master-block .title, #master-block p, #master-block span {
	color: white;
}

#master-block .content {
	display: flex;
	max-height: 550px;
	justify-content: center;
}

#master-block .top {
	display: flex;
	max-height: 550px;
	flex-direction: column;
}

#master-block .quote {
	width: 450px;
}

#master-block .text-side {
	display: flex;
	gap: 10px;
	flex-direction: column;
	width: 600px;
}

#master-block span, a {
	color: white;
	text-decoration: none;
	font-size: 1.1rem;
	font-family: "Manrope", sans-serif;
}

#master-block .image-wrapper {
	position: absolute;
	z-index: 1;
	width: 100vw;
	max-height: 700px;
}

#master-block .image-wrapper img {
	width: 100%;
	max-height: 700px;
	height: 100%;
	object-fit: cover;
}

#master-block .master-image-wrapper {
	display: flex;
	height: 85%

}

#master-block .master-image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

#master-block .top {
	z-index: 2;
}

@media (width < 1200px) {
	#master-block .content, #master-block .top, #master-block .text-side, #master-block .quote {
		width: 100%;
		max-height: unset;
	}

	#master-block .content {
		box-sizing: border-box;
		padding-left: 10px;
		padding-right: 10px;
	}

	#master-block .text-section {
		padding-bottom: 25px;
		box-sizing: border-box;
		padding-left: 10px;
		padding-right: 10px;
	}
	#master-block .master-image-wrapper {
		position: absolute;
		display: flex;
		align-items: end;
		z-index: 1;
		bottom: 1px;
	}
	#master-block .master-image-wrapper img {
		opacity: 0.4;
		object-fit:cover;
	}
	#master-block  .image-wrapper {
		min-height: 1080px;
		height: 1080px;
		width: 100%;
	}
	#master-block  .image-wrapper img { 
		opacity: 0.4;
	}
}


footer {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 150px;
	background-color: #121212;
	color: white;
}

footer span {
	color: white;
	font-family: "Manrope", sans-serif;
	font-size: 1.3rem;
}
