body
{
    z-index:3;
    font-family: 'Century Gothic', sans-serif;
    display: flex;
    flex-direction: column;
    background-image: url('images/Triangles.png');
	background-size: 100% auto;
    min-height: 100vh;
    margin: 0;
}

.back-to-top {
  z-index: 2;
  position: fixed;
  right: 3rem;
  bottom: 3rem;
  border-radius: 100%;
  background: #7ac9f9;
  padding: 0.7%;
  border: none;
  cursor: pointer;
  opacity: 100%;
  transition: opacity 0.5s;

}

.back-to-top:hover {
/*  opacity: 60%;*/
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.back-to-top-icon {
  width: 3rem;
  height: 3rem;
  color: #141c38;
}

.hidden {
  opacity: 0%;
}

button
{
    font-family: 'Century Gothic', sans-serif;
}
p
{
    text-align: justify;
    font-size: calc(8px + 14*(100vw / 1440)); 
    color:rgb(34, 64, 121);
}
h1 /*Все заголовки синие и по центру*/
{
    padding-top: 4%;
    padding-bottom: 1%;
    font-weight: bold;
    text-align: center;
    color:rgb(0, 0, 0);
    margin: 0;
    margin-bottom: 2%;
    font-size: calc(18px + 18 * (100vw / 1440));
}
h2
{
    font-weight: normal;
    color:rgb(34, 64, 121);
    margin: 0;
    text-align: justify;
    font-size: calc(14px + 18 * (100vw / 1440));
}
h3
{
    font-weight: bold;
    text-align: left;
    color:rgb(0, 0, 0);
    margin: 0;;
    font-size: calc(12px + 18 * (100vw / 1440));
}

/*.toptext1{
     background-color: #0154A4 ;
}*/
/*Верхняя часть страницы*/
#top-text
{
    padding-top:2%;
    padding-left: 2%;
    padding-right: 2%;
    padding-bottom: 2%;
    display: flex;
    justify-content: space-between;
    align-items:center;
}
.pered/*Надпись передовые инженерные школы*/
{
    color: black;
    font-family: 'Century Gothic', sans-serif;
    font-size: 25px;
    line-height: 40px;
    text-align: justify;
    margin: 0;
    margin-top: -2%;
}
.topper{
    display: flex;
    padding-right: 5%;
}
.upper_top
{
    max-height: 110px;
    width: auto;
    margin-right: 7%;
    margin-left: 5%; 
}
.mini_upper_top
{
    height: 50px;
    padding-right: 10px;
}
.under_top_img
{
    width: 100%;
    padding-bottom: 0px;
}
.textmenu{
    text-color: black;
    display: flex;
    width: 62%;
    justify-content: space-between;
    box-shadow: 2px 2px 10px 5px #CCCCCC;
    border: 1px solid #1C7EDF;
    border-color: white;
    padding-left: 3%;
    padding-right: 5%;
    padding-top: 0%;
    padding-bottom: 0%;
	background-color: white;
	overflow: overlay;
	scrollbar-width: thin; /* Устанавливает тонкую полосу прокрутки */
	scrollbar-color: #007EBA #f0f0f0; /* Цвет ползунка и фона */
}
.separator
{
    padding-left: 25px;
    padding-right: 25px;
    display: inline-block;
    font-family: "Play", sans-serif;
    font-size: calc(10px + 14 * (100vw / 1440));
    text-decoration:none;
    color: black;
    white-space: nowrap;
    text-align: center;
    cursor: default;
}
.refr a{
    display: inline-block;
    font-family: 'Century Gothic', sans-serif;
    font-size: calc(10px + 14 * (100vw / 1440));
    text-decoration:none;
    color: black;
    white-space: nowrap;
    text-align: center;
}

.textmenu a:hover {
    text-decoration-line: underline;
    text-decoration-color: black;

}
.background
{
    position: absolute;
    width: 100%;
}

/*.vkniz{
    width: 80%;
    height: 80%;
}

.telegramniz{
    width: 120%;
    height: 120%;
}
*/
.kernel/*Кнопки*/
{
    background-color: rgba(255, 255, 255, 0);
    border: 5px solid rgb(255, 255, 255);
    border-radius: 35px;
    width: 27%;
    min-width: 300px;
    height: 120px;
    font-size: 26pt;   
    font-weight: bold;
    -webkit-text-stroke: 0.5px #A9A9A9
}
.kernel:hover
{
    cursor: pointer;
}
/*медийка*/

.social_shadow
{
    position: absolute;
    width: 70px;
    height: 70px;
    background-image: url('images/shadow-white.png');
    background-size: cover;
    filter: blur(20px) brightness(2) saturate(1.5);
    z-index: 0; /* Тень находится под изображением */
    transform: translateX(0);
}

.social_shadow2:hover
{
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: url('images/shadow-white.png');
    background-size: cover;
    filter: blur(20px) brightness(2) saturate(1.5);
    z-index: 0; /* Тень находится под изображением */
    transform: translateX(0);
    z-index: 3;
}



#vkontakte
{
    position: relative; /* Устанавливаем это свойство для управления порядком слоев */
}
#telegram
{
    margin-left: 11%;
    position: relative; /* Устанавливаем это свойство для управления порядком слоев */

}
#social_shadow_vk
{
    opacity: 0;
}
#social_shadow_tg
{
    opacity: 0;
}
#vkontakte:hover #social_shadow_vk {
    opacity: 1;
}
#telegram:hover #social_shadow_tg {
    opacity: 1;
}
.vk 
{

    margin-right: 10%;
    box-sizing: border-box;
    position: relative; /* Добавляем это свойство */
    z-index: 1; /* Картинка будет поверх тени */
}
.telegram 
{
    box-sizing: border-box;
    position: relative; /* Добавляем это свойство */
    z-index: 1; /* Картинка будет поверх тени */
}
/*Слои заставки с картинками и анимацией*/
#first
{
    z-index: 3; /* поверх всех */
    display: flex;
    justify-content: space-between;
    width: 60%; 
    padding-top: 24%;
    padding-left: 34.7%;
}
#second
{
    z-index: 2;
    display: flex;
    justify-content: space-between;
    width: 60%;
    padding-top: 34%;
    padding-left: 34.7%;
}
#third {
    z-index: 1; /* между first и third */
    background: left top;
    background-repeat: no-repeat;
    background-size: 100% 200%;
    padding-left: 0%;
    padding-right: 20%;
}

