@font-face {
    font-family: 'MontserratAlternates-Regular';
    src: url('../fonts/monserat-alternates/MontserratAlternates-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'MontserratAlternates-SemiBold';
    src: url('../fonts/monserat-alternates/MontserratAlternates-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'MontserratAlternates-Light';
    src: url('../fonts/monserat-alternates/MontserratAlternates-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'MontserratAlternates-Bold';
    src: url('../fonts/monserat-alternates/MontserratAlternates-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'MontserratAlternates-Italic';
    src: url('../fonts/monserat-alternates/MontserratAlternates-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'ABeeZee-Regular';
    src: url('../fonts/ABeeZee/ABeeZee-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Inter-Regular';
    src: url('../fonts/inter/Inter-Regular.ttf') format('truetype');
    font-weight: 400;   
    font-style: normal;
}


body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #F1EFFF;

}

body.events__page {
    background: #DFDCF3;
}


main {
    flex: 1;
    /* Занимает все доступное пространство по вертикали */
}

.btn-green {
    background: #2DBC7C;

}

section {
    padding: 0 20px;
}

/* ----------------- header ------------------ */
header{
    z-index: 1000;
}





.header::before {
    content: ""; /* Создание псевдоэлемента */
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    margin: 0 auto;
    width: 85%;
    height: 150px;
    border-radius: 0px 0px 100px 100px;
    background: #ffffff;
    z-index: -1; /* Помещение фона под содержимое */
}

.header__top-logo {
    font-family: 'MontserratAlternates-Regular', sans-serif;
    font-size: 12px;
    display: flex;
    max-width: 350px;
    gap: 16px;
}

.header__top-logo span {
    font-family: 'ABeeZee-Regular', sans-serif;
    font-size: 10px;
}

.header__top {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.name-school {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 0.7;
}

.name-school p {
    line-height: 1;
}

.header__tel-button {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 183px;
    height: 65px;
    flex-shrink: 0;
    border-radius: 15px 15px 30px 15px;
    background: #2DBC7C;
    gap: 4px;
    transition: all 0.5s allow-discrete;
}



.header__top-button {
    display: flex;
    gap: 7px;
}


.vk-button img{
    transition: all 0.5s allow-discrete;
}

.vk-button:hover img{
    border-radius: 50px;
}


.header__tel-button p {
    font-family: 'MontserratAlternates-SemiBold', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    color: #FFFFFF;
    display: flex;
    align-items: center;
}


.header__tel-button span {
    text-align: center;
    margin-left: 10px;
    font-family: 'MontserratAlternates-Light', sans-serif;
    font-size: 11px;
    font-style: normal;
    font-weight: 300;
    color: #FFFFFF;
}

.header__tel-button img {
    margin-right: 11px;
}

.header__inner {
    gap: 10px;
}

#item-1:hover, #item-0:hover, #item-2:hover{
    transition: all 0.5s allow-discrete;
}

    
.header__tel-button:hover, #item-1:hover, #item-0:hover, #item-2:hover, a.about__button.btn-green:hover, a.about-section__card-btn.btn-purple:hover, .footer__tel-button:hover {
    border: none;
    border-radius: 30px 15px 15px 15px !important;
}


.menu__link{
    color: #333;
}

.menu__item .menu__link:hover{
    color: #111111;
    text-decoration: underline;
}

.menu__link:hover svg path {
    fill: black; /* Новый цвет иконки при наведении */
}


nav.menu {
    margin-top: 20px;
    /*display: flex;
    justify-content: space-between;
    gap: calc(15px + 30 * (100vw / 1200));
    flex-wrap: wrap;
    width: 100%;*/
}

/* @media (max-width: 815px) {
    nav.menu {
        grid-template-columns: 1fr;
        gap: 0;
        align-items: center;
    }
} */

li.menu__item {
    display: flex;
    justify-content: space-between;
    font-family: 'MontserratAlternates-Regular', sans-serif;
    font-size: 16px;
    color: #2D2D2D;    
}

/*.menu__list {
    display: flex;
    justify-content: space-between;
    font-family: 'MontserratAlternates-Regular', sans-serif;
    font-size: 16px;
    color: #2D2D2D;
    width: 90%;
}*/

.menu__list a {
    color: #333;
}
.menu__list a:hover{
    color: #111111;
    text-decoration: underline;
}


/* ----------------- Главный баннер ------------------ */

.main__banner {
    margin-top: 0px;
}


.main__banner.about {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.about {
    display: flex;
    gap: 23px;
}

.about__title h1 {
    color: #515151;
    font-family: 'MontserratAlternates-SemiBold', sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: 50px;
    /* 138.889% */
    max-width: 550px;
}

.about__title {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.about__title p {
    color: #515151;
    font-family: 'MontserratAlternates-SemiBold', sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.4;
    max-width: 450px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 9;
    text-overflow: ellipsis;
}

.about__button.btn-green {
    width: 287px;
    height: 42px;
    display: flex;
    border-radius: 15px 50px;
    align-items: center;
    justify-content: center;
    transition: all 0.5s allow-discrete;
}

.about__button.btn-green p {
    color: #FFF;
    font-size: 16px;
    font-family: 'MontserratAlternates-Regular', sans-serif;
    font-weight: 100;
}

.angry-grid {
    display: grid;
    font-family: 'MontserratAlternates-SemiBold', sans-serif;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 264px 1fr;
    color: #FFF;
    gap: 24px;
    height: 100%;
    width: 474px;
    height: 394px;
 }

 #item-0 {
    position: relative;
    background-color: #E9C799;
    grid-row-start: 1;
    grid-column-start: 2;

    grid-row-end: 3;
    grid-column-end: 3;
    flex-shrink: 1;
    border-radius: 30px 60px;
    background: #5B45FF;

 }

 #item-0 .text{
    position: absolute;
    top: 44px;
    left: 17px;
    line-height: 1.7;
 }
 #item-0 .item-0__icon{
    position: absolute;
    bottom: 21px;
    right: 21px;
 }

 #item-1 {

    background-color: #8B9BCA;
    grid-row-start: 1;
    grid-column-start: 1;
    position: relative;
    grid-row-end: 2;
    grid-column-end: 2;
    flex-shrink: 0;
    height: 210px;
    border-radius: 30px 60px;
    background: #EF584E;

 }

 #item-1 .text{
    position: absolute;
    top: 44px;
    left: 17px;
    line-height: 1.7;
 }
 #item-1 .item-1__icon{
    position: absolute;
    bottom: 21px;
    right: 21px;
 }

 #item-2 {

    background-color: #977D78;
    grid-row-start: 2;
    grid-column-start: 1;
    position: relative;
    grid-row-end: 3;
    grid-column-end: 2;

    flex-shrink: 0;
    border-radius: 60px 5px 60px 30px;
    border-radius: 30px 60px 5px 60px;
    background: #DAA915;

 }

 #item-2 .text{
    position: absolute;
    top: 44px;
    left: 17px;
    line-height: 1.7;
 }
 #item-2 .item-2__icon{
    position: absolute;
    bottom: 21px;
    right: 21px;
 }


 .main__banner.items {
    display: flex;
    justify-content: space-between;
    margin-top: 54px;
    flex-wrap: wrap;
}

