@media (max-width: 768px) {
	.text-container_main {
		flex-direction: column; /* Располагаем элементы в колонку */
		align-items: flex-start;  /* Выравниваем текст слева */
		margin: 10px; /* Уменьшаем отступы */
		margin-left: -30px;
}
.text-container {
		padding-right: 0; /* Убираем правый отступ */
		margin-bottom: 20px; /* Добавляем отступ снизу */
}
 .text-container h1 {
		font-size: 1.5em; /* Уменьшаем размер шрифта */
}
.image-container {
		display: none; /* Скрываем блок с картинкой */
}


header {
	flex-wrap: wrap; /* разрешаем перенос строк */
	justify-content: center; /* центрируем внизу */
	padding: 10px;
	flex-direction: column;
	 align-items: center;
}
.logo_header {
	width: 100%;
	justify-content: center;

}

.logo_header img {
	max-height: 50px;
	margin-right: 10px;
}

.header_link {
	width: 100%;
	align-items: center;
	margin-bottom: 10px;

}

.settings-button{

	margin-bottom: 30px;
}

.contact {
	display: none; /* Скрываем правую часть футера */
}

.prof_body h2{
	margin-left: 50px;
}

.container_main__main{
	grid-template-columns: 1fr;
}

.obrazovanie_free{
	margin-left: 20px;
}

.garantia{
	width: 100%;
}

.foto_main{ 
	width: 95%;
	margin: 10px auto;
	padding: 10px;
}

.container_zaivka{
	flex-direction: column; /* форма будет под картинкой */
  margin: 10px auto;
  width: 95%;
}

.image-container_zaivka{
	display: none;
}

.form-container{
	padding: 10px;
  width: 100%;
	margin-left: -10px;
}

.tg_foto_footer{
	display: none;
}

.right-text_footer{
	width: 100%;
	align-items: center;
 margin-bottom: 10px;
}

.osnov_svedenia_main{
	margin-left: 5px;
	max-width: 100%; 
}

.osnov_svedenia_main h2{
	font-size: 1.5em; /* Уменьшаем размер заголовка */
	margin-bottom: 5px; /* Уменьшаем отступ у заголовка*/
}

.osnov_svedenia_main p{
	font-size: 0.9em; /* Уменьшаем размер шрифта у абзаца */
  line-height: 1.2; /* Уменьшаем межстрочный интервал */
}



}