.menus{
    width: 10%;
    background: rgb(0,83,163);
    background: linear-gradient(90deg, rgba(0,83,163,1) 0%, rgba(252,253,253,1) 100%);
}


/*блоки*/
.info
{
	padding-left: 8%;
	padding-right: 8%;
}

.top_of_text
{   
    margin-left: 2%;
    width: 86%;
    margin-top: 2%;
    color:rgb(0, 0, 0);
    text-align: center;
}

.main_text
{
    margin-left: 7%;
    width: 86%;
    background-color: white;
    color:rgb(0, 0, 0);
    text-align: justify;
}

.main_text1
{
    width: 96%;
	margin-left: 2%;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: stretch
    flex-direction: row;
    color:rgb(0, 0, 0);
    text-align: justify;


}

#fifth_block{
    padding-right: 7%;
    padding-left: 7%;
}



.naprav{
/*    color: white;
    background-color: #A6A6A6;
    display: flex;
    align-items: center;
    justify-content: center;*/
    font-size: calc(10px + 18 * (100vw / 1440));
    font-family: 'Century Gothic', sans-serif;
    font-weight: bold;
    margin-bottom: 4%;
/*  width: 10%;
    height: 30%;
    border: 0px solid rgb(0, 0, 0);
    margin: 0;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin-bottom: 3%;
    text-align: left;   */ 
}
.boxwithcolumns
{
	margin-bottom: 3%;
	border-bottom:1px solid;
	width: 100%;
}

.columnsoffour
{
	background-color:transparent;
	z-index:1000;
	margin-top:5%;
	margin-right: 6%;
	margin-bottom: 5%;
	transition: transform 0.3s ease;
    display: inline-block;
    flex-direction: column;
/*    border:0px solid;*/
    width: 20%;
    max-height: 100%;
    box-shadow:
/*    inset 0 -2em 3em rgba(0, 0, 0, 0.1),*/
    0 0 0 2px rgb(255, 255, 255),
    0.3em 0.3em 3em #00549F33;
	box-sizing: border-box;
	overflow:hidden;
}

.columnsoffour:hover{
    z-index:2000;
	transform: scaleX(1.1) scaleY(1.1); /* используем transform для масштабирования */
}

.columnsoftwo
{
	background-color:transparent;
	z-index:1000;
	margin-top:5%;
	margin-right: 6%;
	margin-bottom: 5%;
	transition: transform 0.3s ease;
    display: inline-block;
    flex-direction: column;
/*    border:0px solid;*/
    width: 40%;
    max-height: 100%;
    box-shadow:
/*    inset 0 -2em 3em rgba(0, 0, 0, 0.1),*/
    0 0 0 2px rgb(255, 255, 255),
    0.3em 0.3em 3em #00549F33;
	box-sizing: border-box;
	overflow:hidden;
}

.columnsofthree
{
	background-color:transparent;
	z-index:1000;
	margin-top:5%;
	margin-right: 6%;
	margin-bottom: 5%;
	transition: transform 0.3s ease;
    display: inline-block;
    flex-direction: column;
/*    border:0px solid;*/
    width: 40%;
    max-height: 100%;
    box-shadow:
/*    inset 0 -2em 3em rgba(0, 0, 0, 0.1),*/
    0 0 0 2px rgb(255, 255, 255),
    0.3em 0.3em 3em #00549F33;
	box-sizing: border-box;
	overflow:hidden;
}

.columnsofthree:hover{
    z-index:2000;
	transform: scaleX(1.1) scaleY(1.1); /* используем transform для масштабирования */
}

.columnsoftwo:hover{
    z-index:2000;
	transform: scaleX(1.1) scaleY(1.1); /* используем transform для масштабирования */
}

.text-overlay {
    display: none; /* Скрываем текст по умолчанию */
    padding: 10px;
	font-family: century-gothic, sans-serif;
}

.columnsoffour img {
    width: 100%;
    display: block;
}

.columnsofthree img {
    width: 100%;
    display: block;
}

.columnsoffour:hover .text-overlay {
    display: block; /* Показываем текст при наведении */
}


.columnsoftwo.show-text .text-overlay {
	display: block; /* Показываем текст при наведении */
}

.columnsoftwo.show-text{
	transform: scaleX(1.1) scaleY(1.1);
}

.footer-content {
  width:90%;
  display: flex;
  align-items: center;
  justify-content: right;
  gap: 15px; /* Отступ между элементами */
}

.icon-img {
  width: 24px; /* Задайте нужный размер иконки */
  height: 24px;
  display: inline-block;
}