.main__banner.items .item{
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'MontserratAlternates-Regular', sans-serif;
    font-size: 20px;
    gap: 15px;
    height: 60px;
    padding-left: 40px;
    padding-right: 50px;
    background-color: #FFF;
    color: #333;
    border-radius: 15px;
    transition: background-color 0.3s ease;
}

.main__banner.items .item:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Тень с размытием при наведении */
}

.school__foto{
    position: absolute;
    bottom: -5px;
    left: 460px;
}


/* ----------------- События ------------------ */

.events{
    color: #515151;
    margin-top: 45px;
}


.events__top-all:hover {

    color: black; 
}

.events__top-all:hover svg path {
    fill: black; 
}

.events__top-title{
    font-family: 'MontserratAlternates-Bold', sans-serif;
    font-size: 44px;
    margin-top: 30px;
}

.events__top-all{
    font-family: 'MontserratAlternates-Bold', sans-serif;
    font-size: 16px;
    color: #BCBDC0;
    display: flex;
    gap: 5px;
}

.events {
    position: relative; /* Установка позиции относительно */
    overflow: hidden; /* Скрытие части фона, выходящей за границы */
}

.events::before {
    content: ""; /* Создание псевдоэлемента */
    position: absolute;
    top: 0;
    left: 0;
    width: 87%;
    height: 100%;
    border-radius: 100px 100px 100px 0px;
    background: #DFDCF3;
    z-index: -1; /* Помещение фона под содержимое */
}

