* {
	margin: 0;
	padding: 0;
	font-family: 'IntroDemo';
	color: #2C2C2C;
}

:root {
	--main-color: #4262CC;
	--margin-between-sections: 5vh;
	--font-size-extra-small: 18px;
	--font-size-small: 22px;
	--font-size-medium: 24px;
	--font-size-large: 30px;
}

@keyframes showMobileMenu {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	overflow-x: hidden;
}

.section-name {
	width: 95%;
	justify-self: center;
	text-align: center;
	margin: var(--margin-between-sections);
	color: var(--main-color);
	font-size: var(--font-size-large);
}

/* Шапка */
header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: calc(var(--margin-between-sections)/2);
	padding-inline: 5%;
	z-index: 2;
}

/* Логотип */
.logo-container {
	flex-shrink: 5;
	rotate: -5deg;
	font-size: var(--font-size-medium);
}

#logo__online {
	width: 20%;
	line-height: 25px;
	margin-left: 82.5px;
	color: var(--main-color);
}

.header-navigation * {
	text-decoration: none;
	white-space: nowrap;
	margin-left: 5%;
}

#current {
	color: var(--main-color);
	border-bottom: 4px solid var(--main-color);
	padding-bottom: 10px;
}

.header-navigation {
	width: 80%;
	display: flex;
	justify-content: end;
	flex-shrink: 1;
	font-size: var(--font-size-small);
}

.header-navigation__img {
	display: none;
	height: 70px;
}

/* Главное */
main {
	flex: 1;
	margin-top: var(--margin-between-sections);
	;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	overflow-x: hidden;
}

/* Расписание */
.schedule {
	width: 400px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 70px;
	margin-bottom: var(--margin-between-sections);
	border-radius: 20px;
	background-color: #F6F6F6;
}

.schedule__data-container {
	width: 100%;
	display: flex;
	justify-content: space-between;
}


.pay-attention {
	color: var(--main-color);
}

.weekend {
	color: var(--main-color);
}

.schedule .pay-attention {
	width: 100%;
	color: var(--main-color);
	text-align: start;
}

.schedule__data-container p {
	font-size: var(--font-size-small);
	margin-top: 1.5vh;
}

.schedule__data-container h2 {
	margin-bottom: calc(var(--margin-between-sections)/2);
}

.underline {
	width: 100%;
	height: 2.5px;
	margin-top: 3vh;
	margin-bottom: 3vh;
	background-color: #D9D9D9;
}

.data-container__days {
	display: flex;
	flex-direction: column;
}

.data-container__hours {
	display: flex;
	flex-direction: column;
	align-items: end;
}

/* Контент егэ*/
.ege-container,
.oge-container {
	width: 1400px;
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(3, 250px);
}

.oge-container {
	grid-template-rows: repeat(2, 250px);
}

.ege-container__card,
.oge-container__card {
	padding: 32px;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: center;
	background-color: #F6F6F6;
	border-radius: 20px;
}

.ege-container__card p,
.oge-container__card p {
	font-size: var(--font-size-small);
}

.ege-container__card h2,
.oge-container__card h2 {
	font-size: var(--font-size-medium);
}

.price-container {
	width: 35%;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
}

.price-container__discount-text {
	text-decoration: line-through;
	text-decoration-thickness: 3px;
	color: #A7A7A7;
}

.order-button {
	font-size: var(--font-size-extra-small);
	padding: 12px;
	padding-inline: 9%;
	border-radius: 100vh;
	background-color: var(--main-color);
	transition: background-color 0.15s;
	color: white;
	border: none;
}

.order-button:hover {
	cursor: pointer;
	background-color: #6d84d3;
}

/* Контент больше о проверке */
.more-container {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.about-container {
	width: 1400px;
	display: flex;
	gap: 20px;
}

.about-container__card {
	box-sizing: border-box;
	width: 100%;
	padding: 50px;
	background-color: #F6F6F6;
	border-radius: 20px;
}

.about-container__card p {
	font-size: var(--font-size-small);
}

.about-container__card h2 {
	font-size: var(--font-size-medium);
}

/* Теги */
.tags-container {
	width: 90%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: calc(var(--margin-between-sections)*2);
}

.tags-container p {
	color: #A7A7A7;
}

.tags-container * {
	text-align: center;
}

/* Футер */
footer {
	height: 450px;
	padding-bottom: 50px;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	padding-inline: 15%;
	background-color: #2C2C2C;
}

footer h2 {
	color: white;
}

footer a,
footer p {
	text-decoration: none;
	font-size: var(--font-size-small);
	color: #A7A7A7;
}

footer .logo-container {
	width: 0;
	margin-top: 50px;
}

footer .underline {
	background-color: #474852;
}

footer #logo__count {
	color: white;
}

/* Поддержка */

.frequent-container {
	width: 70%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: start;
	margin-bottom: 5%;
	overflow: hidden;
}

.frequent-container__question {
	width: 100%;
	font-size: var(--font-size-large);
	background: none;
	border: none;
	text-align: start;
	color: var(--main-color);
}

.frequent-container__question:hover {
	cursor: pointer;
}

.question-scope {
	width: 100%;
	height: auto;
	display: flex;
	flex-direction: column;
	align-items: start;
	padding-bottom: 30px;
	padding-top: 30px;
	transition: max-height 1s ease-in-out;
	overflow: hidden;
}

.question-scope a {
	color: var(--main-color);
}

.opened-question-scope {
	animation: drop-question 1s forwards;
}

.question-text {
	margin-left: 0;
	font-size: var(--font-size-small);
	text-align: start;
	color: #2C2C2C;
}