.leftbar1
{
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
/*    border:0px solid;*/
    width: 31%;
    max-height: 100%;
    box-shadow:
/*    inset 0 -2em 3em rgba(0, 0, 0, 0.1),*/
    0 0 0 2px rgb(255, 255, 255),
    0.3em 0.3em 3em #00549F33;

}

#busicon{
    padding-top: 7%;
    padding-left: 7%;
    margin-bottom: 5%;

}

.h1bus{
    font-family: "Inter", sans-serif;
    font-size: calc(10px + 16 * (100vw / 1440));
    text-align: left;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
    padding-left: 7%;
    margin-bottom: 10%;

}
.labs{
    font-family: "Inter", sans-serif;
    font-size: calc(8px + 14 * (100vw / 1440));
    text-align: left;
    font-optical-sizing: auto;
    padding-left: 7%;
    padding-right: 7%;
    margin: 0;
    text-align: left;
    margin-bottom: 7%;
}



.leftbar1:hover{
    transform: scale(1.1); /* используем transform для масштабирования */
}



.middlebar1{
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
/*    border:0px solid;*/
    width: 31%;
    max-height: 100%;
    box-shadow:
   
    0 0 0 2px rgb(255, 255, 255),
    0.3em 0.3em 3em #00549F33;
}

.bars1{

}

#mashinamozg{
    padding-top: 7%;
    padding-left: 7%;
    margin-bottom: 5%;
}

.h1mozg{
    font-family: "Inter", sans-serif;
    font-size: calc(10px + 16 * (100vw / 1440));
    text-align: left;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
    padding-left: 7%;
    padding-right: 7%;
    margin-bottom: 10%; 
}

.labs2{
    font-family: "Inter", sans-serif;
    font-size: calc(8px + 14 * (100vw / 1440));
    text-align: left;
    font-optical-sizing: auto;
    padding-left: 7%;
    padding-right: 7%;
    margin: 0;
    text-align: left;
    margin-bottom: 3%; 
}

.middlebar1:hover{
    transform: scale(1.1); /* используем transform для масштабирования */
}

.rightbar1{
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
/*    border:0px solid;*/
    width: 31%;
    max-height: 100%;
    box-shadow:
/*    inset 0 -2em 3em rgba(0, 0, 0, 0.1),*/
    0 0 0 2px rgb(255, 255, 255),
    0.3em 0.3em 3em #00549F33;
}


.labs3{
    font-family: "Inter", sans-serif;
    font-size: calc(8px + 14 * (100vw / 1440));
    text-align: left;
    font-optical-sizing: auto;
    padding-left: 7%;
    padding-right: 7%;
    margin: 0;
    text-align: left;
    margin-bottom: 3%; 
}

.rightbar1:hover{
    transform: scale(1.1); /* используем transform для масштабирования */
}

#seti{
    padding-top: 7%;
    padding-left: 7%;
    margin-bottom: 5%;
}

.h1seti{
    font-family: "Inter", sans-serif;
    font-size: calc(10px + 16 * (100vw / 1440));
    text-align: left;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
    padding-left: 7%;
    padding-right: 7%;
    margin-bottom: 10%;  
}
.naprav1{


}

.nauch{
    color: white;
    background-color: #203864;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(10px + 18 * (100vw / 1440));
    width: 10%;
    height: 50%;
    border: 1px solid rgb(0, 0, 0);
    margin: 0;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: center;
}

.ystav1{
    padding-right: 7%;
    padding-left: 7%;
    display: flex;
    align-items: center;
    justify-content: center;

}

.ystav2{
    height: 10%;
    width: 100%;
}


.ystav{
    height: 7vh;
    width: 100%;
    background: rgb(132,182,219);
    background: linear-gradient(90deg, rgba(132,182,219,0) 10%, rgba(0,108,255,1) 50%, rgba(132,182,219,0) 90%);
    margin-top: 10px;
}