.container {
    position: relative; /* Установка позиции относительно для контейнера */
    z-index: 1; /* Помещение содержимого над фоном */
    width: 100%;
    max-width: 1110px; /* Максимальная ширина контейнера */
    margin: 0 auto; /* Центрирование контейнера */
    padding: 20px 0px;
}

.events__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 70px;
}

section.events.all {
    margin-bottom: 70px;
}


.event{
    color: #515151;
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.container .event:nth-child(1)  {
    margin-top: 73px !important;
}

.event__date{
    font-family: 'MontserratAlternates-Bold', sans-serif;
    font-size: 16px;
    color: #515151;
}

.description-title{
    font-family: 'MontserratAlternates-Regular', sans-serif;
    font-size: 24px;
}

.description{
    font-family: 'MontserratAlternates-Regular', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    max-height: 70px;
    overflow: hidden;
}

.more{
    display: flex;
    gap: 10px;
    text-transform: uppercase;
    font-family: 'MontserratAlternates-Bold', sans-serif;
    font-size: 16px;
    color: #BCBDC0;
}

.more:hover {
    color: black;
}
.more:hover svg path {
    fill: black; /* Новый цвет иконки стрелочки при наведении */
}

.event__description{
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event__description__mob{
    display: none;
}

.events hr {
    border: none;
    height: 2px;
    background-color: #515151;
    margin: 0;
    width: 95%;
    margin: 0 auto;
    margin: 20px;
}
.afisha hr {
    border: none;
    height: 2px;
    background-color: #515151;
    margin: 0;
    width: 95%;
    margin: 0 auto;
    margin: 20px;
}

section.afisha.all {
    margin-top: 0;
}

section.events.all {
    margin: 0;
}

.event__img img{
    border-radius: 60px 30px;
    max-width: 265px;
    max-height: 210px;
}

.event-label {
    width: 97px;
    height: 29px;
    background: #9080FF;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: 'MontserratAlternates-Bold', sans-serif;
    font-size: 11px;
    border-radius: 4px;
    text-transform: uppercase;
}

.detail__description{
    font-family: 'MontserratAlternates-Regular', sans-serif;
    font-size: 16px;
    color: #515151;
    margin-top: 44px;
    line-height: 1.3;
}

.detail__img {
    margin-top: 42px;
}

.detail__img img {
    max-width: 100%;
    height: auto;
}

.recomendations__item-img img{
    width: 100%;
    height: auto;
}

.recomendations{
    margin-top: 30px;
}

.recomendations__title p{
    font-family: 'MontserratAlternates-Bold', sans-serif;
    font-size: 16px;
    color: #9080FF;
}

.recomendations__items {
    display: flex;
    justify-content: space-between;
    margin-top: 13px;
    gap: 10px;
    list-style: none;
}

.recomendations__item-img{
    position: relative;
}

.recomendations__item-label{
    position: absolute;
    width: 74px;
    height: 19px;
    background-color: #9080FF;
    color: white;
    font-family: 'MontserratAlternates-Bold', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 11px;
    border-radius: 4px;
    bottom: 21px;
    left: 18px;
}

.recomendations__item-name p{
    font-family: 'MontserratAlternates-Regular', sans-serif;
    font-size: 20px;
    margin-top: 10px;
    color: #515151;
}

/* ----------------- Афиша ------------------ */

.afisha{
    margin-top: 46px;
    color: #515151;
    position: relative;
}

body.afisha__page {
    background: #F3EBDC;
}

.afisha::before{
    content: ""; /* Создание псевдоэлемента */
    position: absolute;
    top: 0;
    right: 0;
    width: 87%;
    height: 100%;
    border-radius: 100px 100px 0px 100px;
    background: #F3EBDC;
    z-index: -1; /* Помещение фона под содержимое */
}

/* ----------------- Страница события ------------------ */

.event__detail-item .item__top {
    display: flex;
    gap: 17px;
}

/* ----------------- О школе ------------------ */

section.about-section {
    margin-top: 20px;
}

.about-section__description{
    font-family: 'MontserratAlternates-SemiBold', sans-serif;
    font-size: 15px;
    color: #515151;
    line-height: 1.5;
    margin-top: 60px;
}
.about-section__title{
    font-family: 'MontserratAlternates-Bold', sans-serif;
    font-size: 44px;
    color: #515151;
}

.about-section__card {
    font-family: 'MontserratAlternates-Regular', sans-serif;
    display: flex;
    justify-content: start;
    gap: 30px;
    padding: 32px;
    background: #EAE7FF;
    border-radius: 30px 30px 200px 30px;
    align-items: center;
    margin-top: 20px;
}

.about-section__card-description {
    max-width: 461px;
}

.about-section__card-details .full-name{
    max-width: 275px;
    font-size: 36px;
    line-height: 1.3;
}

.about-section__card-description .text{
    font-family: 'MontserratAlternates-Italic', sans-serif;
    font-size: 16px;
    line-height: 1.3;
}
.about-section__card-details .speciality{
    margin-top: 15px;
}

a.about-section__card-btn.btn-purple {
    margin-top: 15px;
    display: flex;
    border-radius: 15px 50px;
    background: #5B45FF;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    max-width: 337px;
    height: 42px;
    transition: all 0.5s allow-discrete;
}


/* ----------------- О школе ------------------ */
section.gallery-section {
    margin-top: 30px;

}
.gallery__section-grid{
    display: grid;
    grid-template-rows: 233px 1fr;
    gap: 35px;
}

.gallery__item-1{
    position: relative;
    grid-row-start: 1;
    grid-column-start: 1;
    grid-row-end: 3;
}

.gallery__item-2{
    position: relative;
    height: 233px;
    grid-row-start: 1;
    grid-column-start: 2;
    grid-row-end: 1;
}

.gallery__item-3{
    position: relative;
    grid-row-start: 1;
    grid-column-start: 3;
    grid-row-end: 1;
}
.gallery__item-4{
    position: relative;
    grid-row-start: 2;
    grid-column-start: 3;
    grid-row-end: 2;
    align-self: end; 
}
.gallery__item-5{
    position: relative;
    grid-row-start: 2;
    grid-column-start: 2;
    grid-row-end: 2;
} 

.gallery-section img {
    max-width: 100%;
    height: auto;
}


/* ---------------------------------- */












 /* ----------------- Соц. сети ----------------- */

 .social-section{
    
    width: 70%;
    background-color: #32B47A;
    margin: 40px auto 0;
    max-height: 662px;
    border-radius: 96px;
    
 }

 

 .social-section__content{
    display: flex;
    justify-content: space-between;
    align-items: center;
 }

 .social-section__text{
    font-family: 'MontserratAlternates-Regular', sans-serif;
 }

 .social-section__text .vk p{
    font-size: 48px;
    color: #FFFFFF;
 }
 .social-section__text .vk{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 71px;
 }


 .social-section__text .vk .ps p{
    font-size: 24px;
    color: #FFF;
    max-width: 365px;
 }

 .social-section__text .vk a{
    color: #3300FF;
    font-size: 48px;
 }
 .social-section__text .vk a:hover{
    color: #6d55cc;
    font-size: 48px;

 }

 .social-section__img {
    align-self: flex-end; /* Выравнивание по нижнему краю */
}
 .social-section__img img{
    position: relative;
    bottom: -23px;
    right: -13%;
    max-width: 67%;
}

.social-section__text .vk p span{
    color: #FFCF3C;
}
/* Страница с отделениями */

section.otdel {
    margin-top: 40px;
}

section.otdeleniya.main__banner .main__banner.img img{
    width: 100%;
    border-radius: 76px 0px 76px 76px;
}

.otdelenie__section-foto {
    display: flex;
    gap: 20px;
}


.otdelenie__section.about {
    justify-content: space-between;
}

.otdelenie__section-foto.col-1 {
    display: flex;
    flex-direction: column;
}

.otdelenie__section-foto img {
    border-radius: 30px 60px;
}

.otdelenie__section.about .about__title{
    padding: 27px 18px;
    background: #5B45FF;
    border-radius: 30px 60px;
}

.otdelenie__section.about .about__title h1, .otdelenie__section.about .about__title p {
    color: white;
}


.btn{
    width: 287px;
    height: 42px;
    display: flex;
    border-radius: 15px 50px;
    align-items: center;
    justify-content: center;
    transition: all 0.5s allow-discrete;
}
.btn:hover{
    border: none;
    border-radius: 30px 15px 15px 15px !important;
}

.btn-purple{
    background: #9C8FFF;
}

.btn-pink{
    background-color: #FFA49E;
}
.otdelenie__section.about .about__title.pink{
    background: #EF584E;
}

.btn-yellow{
    background-color: #FFD34D;
}
.otdelenie__section.about .about__title.yellow{
    background: #DAA915;
}



.art .otdelenie__section-foto img{
    border-radius: 60px 30px;
}


.about__title .about__button p{
    margin-top: 0;
}

/* Страница отделения */

.otdelenie {
    padding: 0 20px;
}

.otdelenie__title h1{
    font-family: 'MontserratAlternates-SemiBold', sans-serif;
    font-size: 28px;
    text-align: center;
}

.otdelenie .about__title p{
    max-width: 100%;
    margin-top: 34px;
}

.sign-up{
    margin-top: 100px;
    text-align: center;
}

.sign-up p{
    color: #000000;
    font-family: 'MontserratAlternates-SemiBold', sans-serif;
    font-size: 24px;
    text-align: center;
    margin-bottom: 10px;
}

.sign-up a {
    margin-top: 5px;
    color: #000000;
    font-family: 'MontserratAlternates-SemiBold', sans-serif;
    font-size: 24px;

}

.otdelenie__section.item{
    display: flex;
    justify-content: space-between;
}

.otdelenie__section.item .otdelenie__section-foto{
    display: flex;
    gap: 20px;
}

.art .otdelenie__section-foto img {
    border-radius: 60px 30px;
}
 



 /* ----------------- Футер ----------------- */
 footer {
    height: 216px;
    background: rgb(255, 255, 255);
    width: 80%;
    margin: 0 auto;
    margin-top: 64px;
    border-radius: 50px 50px 0px 0px;
}

footer .container{
    align-items: center;
}

 .footer-about {
    font-family: 'MontserratAlternates-Regular', sans-serif;
    font-size: 8px;
    display: flex;
    max-width: 384px;
    align-items: center;
    gap: 11px;
}


.footer-menu {
    display: flex;
    justify-content: space-between;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}



.footer-menu ul li {
    margin-bottom: 5px;
}

.footer-menu ul li a:hover{
    text-decoration: underline;
}

.footer-menu ul li a {
    text-decoration: none;
    color: #333; /* Цвет ссылок можно настроить по вашему желанию */
}

.footer__content{
    margin-top: 20px;
    display: flex;
    padding: 0 20px;
    justify-content: space-between;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-menu{
    font-family: 'MontserratAlternates-Regular', sans-serif;
    font-size: 11px;
    display: flex;
    gap: 35px;
    line-height: 1.8;
}

.about-school {
    line-height: 1.5;
}


.footer__tel-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 233px;
    height: 65px;
    border-radius: 15px 15px 15px 30px;
    background: #2DBC7C;
    transition: all 0.5s allow-discrete;
}

.footer__top-button {
    display: flex;
    gap: 7px;
}

.footer__tel-button p {
    font-family: 'MontserratAlternates-SemiBold', sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    color: #FFFFFF;
    display: flex;
    align-items: center;
}


.footer__tel-button span {
    text-align: center;
    font-family: 'MontserratAlternates-Light', sans-serif;
    display: block;
    margin-top: 7px;
    font-size: 11px;
    font-style: normal;
    font-weight: 300;
    color: #FFFFFF;
}

.footer__tel-button img {

}

.copyright{
    font-family: 'Inter-Regular', sans-serif;
    font-size: 10px;
    color: #858585;
    display: flex;
    justify-content: flex-end;
}


.footer__tel-button hr {
    border: none;
    height: 2px;
    background-color: #ffffff;
    margin: 0;
    width: 15%;
    transform: rotate(90deg);
}

.footer__tel-button .tel img{
    width: 11px;
    margin-right: 6px;
    align-self: end;
}



.burger-wrap{
    display: none;
}
.mobile-menu {
position: absolute;
left: 0;
top: 90px;
width: 100%;
background: #2DBC7C;
opacity: 0;
z-index: 20;
box-sizing: border-box;
pointer-events: none;
transition: opacity 0.5s ease-in-out;
}

.mobile-menu__list a {
    font-family: 'MontserratAlternates-Regular', sans-serif;
    font-size: 16px;
    color: white !important;
}

.mobile-menu__link {
    padding: 0 82px;
}
  .mobile-menu.open {
    display: block;
    opacity: 1;
    pointer-events: all;
    height: 100vh;
  }

  .mobile-menu.open ul{
    padding: 0 52px;
  }
  
  .burger-wrap {
    position: relative;
    top: 8px;
    margin-right: 10px;
    z-index: 40;
    transition: 300ms 700ms transform ease-in;
  }
  .burger-wrap.reappearBurger {
    opacity: 0;
    animation: 0.5s 2s fadeAppear ease-out forwards;
  }
  
  @keyframes fadeAppear {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }
  .burger {
    width: 30px;
    height: 27px;
    cursor: pointer;
    z-index: 30;
    transition: transform 1s ease-in;
  }


  .mobile-menu.open nav{
    margin-top: 18px;
  }


  .burger span {
    display: block;
    position: absolute;
    height: 2px;
    left: 0;
    background: rgb(0, 0, 0);
    border-radius: 9px;
    opacity: 1;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
  }
  .burger span:nth-child(1) {
    top: 0px;
    width: 50%;
  }
  .burger span:nth-child(2) {
    top: 12px;
    width: 75%;
  }
  .burger span:nth-child(3) {
    top: 24px;
    width: 100%;
  }
  .burger.active span:nth-child(1) {
    width: 100%;
    top: 12px;
    transform: rotate(135deg);
  }
  .burger.active span:nth-child(2) {
    opacity: 0;
  }
  .burger.active span:nth-child(3) {
    top: 12px;
    transform: rotate(-135deg);
  }

  li {
    margin-bottom: 15px;
  }
 
 /* ----------------- Страница сотрудников ----------------- */


 .branches__item-title{
    text-align: center;
}
.branches__item-title p{
    text-align: center;
    font-family: "MontserratAlternates-Bold", sans-serif;
    font-size: 32px;
    color: #515151;
}

.card-full-name{
    font-family: "MontserratAlternates-Regular", sans-serif;
    font-size: 20px;
    max-width: 100px;
    line-height: 1.3;
    margin-top: 10px;
}

p.card-speciality {
    font-family: "MontserratAlternates-Regular", sans-serif;
    font-size: 14px;
    max-width: 100px;
    line-height: 1.9;
    margin-top: 10px;
}

 .branches__item-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(257px, 257px));
    gap: 20px; /* Расстояние между карточками */
    justify-content: center;
    row-gap: 30px;
    margin-top: 46px;
}