.even {
	border-bottom: 1px solid #A7A7A7;
	border-top: 1px solid #A7A7A7;
}

/* Отзывы */
.reviews-container {
	margin-bottom: 3.75%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.review-name {
	color: var(--main-color);
	font-size: var(--font-size-medium);
}

.review-date,
.review-text {
	font-size: var(--font-size-extra-small);
	color: #474852;
}

.reviews-container__card {
	margin: 1.25%;
	width: 40%;
	padding: 32px;
	border-radius: 20px;
	background-color: #F6F6F6;
}

.reviews-container__card * {
	margin: 12px;
}

.feedback {
	text-align: center;
	font-size: var(--font-size-extra-small);
	margin-top: 2.5%;
}

.policy {
	font-family: Arial, Helvetica, sans-serif;
	margin-inline: 15%;
	margin-bottom: 2.5%;
}

/* Форма */
.main-form-container {
	width: 100%;
	height: 100%;
	position: fixed;
	display: flex;
	justify-content: center;
	align-items: center;
	inset: 0;
	z-index: 1;
	background-color: rgb(44, 44, 44, 40%);
}

.main-form-container__form {
	width: 600px;
	height: 80%;
	padding: 40px;
	padding-inline: 80px;
	display: flex;
	flex-direction: column;
	justify-content: space-evenly;
	align-items: start;
	border-radius: 20px;
	background-color: white;
}

.main-form-container__form * {
	margin: 0;
}

.main-form-container__form p {
	font-size: var(--font-size-extra-small);
}

.main-form-container h2 {
	color: #4262CC;
	font-size: var(--font-size-medium);
}


.input-file {
	position: absolute;
	opacity: 0;
	width: 100%;
	height: 200px;
}

.input-file-label {
	position: relative;
	width: 100%;
	height: 200px;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 2px dashed #A7A7A7;
	border-radius: 20px;
	z-index: 2;
	text-align: center;
}

.input-file-label:hover {
	cursor: pointer;
}

.input-email,
.input-ref {
	width: calc(100% - 20px);
	height: 50px;
	padding-left: 20px;
	outline: none;
	border: 2px solid #A7A7A7;
	border-radius: 10px;
}

.input-file-label * {
	color: #A7A7A7;
}

.form__order-button {
	width: 100%;
	height: 50px;
	border-radius: 100vh;
	background-color: var(--main-color);
	color: white;
	border: none;
}

.form__order-button:hover {
	cursor: pointer;
	background-color: #6d84d3;
}

.accept-policy {
	text-align: center;
}

.accept-policy a {
	margin: 0;
	color: var(--main-color);
}

.close-form {
	position: absolute;
	background: none;
	border: none;
	rotate: 45deg;
	padding: 10px;
	font-size: 5em;
	top: 1.5%;
	right: 1.5%;
	color: #F6F6F6;
}

.close-form:hover {
	cursor: pointer;
}

.form__files-list {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	list-style-type: none;
}

.form__files-list * {
	margin-inline: 6px;
}

/* Меню на телефоне */
.mobile-navigation {
	position: fixed;
	display: flex;
	justify-content: center;
	align-items: start;
	bottom: 0;
	right: 0;
	background-color: #ffffff;
	width: 100%;
	height: 80vh;
	animation: showMobileMenu 0.75s;
	z-index: -1;
}

.mobile-navigation__container {
	margin-top: 20.5vh;
	display: flex;
	flex-direction: column;
}

.mobile-navigation a {
	font-size: 26px;
	margin-top: 2.5vh;
	text-decoration: none;
}

.mobile-navigation #current {
	padding: 0;
	border-bottom: none;
}

@media (max-width:1540px) {

	.ege-container,
	.oge-container,
	.about-container {
		width: 1150px;
	}
}

@media (max-width:1260px) {
	.header-navigation a {
		margin-left: 2.5%;
		font-size: 22px;
	}

	.logo-container {
		font-size: 16px;
	}

	#current {
		border-bottom: 3px solid var(--main-color);
		padding-bottom: 8px;
	}

	.ege-container {
		width: 850px;
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(4, 250px);
	}

	.oge-container {
		width: 850px;
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(3, 250px);
	}

	.about-container {
		width: 850px;
		flex-direction: column;
	}
}

@media (max-width: 1080px) {

	.header-navigation__img {
		display: block;
	}

	.header-navigation {
		display: none;
	}
}

@media (max-width:926px) {

	:root {
		--margin-between-sections: 7.5vh;
	}

	.ege-container {
		width: 90%;
		grid-template-columns: repeat(1, 1fr);
		grid-template-rows: repeat(7, 250px);
	}

	.oge-container {
		width: 90%;
		grid-template-columns: repeat(1, 1fr);
		grid-template-rows: repeat(6, 250px);
	}

	.about-container {
		width: 90%;
	}
}

@media (max-width:600px) {
	:root {
		--main-color: #4262CC;
		--margin-between-sections: 5vh;
		--font-size-extra-small: 14px;
		--font-size-small: 18px;
		--font-size-medium: 20px;
		--font-size-large: 22px;
	}

	.main-form-container__form {
		height: 100%;
		padding: 20px 40px;
	}

	.ege-container {
		grid-template-rows: repeat(7, 225px);
	}

	.oge-container {
		grid-template-rows: repeat(6, 225px);
	}

	.schedule {
		width: 260px;
		padding: 50px;
	}

	.schedule h2 {
		font-size: 16px;
		margin-bottom: 0.5vh;
	}

	.schedule p {
		font-size: 14px;
	}
}