.end_of_block
{
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.left_side_of_block
{
    width: 38%;
    padding-left: 7%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.right_side_of_block
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 38%;
    padding-right: 7%;
}
/*Первый блок*/
.videos
{
    padding-top: 0;
    height: 98%;
    width: 100%;
}
#first_block
{
    margin-top: -15%;	
}
#io1
{
    margin-bottom: 10px;
	width:94%;
	margin-left:3%;
}
/*Второй блок*/
#h2_solid
{
    display: inline-block; /* Рамка будет только вокруг текста */
    border: 4px solid rgb(0, 0, 0); /* Толщина 2px, сплошная линия, черный цвет */
    border-radius: 40px; /* Скругленные углы */
    padding: 15px 15px; /* Внутренние отступы */
    margin-top: 5%;
}
/*Третий блок*/
.padding_top
{
    padding-top: 3%;
}
.buttons_block
{
    height: 100%;
    min-height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.social
{
    margin-top: 3%;
    display: flex;
    padding-right: 5vw;
    position: relative; /* Добавляем это свойство */

}

.social12{
    margin-top: 3%;
    display: flex;

    position: relative; /* Добавляем это свойство */
}

.vk23{

}

.vk23:hover{
    
   filter: drop-shadow(0px 10px 30px rgba(255, 255, 255, 1));
}

.social1
{
    display: flex;
    align-items: center;
    padding-right: 5vw;
    position: relative; /* Добавляем это свойство */

}

.podpisatsa{
    font-size: calc(8px + 12*(100vw / 1440));
    text-align: center;
    margin-top: 4%;
    margin-bottom: 5%;
}

.buttons_rush
{
    font-size: calc(8px + 14*(100vw / 1440));
    margin-bottom: 5px;
    color:white;
    background-color: rgb(1, 33, 96);
    text-align: justify;
    width: 100%;
    padding: 10px;
    margin-bottom: 1%;
    border: 2px solid rgb(46, 83, 143); /* Толщина 2px, сплошная линия, черный цвет */
    border-radius: 15px; /* Скругленные углы */
    cursor: pointer;
}

/*четвёртый блок*/
#fourth_block
{
    position: relative; /* Обеспечивает правильное позиционирование для вложенных элементов */
    z-index: 1;
}
.inline_p
{
    display: inline-block;
}
.no_space_top_bottom
{
    margin: 0;   
}
/*#bus_img
{
    position: relative;
    width: 45%;
    margin-left: 110%;
    margin-top: -13%;
}*/

.docs{
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
/*    flex-direction: column;*/
/*    border:0px solid;*/
    width: 100%;
    max-height: 100%;
    box-shadow:
    -webkit-box-shadow: 4px 4px 25px 29px rgba(0, 84, 159, 0.1);
    -moz-box-shadow: 4px 4px 25px 29px rgba(0, 84, 159, 0.1);
    box-shadow: 4px 4px 25px 29px rgba(0, 84, 159, 0.1);
    margin-top: 3%;
    margin-bottom: 3%;
    text-align: left;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
    
}

.docs{
    
}

.docs1{
    text-decoration: none;
}

#solid_text
{
    border: 2px solid black;
    border-radius: 5%;
    padding: 5%;
}


#bus_img:hover{
filter: drop-shadow(0px 5px 100px rgba(90, 93, 233, 0.78));
}



#bus_img_shadow
{
    position: absolute;
    top: -15%;
    left: 44%;
    width: 100%;
    height: 100%;
    background-image: url('images/shadow.png'); /* Используем то же изображение для тени */
    background-size: cover; /* Убедитесь, что изображение занимает весь блок */
    filter: blur(90px) brightness(0.7) saturate(1.5); /* Размытие для тени */
    z-index: 0; /* Тень под изображением */
    transform: translateX(60%); /* Сдвигает тень влево для выравнивания */
    opacity: 0; /* Изначально тень невидима */
}*/




.buttonup2{
    position: absolute;
    z-index: 1;
    margin-left: 7%;
    padding-right: 15%;
    background: none;
    margin-top: 12%;
    width: 100px;
    height: 100px;
    border: none;
    background-image: url('images/pngwing.com (up).png');
    background-size: cover;
    cursor: pointer;
}

.buttonup2:hover {
    opacity: 4;
/*    border: 3px solid black;*/
    transform: scale(0.95);
}

.lola {
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 105%;
    position: absolute; /* Позволяет всплывать поверх других элементов */
    top: 0;
    left: 0;
    display: none; /* Скрывает элемент по умолчанию */
    z-index: 10; /* Обеспечивает всплытие поверх остальных блоков */
}
.lola.visible {
    display: block; /* Показывает элемент, когда добавлен класс `visible` */
    align-items: center;

}
#in_me
{
    margin: 1% 0 0 5%;
    width: 90%;
    height: 87%;
    background-color: white
}
#btn_svg_1
{
    outline: none;
    cursor: pointer;
    border: none;
    background-color:transparent ;
    padding: 1.5% 1.5% 0 0;
}
.buses_img_div
{
    width: 90%;
    padding: 0 5% 2% 5%;
    display: flex;
    justify-content: space-between;
}
.img_busses
{
    object-fit: cover;
    width: 30%;
    height: 30%;
}
#sbcrbleft
{
    width: 25%;
}
#sbcrbright
{
    width: 56%;
}
#sbscrb_rght_in
{
    background-color: rgb(222,235,247);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5%;
    border-radius: 25%;
    border:2px solid rgb(46,83,143) 
}
#sbscrb_rght_in p, h1
{
    padding: 0;
    margin: 0;
}
#subscribe
{
    height:80%;
    width: 100%;
    border: medium dashed rgb(46,83,143);
    border-radius: 30%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 5%;
    background-color: rgb(222,235,247);
}

/*.socials12{
    display: inline-block; /* Сделает ссылку блочным элементом по размеру контента (изображения) */
    padding: 0; /* Убирает любые отступы */
    margin: 0;  /* Убирает внешние отступы */
    border: none; /* Убирает возможные границы */
    display: block;
}*/

#scl2
{
    padding: 0;
    margin: 0;
    margin-top: 4%;
    display: flex;
    align-items: center;
  

}
#sixth_block
{
    margin-bottom: 5%;
    margin-top: 5%;
}
/*Часть Альберта*/
#but123{
    justify-content: center;
    width: 93%;
}

.labs1
{
    font-size: calc(8px + 14*(100vw / 1440));
    margin-bottom: 5px;
    color:white;
    background-color: rgb(1, 33, 96);
    text-align: justify;
    width: 50%;
    padding: 5%;
    margin-bottom: 1%;
    border: 2px solid rgb(46, 83, 143); /* Толщина 2px, сплошная линия, черный цвет */
    border-radius: 30px; /* Скругленные углы */
    vertical-align: middle;
}