.card-img img {
    border-radius: 50px 2px;
}

.branches__item-card {
    width: 257px; /* Ширина карточки */
}

.branches__item {
    margin-bottom: 40px;
}


 /* ----------------- Страница родителям ----------------- */
 .parent__title p{
    color: #515151;
    font-family: 'MontserratAlternates-SemiBold', sans-serif;
    font-size: 36px;
    text-align: center;
 }

.parent__text p{
    color: #515151;
    font-family: 'MontserratAlternates-SemiBold', sans-serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.4;
}

.parent__text {
    margin-top: 25px;
}

/* ----------------- Страница контакты ----------------- */

.element1 {
    width: 210px;
    height: 283px;
    border-radius: 60px 5px;
    background: #EF584E;
}
.element2 {
    width: 210px;
    height: 182px;
    border-radius: 5px 60px;
    background: #FFCF3C;
}
.element3 {
    width: 210px;
    height: 182px;
    border-radius: 80px 5px 80px 80px;
    background: #513CF3;
}

.contact__page{
    display: flex;
    gap: 16px;
}

.contact__page .contacts__title p{
    font-family: 'MontserratAlternates-Bold', sans-serif;
    font-size: 44px;
    color: #515151;
}

.contact__page .contacts__about p{
    font-family: 'MontserratAlternates-Regular', sans-serif;
    font-size: 18px;
    color: #000000;
    line-height: 1.4;
    margin-top: 20px;
}