.left_side_of_block
{
    width: 38%;
    padding-left: 7%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slider-bachprogs {
  position: relative;
  width: 100%; /* ширина контейнера слайдера */
  overflow: hidden;
}

.slider-bachprogs-container {
  display: flex;
  transition: transform 0.3s ease;
}

.slide-bachprogs {
  min-width: 25.5%;
  text-align: center;
}

button-bachprogs {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ffffff;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 5px 10px;
}

.prev-bachprogs {
  left: 0;
  background-color:#00549F;
  border: none;
  color: #FFFFFF;
  cursor:pointer;
  margin-bottom:5%;
  margin-right: 10%;
  transform: scale(2);
}

.next-bachprogs {
  right: 0;
  background-color:#00549F;
  border: none;
  color: #FFFFFF;
  cursor:pointer;
  margin-bottom:5%;
  margin-left:10%;
  transform: scale(2);
}

.prev-bachprogs:hover {
  background-color:#007EBA;
}

.next-bachprogs:hover {
  background-color:#007EBA;
}

.slider-magprogs {
  position: relative;
  width: 100%; /* ширина контейнера слайдера */
  overflow: hidden;
}

.slider-magprogs-container {
  display: flex;
  transition: transform 0.3s ease;
}

.slide-magprogs {
  min-width: 25.5%;
  text-align: center;
}

button-magprogs {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ffffff;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 5px 10px;
}

.prev-magprogs {
  left: 0;
  background-color:#00549F;
  border: none;
  color: #FFFFFF;
  cursor:pointer;
  margin-bottom:5%;
  margin-right: 10%;
  transform: scale(2);
}

.next-magprogs {
  right: 0;
  background-color:#00549F;
  border: none;
  color: #FFFFFF;
  cursor:pointer;
  margin-bottom:5%;
  margin-left:10%;
  transform: scale(2);
}

.prev-magprogs:hover {
  background-color:#007EBA;
}

.next-magprogs:hover {
  background-color:#007EBA;
}

.slider-projects {
  position: relative;
  width: 100%; /* ширина контейнера слайдера */
  overflow: hidden;
}

.slider-projects-container {
  display: flex;
  transition: transform 0.3s ease;
}

.slide-projects {
  min-width: 51%;
  text-align: center;
}

button-projects {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ffffff;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 5px 10px;
}

.prev-projects {
  left: 0;
  background-color:#00549F;
  border: none;
  color: #FFFFFF;
  cursor:pointer;
  margin-bottom:5%;
  margin-right: 10%;
  transform: scale(2);
}

.next-projects {
  right: 0;
  background-color:#00549F;
  border: none;
  color: #FFFFFF;
  cursor:pointer;
  margin-bottom:5%;
  margin-left:10%;
  transform: scale(2);
}

.prev-projects:hover {
  background-color:#007EBA;
}

.next-projects:hover {
  background-color:#007EBA;
}

.slider-events {
  position: relative;
  width: 100%; /* ширина контейнера слайдера */
  overflow: hidden;
}

.slider-events-container {
  display: flex;
  transition: transform 0.3s ease;
}

.slide-events {
  min-width: 33%;
  text-align: center;
}

button-events {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ffffff;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 5px 10px;
}

.prev-events {
  left: 0;
  background-color:#00549F;
  border: none;
  color: #FFFFFF;
  cursor:pointer;
  margin-bottom:5%;
  margin-right: 10%;
  transform: scale(2);
}

.next-events {
  right: 0;
  background-color:#00549F;
  border: none;
  color: #FFFFFF;
  cursor:pointer;
  margin-bottom:5%;
  margin-left:10%;
  transform: scale(2);
}

.prev-events:hover {
  background-color:#007EBA;
}

.next-events:hover {
  background-color:#007EBA;
}

.slider-announcements {
  position: relative;
  width: 100%; /* ширина контейнера слайдера */
  overflow: hidden;
}

.slider-announcements-container {
  display: flex;
  transition: transform 0.3s ease;
}

.slide-announcements {
  min-width: 25.5%;
  text-align: center;
}

button-announcements {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ffffff;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 5px 10px;
}

.prev-announcements {
  left: 0;
  background-color:#00549F;
  border: none;
  color: #FFFFFF;
  cursor:pointer;
  margin-bottom:5%;
  margin-right: 10%;
  transform: scale(2);
}

.next-announcements {
  right: 0;
  background-color:#00549F;
  border: none;
  color: #FFFFFF;
  cursor:pointer;
  margin-bottom:5%;
  margin-left:10%;
  transform: scale(2);
}

.prev-announcements:hover {
  background-color:#007EBA;
}

.next-announcements:hover {
  background-color:#007EBA;
}

.slider-news {
  position: relative;
  width: 100%; /* ширина контейнера слайдера */
  overflow: hidden;
}

.slider-news-container {
  display: flex;
  transition: transform 0.3s ease;
}

.slide-news {
  min-width: 51%;
  text-align: center;
}

.slider-team {
  position: relative;
  width: 100%; /* ширина контейнера слайдера */
  overflow: hidden;
}

.slider-team-container {
  display: flex;
  transition: transform 0.3s ease;
}

.slide-team {
  min-width: 25.5%;
  text-align: center;
}

button-team {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ffffff;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 5px 10px;
}

.prev-team {
  left: 0;
  background-color:#00549F;
  border: none;
  color: #FFFFFF;
  cursor:pointer;
  margin-bottom:5%;
  margin-right: 10%;
  transform: scale(2);
}

.next-team {
  right: 0;
  background-color:#00549F;
  border: none;
  color: #FFFFFF;
  cursor:pointer;
  margin-bottom:5%;
  margin-left:10%;
  transform: scale(2);
}

.prev-team:hover {
  background-color:#007EBA;
}

.next-team:hover {
  background-color:#007EBA;
}


button-news {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ffffff;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 5px 10px;
}

.prev-news {
  left: 0;
  background-color:#00549F;
  border: none;
  color: #FFFFFF;
  cursor:pointer;
  margin-bottom:5%;
  margin-right: 10%;
  transform: scale(2);
}

.next-news {
  right: 0;
  background-color:#00549F;
  border: none;
  color: #FFFFFF;
  cursor:pointer;
  margin-bottom:5%;
  margin-left:10%;
  transform: scale(2);
}

.prev-news:hover {
  background-color:#007EBA;
}

.next-news:hover {
  background-color:#007EBA;
}

.slider-contacts {
  position: relative;
  width: 100%; /* ширина контейнера слайдера */
  overflow: hidden;
}

.slider-contacts-container {
  display: flex;
  transition: transform 0.3s ease;
}

.slide-contacts {
  min-width: 33%;
  text-align: center;
}

button-contacts {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #ffffff;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 5px 10px;
}

.prev-contacts {
  left: 0;
  background-color:#00549F;
  border: none;
  color: #FFFFFF;
  cursor:pointer;
  margin-bottom:5%;
  margin-right: 10%;
  transform: scale(2);
}

.next-contacts {
  right: 0;
  background-color:#00549F;
  border: none;
  color: #FFFFFF;
  cursor:pointer;
  margin-bottom:5%;
  margin-left:10%;
  transform: scale(2);
}

.prev-contacts:hover {
  background-color:#007EBA;
}

.next-contacts:hover {
  background-color:#007EBA;
}

.faq-item {
  border: 1px solid #ddd;
  padding: 15px;
  margin: 5px 0;
  cursor: pointer;
  transition: background-color 0.3s;
  background-color: white;
}

.faq-item:hover {
  background-color: #f0f0f0;
}

.faq-question {
  font-family: 'Century Gothic', sans-serif;
}

.faq-answer {
  font-family: 'Century Gothic', sans-serif;
  display: none;
  margin-top: 10px;
  font-size: 14px;
  font-weight: bold;
}

.contacts_new {
  font-family: 'Century Gothic', sans-serif;
  font-weight: bold;
  font-size: 16.5px;
  color:black;
}

.left_side_of_block1
{
    width: 100%;
    padding-left: 7%;
    padding-right: 9%;
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.buttonup{
    margin-left: 7%;

    background: none;
    margin-top: 0%;
    width: 100px;
    height: 100px;
    border: none;
    background-image: url('images/pngwing.com (up).png');
    background-size: cover;
    cursor: pointer;
}

.buttonup:hover {
    opacity: 4;
/*    border: 3px solid black;*/
    transform: scale(0.95);
}





.right_side_of_block
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 38%;
    padding-right: 7%;
}
.labs1
{
    display: flex;
    justify-content: center;
    position: relative;
    height: auto;
    margin-left: 10%;
    width: 90%;
}

.ev_text {
    margin-left: 7%;
    width: 86%;
    margin-top: 2%;
    color:rgb(0, 0, 0);
    text-align: left;
}
.events{
    width: 86%;
    display: flex;
    justify-content: space-between;
    padding-right: 7%;
    padding-left: 7%;
}
.evleftphoto_container
{
    height: 30vh;
    background-repeat: no-repeat;
    background-size: cover;
}
#evleftphoto_container_1
{
    background-image: url(images/eventions/ev_photo1.png);
}
#evleftphoto_container_2
{
    background-image: url(images/eventions/ev_photo2.png);
}
#evleftphoto_container_3
{
    background-image: url(images/eventions/ev_photo3.png);
}
.evleftphoto{
    width: 100%;
}
.ev_photo
{
    width: 30%;
}

#aboutus{
    padding-left: 7%;
    padding-right: 7%;
    text-align: left;
   
}
.ablink{
    margin:0;
    display: flex;
    padding-left: 7%;
    padding-right: 7%;
    flex-direction: column
}

.ablink1{
    display: flex;
    align-items: center;


}
/*мы тут*/
#partners{
    padding-left: 7%;
    padding-right: 7%;
    text-align: left;
    font-family: "Russo One", sans-serif;
    letter-spacing: 0.1em;
    margin-top: 5%;
    margin-bottom: 0;

}
.partners2 {
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.partners2 img
{
    height: 50%;
    padding-left: 0.5%;
    transition: transform 3s ease-in-out;
}

@keyframes moveLeftToRight {
    0% {
      transform: translateX(-50%);
    }
    100% {
      transform: translateX(-100%);
    }
  }

.carousel 
{
    padding-bottom: 3%;
    height: 250px;
    display: flex;
    align-items: center;
    animation: moveLeftToRight 60s linear infinite;
}
#part
{
    height: 50%;
}
.leftab{
    display: flex;
    align-items: center;
}
.rightab{
    display: flex;
    align-items: center;
    margin-left: 2%;
}
.ablink2{
    display: flex;
    align-items: center;
}
.logokamaz{
    padding-left: 7%;
    padding-right: 7%;
    max-width: 40%;
    max-height: 40%;
}
#logokamaz{
    width: 60%;
    display: flex;
    justify-content: center;
}
.container1 {
    width: 100%;
    display: flex;
    justify-content: center;
    height: 500px;
    gap: 10px;
    padding-bottom: 3%;
}
.container1 > div {
  flex: 0 0 120px;
  border-radius: 0.5rem;
  transition: 0.5s ease-in-out;
  cursor: pointer;
  box-shadow: 1px 5px 15px #1e0e3e;
  position: relative;
  overflow: hidden;
}
.container1 > div:nth-of-type(1) {
  background: url("images/direction/gavarieva3.png") no-repeat 50%/cover;
}

.container1 > div:nth-of-type(2)
{
  background: url("images/direction/zamdirectorpish.png") no-repeat 50%/cover;
}