.contacts__information p{
    font-family: 'MontserratAlternates-Regular', sans-serif;
    font-size: 18px;
    line-height: 1.4;
}

.contacts__information span{
    font-family: 'MontserratAlternates-Bold', sans-serif;
    color: #000000;
}

.contacts__information{
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.elements{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.yandex__map {
    margin-top: 60px;
    margin-bottom: 70px;
}

/* Яндекс карта */

#wrapMap {
    position: relative;
    cursor: help;
    overflow: hidden;
    border-image: initial;
    margin-top: 40px;
    margin-bottom: 40px;
}
.mapTitle {
    position: absolute;
    z-index: 1000;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 5px;
    display: none;
    padding: 5px 20px;
    border-radius: 5px;
    background: rgb(255, 255, 255);
    border-width: 1px;
    border-style: solid;
    border-color: rgb(204, 204, 204);
    border-image: initial;
}

.ngg-breadcrumbs .ngg-breadcrumb:first-child {
    display: none;
}

.ngg-albumoverview.default-view .ngg-album-compact h4 .ngg-album-desc {
    font-size: 23px !important;
    font-family: 'MontserratAlternates-Bold', sans-serif !important;
    color: black !important; 
    letter-spacing: 1.4px !important;
    box-shadow: none !important;
}

li.ngg-breadcrumb {
    font-size: 44px;
    font-family: 'MontserratAlternates-Bold', sans-serif !important;
    color: #515151;
}

.ngg-gallery-thumbnail {
    width: 300px;
}

li.ngg-breadcrumb {
    text-transform: capitalize;
}

.detail__description a {
    color: #2DBC7C;
}