.container1 > div:nth-of-type(3) {
  background: url("images/direction/directorpish.png") no-repeat 50%/cover;

}
.container1 > div .content3 {
  font-size: 0.5rem;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0px;
  opacity: 0;
  flex-direction: column;
  height: 100%;
  justify-content: flex-end;
  background: #02022e;
  background: linear-gradient(0deg, rgba(2, 2, 46, 0.6755077031) 0%, rgba(255, 255, 255, 0) 100%); backdrop-filter: blur(33px);
  transform: translatey(100%);
  transition: opacity 0.5s ease-in-out, transform 0.5s 0.1s;
  visibility: hidden;
}
.container1 > div .content3 span {
  display: block;
  margin-top: 5px;
  font-size: 1.2rem;
}
.container1 > div:hover {
  flex: 0 0 1120px;
  box-shadow: 1px 3px 15px #7645d8;
  transform: translatey(-30px);
}
.container1 > div:hover .content3 
{
  opacity: 1;
  transform: translatey(0%);
  visibility: visible;
}
#cover123
{
    height: auto;
    width: 100%;
}
#cover124
{
    height: auto;
    width: 100%;
}
#cover125
{
    height: auto;
    width: 100%;
}
.tedw a:hover {
    text-decoration-line: underline;
    text-decoration-color: #1C7EDF;

}

.studbuttop{
    display: inline-block;
    justify-content: space-between;
}
.studbutt{
    display: flex;
    justify-content: space-between;    
}

#studbuttop1{
    display: flex;
    justify-content: space-between;
}
/*Контакты*/
#contact_left
{
    border-radius: 15%;
    width: 25%;
    background-color: rgb(172, 205, 235);
    margin-left: 7%;
    padding-left: 0;
}
#contact_middle
{
    border-radius: 15%;
    width: 25%;
    background-color: rgb(222, 235, 246);
}
#contact_right
{
    border-radius: 15%;
    width: 25%;
    margin-right: 7%;
    padding-right: 0;
}
#map_ref
{
    background-image: url(images/map.png);
    width: 100%;
    height: 80%;
    background-size: cover;
}
#point1
{
    margin-top: -3%;
    padding-left: 28%;
    position: absolute;
}
#point2
{
    margin-top: -3%;
    padding-left: 58.5%;
    position: absolute;
}
.contact_info
{
    padding: 3%;
}
.undl
{
    text-decoration: underline;
}
#contact_info2
{
    display: block;
}

#bus_img_container {
    position: relative;
    width: 50%; /* Регулируйте ширину контейнера по необходимости */
    height: 50%;
    margin-left: 0;
    margin-top: -3%;
    display: flex;
    
}
#bus_img {
    margin-left: -100%;
    margin-top: -30%;
    width: 150%;
    position: absolute;
    z-index: 1; /* Размещает изображение поверх тени */
}

#classnaya
{
/*/*    outline: none;*/
    position: absolute;
    width: 45%;
    height: 7vh;
    top: -10%;
    left: 155%;
    cursor: pointer;
/*    margin-left: 75%;*/
    z-index: 1;
    border: none;
    animation: none;
    background-color: rgba(0, 0, 0, 0);
    transform: rotate(-1deg);
}*/
/*#classnaya:hover + #bus_img_shadow {
    opacity: 1; /* Тень становится видимой при наведении на кнопку */
}*/

body {
    min-height: 2000px; /* Достаточная высота для прокрутки */
}

#feedbackButton {
  z-index: 2;
  position: fixed;
  right: 3rem;
  bottom: 10rem;
  border-radius: 100%;
  background: #00549f;
  padding: 0.7%;
  border: none;
  cursor: pointer;
  opacity: 100%;
  transition: opacity 0.5s;
}

#feedbackButton img {
    width: 48px; /* Настройте размер кнопки */
    height: 48px;
    border-radius: 0%; /* Убедитесь, что изображение круглое */
}

#feedbackButton:hover {
    /*  opacity: 60%;*/
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#feedbackForm {
	z-index:3000;
    display: none;
    position: fixed;
    right: 3rem;
    bottom: 15rem; /* Над кнопкой */
    width: 350px;
    padding: 15px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s;
    border: 1px solid #ddd;
}

.form-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

textarea {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px;
}

button_mess {
    background-color: #007BFF;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
}

.send {
  padding-top:2%;
  padding-bottom:2%;
  margin-top:10%;
  margin-bottom:5%;
  margin-left:37%;
  background-color:#00549F;
  border: none;
  color: #FFFFFF;
  cursor:pointer;
  transform: scale(2);
}

.send:hover {
  background-color:#007EBA;
}

.labs {
    cursor: pointer;
    position: relative;
}

.description-box {
    display: none; /* Скрыто по умолчанию */
    position: absolute;
    background-color: #fff;
        box-shadow:
/*    inset 0 -2em 3em rgba(0, 0, 0, 0.1),*/
    0 0 0 2px rgb(255, 255, 255),
    0.3em 0.3em 3em #00549F33;
    padding: 15px;
    margin-top: 5px;
    width: 65%; /* Настроить под желаемую ширину */
    z-index: 100;
    border-radius: 8px; /* Скругленные углы */
    opacity: 0; /* Начальная прозрачность */
    visibility: hidden; /* Элемент скрыт */
    transition: opacity 0.3s ease, visibility 0s 0.3s; /* Плавное исчезновение */
}

/* Когда блок видим, добавляем класс .visible */
.description-box.visible {
    opacity: 1;
    visibility: visible;
	font-family: 'Century Gothic', sans-serif;
}

.description-image img {
    /*max-width: 100%; /* Масштабируем изображение по ширине контейнера */
    /*max-height: 50%; /* Сохраняем пропорции */
    margin-right: 5px;
    display: block; /* Убираем пробелы внизу изображения */
    margin-bottom: 10px; /* Немного отступа снизу */
}

.equipment-toggle {
    font-family: 'Century Gothic', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: blue;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 10px;
}

.equipment-list {
    display: none; /* Скрыто по умолчанию */
    list-style-type: disc;
    margin-top: 10px;
    margin-left: 20px;
    font-family: 'Century Gothic', sans-serif;
    font-size: 14px;
}

.equipment-list.visible {
    display: block; /* Показываем список */
}

.menu {
    display: flex;
    align-items: center;
    background-color: #00549f; /* Синий фон */
    height: 50px; /* Высота родительского блока */
    position: relative;
    padding: 0 15px;
    overflow: visible; /* Скрываем выходящие части */
	margin-bottom: 5%;
}

.menu-left {
	font-family: 'Century Gothic', sans-serif;
    font-size: 18px;
    color: white;
    font-weight: bold;
}

.menu-center {
    display: inline-block;
    margin-left: auto; /* Отступ кнопки от правого края */
	margin-right: 15%;
    height: 100%; /* Кнопка будет занимать всю высоту родителя */
    position: relative;
	overflow:visible;
}

.menu-item {
	display: inline-block;
    height: 100%; /* Высота кнопки равна высоте родителя */
    line-height: 50px; /* Текст выравнивается по высоте */
    background-color: white;
    color: #78A4CC;
    font-family: 'Century Gothic', sans-serif;
    font-size: 18px;
    text-decoration: none;
    text-align: center;
    position: relative;
    padding: 0 40px; /* Ширина кнопки */
    transform: skew(20deg); /* Наклон кнопки */
    transition: background-color 0.3s, color 0.3s;
    z-index: 1; /* Поверх голубых вставок */
    box-shadow: 0 -3px 5px rgba(0, 0, 0, 0.2), 0 3px 5px rgba(0, 0, 0, 0.2); /* Тени только сверху и снизу */
}

.menu-item span {
    display: inline-block;
    transform: skew(-20deg); /* Выровняем текст внутри кнопки */
    white-space: nowrap; /* Убедимся, что текст не переносится */
}

.menu-item:hover {
    background-color: #78A4CC; /* Голубой фон при наведении */
    color: white;
}

/* Стиль для активной кнопки */
.menu-item.active {
    background-color: #78A4CC; /* Голубой фон */
    color: white;               /* Белый текст */
}

.menu-center::before, .menu-center::after {
    content: '';
    position: absolute;
    top: 0;
    width: 11px;
    height: 100%; /* Вставки занимают всю высоту кнопки */
    background-color: #78A4CC; /* Голубые вставки */
    z-index: 5; /* Под кнопкой */
}

.menu-center::before {
    left: -10px;
    transform: skew(20deg); /* Левая голубая вставка */
}

.menu-center::after {
    right: -10px;
    transform: skew(20deg); /* Правая голубая вставка */
}

/* Стиль для выпадающего меню */
.menu-dropdown-bach {
    display: block;
    max-height: 0;  /* Начальная высота 0 (скрыто) */
    opacity: 0;     /* Начальная непрозрачность 0 (невидимо) */
    overflow: hidden; /* Скрываем содержимое, если оно выходит за пределы */
    transition: max-height 0.5s ease, opacity 0.5s ease; /* Плавная анимация */
    padding: 0 20px;
}

/* Когда меню открыто, устанавливаем максимальную высоту */
.menu-dropdown-bach.visible {
    max-height: 1000px; /* Максимальная высота (настраиваем по контенту) */
    opacity: 1;        /* Видимость меню */
}

/* Стили для элементов в меню */
.menu-dropdown-bach p {
    margin: 10px 0;
    font-size: 14px;
    color: #333;
}

/* Стиль для выпадающего меню */
.menu-dropdown-mag {
    display: block;
    max-height: 0;  /* Начальная высота 0 (скрыто) */
    opacity: 0;     /* Начальная непрозрачность 0 (невидимо) */
    overflow: hidden; /* Скрываем содержимое, если оно выходит за пределы */
    transition: max-height 0.5s ease, opacity 0.5s ease; /* Плавная анимация */
    padding: 0 20px;
}

/* Когда меню открыто, устанавливаем максимальную высоту */
.menu-dropdown-mag.visible {
    max-height: 1000px; /* Максимальная высота (настраиваем по контенту) */
    opacity: 1;        /* Видимость меню */
}

/* Стили для элементов в меню */
.menu-dropdown-mag p {
    margin: 10px 0;
    font-size: 14px;
    color: #333;
}

.toggle-btn {
    width: 50px; /* Ширина кнопки */
    height: 50px; /* Высота кнопки */
    border: none; /* Обводка */
    cursor: pointer; /* Указатель при наведении */
    display: flex; /* Для центрирования содержимого */
    justify-content: center; /* По горизонтали */
    align-items: center; /* По вертикали */
    padding: 0; /* Убираем внутренние отступы */
    transition: background-color 0.3s, transform 0.3s; /* Анимация */
	background-color:transparent;
}

.toggle-btn:hover {
     transform: scale(1.1); /* Увеличение */
}

.toggle-btn img {
    width: 24px; /* Размер иконки */
    height: 24px;
    transition: transform 0.3s; /* Анимация для иконки */
}

.toggle-btn.active img {
    transform: rotate(45deg); /* Пример вращения (по желанию) */
}