html {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #0C151C;
}

a {
    color: #6EA2F6; /* Цвет ссылок */
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

h1 {
    font-size: 1.602rem;
    font-weight: 400;
}

h2 {
    font-size: 1.5rem;
    font-weight: 300;
    margin-top: 40px;
    margin-bottom: 30px;
}

h3 {
    font-size: 1.125rem;
    font-weight: 500;
    margin-top: 30px;
    margin-bottom: 20px;
}

.main-container {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
    position: relative;
    box-sizing: border-box;
}

.main-image {
    width: 100%;
    opacity: 1;
    transition: opacity 1s cubic-bezier(0, 0, 0, 1);
}

.main-image.hidden {
    opacity: 0;
}

.main-image img {
    width: 100%;
    height: auto;
    border-radius: 30px;
}

.main-name {
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-top: 10px;
    transition: opacity 1s cubic-bezier(0, 0, 0, 1), transform 1s cubic-bezier(0, 0, 0, 1);
    opacity: 1;
    column-gap: 10px;
}

span.first-name {
    text-align: left;
}

span.last-name-container {
    text-align: right;
    display: inline-block;
    width: 100%;
}

span.last-name {
    display: inline;
}

.main-name.hidden {
    opacity: 0;
    transform: translateY(40px);
}

.main-title {
    display: block;
    margin-left: 0px/;
    text-transform: none;
    font-size: 1.266rem;
    font-weight: 300;
    margin-top: 5px;
    opacity: 1;
    transition: opacity 1s cubic-bezier(0, 0, 0, 1);
}

.main-title.hidden {
    opacity: 0;
}

.main-phrase {
    font-family: montserrat alternates, arial, sans-serif;
    margin-top: 10px;
    opacity: 1;
    transition: opacity 1s cubic-bezier(0, 0, 0, 1);
}

.main-phrase.hidden {
    opacity: 0;
}

.main-button-container {
    text-align: center;
    margin-top: 20px;
}

.main-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    font-weight: 500;
    font-size: 0.889rem;
    color: white !important;
    background-color: #6EA2F6;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.5s cubic-bezier(0, 0, 0, 1), opacity 1s cubic-bezier(0, 0, 0, 1);
    text-transform: uppercase;
    opacity: 1;
}

.main-button.hidden {
    opacity: 0;
}

.aboutme-container {
    width: 100%;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
}

.aboutme-headline {
    text-transform: uppercase;
    padding-left: 20px;
    padding-right: 20px;
    opacity: 1;
    transition: transform 1s cubic-bezier(0, 0, 0, 1), opacity 1s cubic-bezier(0, 0, 0, 1);
}
.aboutme-headline.hidden {
    opacity: 0;
    transform: translateY(40px);
}

.aboutme-text {
    opacity: 1;
    padding-left: 20px;
    padding-right: 20px;
    transition: opacity 1s cubic-bezier(0, 0, 0, 1);
}

.aboutme-text.hidden {
    opacity: 0;
}

.aboutme-list {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.aboutme-list-items {
    max-width: 60%;
    z-index: 2;
    position: relative;
    font-weight: 500;
    height: 350px;
    padding-top: 50px;
    padding-bottom: 50px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    box-sizing: border-box;
    transition: transform 0.2s cubic-bezier(0, 0, 0, 1);
    will-change: transform;
}

.aboutme-list-item {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    position: relative;
    opacity: 1;
    transition: transform 1s cubic-bezier(0, 0, 0, 1), opacity 1s cubic-bezier(0, 0, 0, 1);
    padding-right: 50px;
}

.aboutme-list-item.hidden {
    opacity: 0;
    transform: translateX(-100px);
}

.line {
    height: 1px;
    background-color: #0c151c;
    width: 15px;
    margin-top: 10px;
    margin-right: 5px;
    flex-shrink: 0;
}

.aboutme-items-headline {
    opacity: 1;
    transition: opacity 1s cubic-bezier(0, 0, 0, 1);
}

.aboutme-items-headline.hidden {
    opacity: 0;
}

.aboutme-image {
    position: absolute;
    right: -50px;
    top: 0;
    z-index: 1;
    opacity: 1;
    transition: transform 1s cubic-bezier(0, 0, 0, 1), opacity 1s cubic-bezier(0, 0, 0, 1);
}

.aboutme-image.hidden {
    opacity: 0;
    transform: translateX(300px);
}

.aboutme-image-img {
    height: 350px;
    border-radius: 30px;
}

.aboutme-items {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
}

.aboutme-items-container {
    display: flex;
    gap: 15px;
    flex-direction: column;
}

.aboutme-item {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 15px;
    opacity: 1;
    transition: opacity 1s cubic-bezier(0, 0, 0, 1);
}

.aboutme-item.hidden {
    opacity: 0;
}

.aboutme-item-icon {
    padding-top: 2px;
    flex-shrink: 0;
}

.aboutme-item-icon object {
    width: 1rem;
    height: auto;
}

.aboutme-item-text {
    flex-grow: 0;
}

.aboutme-item-text span {
    font-weight: 500;
    font-family: 'montserrat alternates', arial, sans-serif;
    color: #6EA2F6;
}

.services-container {
    padding-left: 10px;
    padding-right: 10px;
}

.services-headline {
    padding-left: 10px;
    padding-right: 10px;
    opacity: 1;
    transition: transform 1s cubic-bezier(0, 0, 0, 1), opacity 1s cubic-bezier(0, 0, 0, 1);
    margin-bottom: 0px;
}

.services-headline.hidden {
    opacity: 0;
    transform: translateY(40px);
}

.services-accordeon {
    margin-top: 15px;
    width: 100%;
}

.services-accordeon-item {
    position: relative;
    margin-top: 5px;
    transition: background-color 0.5s cubic-bezier(0, 0, 0, 1), padding 0.5s cubic-bezier(0, 0, 0, 1);
}

.services-accordeon-item.active {
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    position: relative;
    padding-bottom: 20px;
    padding-top: 10px;
}

.services-accordeon-item.active .services-accordeon-icon {
    transform: rotate(180deg);
}

.services-accordeon-item.active .services-accordeon-title {
    font-weight: 500;
}

#leela.active{
    background-color: #ecf4ff;
}

.services-accordeon-header {
    padding-top: 10px;
    font-size: 1.125rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    z-index: 2;
    position: relative;
    gap: 10px;
    padding-bottom: 10px;
}

.services-accordeon-title {
    text-transform: uppercase;
    font-weight: 400;
    flex-grow: 0;
    transition: transform 1s cubic-bezier(0, 0, 0, 1), opacity 1s cubic-bezier(0, 0, 0, 1);
    opacity: 1;
}

.services-accordeon-title.hidden {
    opacity: 0;
    transform: translateX(-100px);
}

.services-accordeon-icon {
    transform: rotate(0deg);
    flex-shrink: 0;
    transition: transform 1s cubic-bezier(0, 0, 0, 1), opacity 1s cubic-bezier(0, 0, 0, 1);
    opacity: 1;
}

.services-accordeon-icon.hidden {
    opacity: 0;
}

.services-accordeon-icon svg {
    width: 1.266rem;
    height: auto;
    vertical-align: middle;
}

.services-accordeon-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 0, 0, 1), margin-top 0.5s cubic-bezier(0, 0, 0, 1);
    padding-left: 15px;
    padding-right: 15px;
    z-index: 2;
    position: relative;
}

.services-accordeon-content.active {
    margin-top: 20px;
}

.services-cost-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: 15px;
    row-gap: 30px;
}

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

@media (min-width: 375px) { /* Изменяем расположение блоков на экранах шире 375 */
    .price-item {
        flex-direction: row; /* Делаем элементы горизонтальными */
        justify-content: space-between;
        flex-basis: 100%; /* Убираем фиксированную ширину */
        align-items: center;
    }
}

.price {
    padding: 5px 10px 5px 10px;
    border: 1px solid #6EA2F6;
    border-radius: 30px;
    font-size: 1.266rem;
    flex-shrink: 0;
    width: auto;
}

.price span {
    font-size: 0.889rem;
    font-family: 'montserrat alternates', arial, sans-serif;
}

.price-item-header {
    font-size: 1rem;
    flex-grow: 1;
    width: 0;
    white-space: nowrap;
}

.forwhom-items-container {
    display: flex;
    gap: 15px;
    flex-direction: column;
}

.forwhom-item {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    flex-direction: row;
}

.forwhom-item-icon {
    padding-top: 2px;
    flex-shrink: 0;
}

.forwhom-item-icon svg {
    width: 1rem;
    height: auto;
}

.forwhom-item-text {
    flex-grow: 0;
}

.whatgives-items-container {
    display: flex;
    gap: 15px;
    flex-direction: column;
}

.whatgives-item {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    flex-direction: row;
}

.whatgives-item-icon {
    padding-top: 2px;
    flex-shrink: 0;
}

.whatgives-item-icon object {
    width: 1rem;
    height: auto;
}

.whatgives-item-text {
    flex-grow: 0;
}

.whatgives-item-text span {
    font-weight: 500;
    font-family: 'montserrat alternates', arial, sans-serif;
    color: #6EA2F6;
}

.duration {
    padding: 5px 10px 5px 10px;
    border: 1px solid #6EA2F6;
    border-radius: 30px;
    font-size: 1.266rem;
}

.duration span {
    font-size: 0.889rem;
    font-family: montserrat alternates, arial, sans-serif;
}

.services-button-container {
    text-align: center;
    margin-top: 20px;
}

.consult-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    font-weight: 500;
    font-size: 1.266rem;
    color: white !important;
    background-color: #6EA2F6;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.5s cubic-bezier(0, 0, 0, 1);
    text-transform: uppercase;
}

.leela-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    font-weight: 500;
    font-size: 1rem;
    color: white !important;
    background-color: #6EA2F6;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.5s cubic-bezier(0, 0, 0, 1);
}

.about-leela {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.about-leela-image-block {
    height: 120px;
    width: 85%;
    z-index: 2;
    text-align: center;
}

.about-leela-image-block img {
    width: 100%;
    border-radius: 30px;
    max-height: 470px;
    max-width: 310px;
}

.about-leela-text-block {
    padding-top: 270px;
    background-color: white;
    border-radius: 30px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
}

#about1 {
    font-weight: 500;
}

#about1  span{
    font-family: montserrat alternates, arial, sans-serif;
    font-weight: 600;
    color: #6EA2F6;
}

#about2 {
    margin-top: 10px;
}

.howgoing-items-container {
    display: flex;
    gap: 15px;
    flex-direction: column;

}

.howgoing-item {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    flex-direction: column;
}

.howgoing-item-tab {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
}

.howgoing-item-icon {
    padding-top: 2px;
    flex-shrink: 0;
}

.howgoing-item-icon svg {
    width: 1rem;
    height: auto;
}

.howgoing-item-header {
    font-size: 1.125rem;
}

.howgoing-item-text {
    font-weight: 300;
    flex-grow: 0;
}

.learn-leela-background {
    position: absolute;
    z-index: 1;
    width: 100%;
    top: 0px;
}

.learn-leela-background img {
    border-radius: 15px 15px 0px 0px;
    width: 100%;
}

#consult .forwhom {
    margin-top: 0px;
}

#consult .forwhom h3 {
    margin-top: 0px;
}

#new-me .forwhom h3 {
    margin-top: 0px;
}

#group-therapy .about-service h3 {
    margin-top: 0px;
    margin-bottom: 0px;
}

#learn-leela .learn-leela-background {
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: height 0.5s ease, opacity 0.5s ease;
}

#learn-leela.active .learn-leela-background {
    height: auto; /* Высота авто, чтобы учесть размер изображения */
    opacity: 1;
}

#learn-leela.active .services-accordeon-icon svg path {
    fill: white;
}

#learn-leela.active .services-accordeon-title {
    color: white;
}

.learn-leela {
    background-color: #6EA2F6;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 30px;
    color: white;
    text-align: center;
    font-weight: 500;
}

.learn-leela span {
    font-weight: 600;
}

.learn-leela-questions {
    background-color: white;
    border-radius: 30px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 10px;
}

.learn-leela-image {
    width: 100%;
    margin-top: 30px;
}

.learn-leela-image img {
    width: 100%;
    border-radius: 30px;
}

.whyleela-items-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.whyleela-item {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    gap: 10px;
}

.whyleela-item-tab {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    gap: 25px;
}

.whyleela-item-icon {
    flex-shrink: 0;
}

.whyleela-item-icon object {
    width: 1.9rem;
    height: auto;
}

.whyleela-item-header {
    font-size: 1rem;
    font-weight: 500;
}

.whyleela-item-text {
    font-weight: 300;
    flex-grow: 0;
}

.learn-leela-duration {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    margin-top: 40px;
}

.learn-leela-duration h3 {
    margin-bottom: 0px;
    margin-top: 0px;
}

.learn-leela-button {
    display: flex;
    height: 60px;
    align-content: center;
    font-weight: 500;
    font-size: 1rem;
    color: white !important;
    background-color: rgb(110, 162, 246);
    border: none;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.5s cubic-bezier(0, 0, 0, 1);
}

.selected-option {
    background-color: white;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-left: 15px;
    padding-right: 15px;
    align-items: center;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-height: 50px;
    z-index: 10;
    position: relative;
    transition: max-height 0.5s cubic-bezier(0, 0, 0, 1);
}

.selected-option.open {
    max-height: 165px;
}

.option-title {
    font-weight: 400;
    font-size: 1.125rem;
    color: #0C151C;
    font-family: montserrat alternates, arial, sans-serif;
}

#premium .option-title {
    color: white;
}

#premium .option-icon svg path {
    fill: white;
}

#premium .option {
    background-color: black;
}

.option-icon {
    transition: transform 0.5s cubic-bezier(0, 0, 0, 1);
}

.option:not(.active) .option-icon {
    display: none;
}

.option-icon svg {
    width: 1.266rem;
    height: auto;
}

.option.active .option-icon.rotate {
    transform: rotate(180deg);
}

.option {
    padding: 15px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.option.active .option-title {
    font-weight: 500;
    color: #6EA2F6;
}

#premium .option.active .option-title {
    font-weight: 500;
    color: white;
}

.options-container {
    height: 50px;
    position: relative;
}

.inline-option {
    width: 100%;
    height: 50px;
    display: none;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
}

.inline-option-button {
    height: 100%;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Montserrat', Arial, sans-serif;
    z-index: 2;
}

.inline-option-button.active {
    color: #6EA2F6;
    font-family: 'Montserrat Alternates', Arial, sans-serif;
    font-weight: 600;
}

.inline-option-button.active#premium {
    color: white;
}

.inline-option-button-background {
    position: absolute;
    left: 0px;
    width: 100px;
    height: 50px;
    background-color: #fff;
    z-index: 1;
    transform: translateX(10px);
    transition: transform 0.5s cubic-bezier(0, 0, 0, 1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

.newme-price {
    background-color: #FAFAFA;
    margin-top: 15px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    padding: 15px;
    justify-content: space-between;
}

.newme-includes {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.newme-include {
    font-weight: 300;
    gap: 10px;
    display: flex;
}

.newme-includes.active {
    display: flex; /* Показываем только те, которые активны */
}

.newme-include span {
    font-weight: 500;
}

.newme-include-icon {
    padding-top: 2px;
    flex-shrink: 0;
}

.newme-include-icon object {
    width: 1rem;
}

.newme-include-text {
    flex-grow: 0;
}

#profi-price {
    display: none;
}

#premium-price {
    display: none;
    border: 1px solid #000;
}

#new-me .consult-button {
    font-size: 1.125rem;
}

.group-therapy-include-icon {
    flex-shrink: 0;
    padding-top: 2px;
}

.group-therapy-include-icon object {
    width: 1rem;
    height: auto;
}

.group-therapy-include-text {
    font-weight: 400;
    flex-grow: 0;
}

.group-therapy-include-text span {
    font-weight: 300;
}

.group-therapy-price {
    background-color: #FAFAFA;
    margin-top: 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    padding: 15px;
    justify-content: space-between;
}

.group-therapy-includes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.group-therapy-include {
    font-weight: 300;
    gap: 10px;
    display: flex;
}

.session-container {
    padding-left: 20px;
    padding-right: 20px;
    font-family: 'Montserrat', Arial, sans-serif;
    color: #0c151c;
    margin-top: 30px;
}

.session1 {
    font-size: 1.125rem;
    font-family: 'Montserrat Alternates', Arial, sans-serif;
    font-weight: 500;
    border: 1px solid #6EA2F6;
    border-radius: 30px;
    padding: 15px;
    text-align: center;
    opacity: 1;
    transition: opacity 1s cubic-bezier(0, 0, 0, 1);
}

.session1.hidden {
    opacity: 0;
}

.session2 {
    opacity: 1;
    transition: opacity 1s cubic-bezier(0, 0, 0, 1);
}

.session2.hidden {
    opacity: 0;
}

.session1 span {
    color: #6EA2F6;
    font-weight: 600;
}

.session2-text {
    margin-top: 20px;
}

.session-button-container {
    text-align: center; /* Центрирование кнопки */
    margin-top: 20px; /* Отступ сверху */
}

.session-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    font-weight: 500;
    font-size: 1.266rem;
    color: white !important;
    background-color: #6EA2F6; /* Цвет фона кнопки */
    border: none; /* Убираем рамку */
    border-radius: 50px; /* Закругляем углы */
    text-decoration: none; /* Убираем подчеркивание ссылки */
    transition: background-color 0.5s cubic-bezier(0, 0, 0, 1); /* Плавный переход при наведении */
}

.case-headline {
    padding-left: 20px;
    padding-right: 20px;
    opacity: 1;
    transition: transform 1s cubic-bezier(0, 0, 0, 1), opacity 1s cubic-bezier(0, 0, 0, 1);
}

.case-headline.hidden {
    opacity: 0;
    transform: translateY(40px);
}

.case-container {
    width: 100vw;
    overflow: hidden;
    position: relative;
}

.case-wrapper {
    display: flex;
    will-change: transform;
    touch-action: pan-y;
    opacity: 1;
    transition: transform 0.5s cubic-bezier(0, 0, 0, 1), opacity 0.5s cubic-bezier(0, 0, 0, 1);
}

.case-wrapper.hidden {
    opacity: 0;
    transform: translateY(100px);
}

.case-item {
    min-width: calc(100% - 40px);
    margin: 0 20px;
    background-color: #CEDFF9;
    border-radius: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 30px;
    padding-bottom: 20px;
    align-items: center;
    transition: opacity 1s cubic-bezier(0, 0, 0, 1), transform 1s cubic-bezier(0, 0, 0, 1);
    transform: translateY(30px); /* Начальное смещение вниз для всех слайдов */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.case-item.active {
    opacity: 1; /* Полная непрозрачность для активного слайда */
    transform: translateY(0); /* Активный слайд не смещён */
}

@supports (-webkit-transform: translate3d(0, 0, 0)) {
    .case-wrapper {
        -webkit-transform: translate3d(0, 0, 0);
    }
}

.case-item-image {
    width: 100px;
    height: 100px;
    background-color: antiquewhite;
    border-radius: 200px;
}

#raisa-image{
    background-image: url('https://optim.tildacdn.com/tild3334-3561-4536-b431-353563303237/-/resize/512x/-/format/webp/raisa.jpg');
    background-size: cover; /* Чтобы изображение занимало весь блок */
    background-position: center; /* Центрирование изображения */
    background-repeat: no-repeat; /* Отключение повторения изображения */
}

#anna-image{
    background-image: url('https://optim.tildacdn.com/tild6535-3933-4835-a633-313731376561/-/resize/512x/-/format/webp/anna.jpg');
    background-size: cover; /* Чтобы изображение занимало весь блок */
    background-position: center; /* Центрирование изображения */
    background-repeat: no-repeat; /* Отключение повторения изображения */
}

#nastya-image{
    background-image: url('https://optim.tildacdn.com/tild3561-3335-4963-a261-393762353734/-/resize/512x/-/format/webp/nastya.jpg');
    background-size: cover; /* Чтобы изображение занимало весь блок */
    background-position: center; /* Центрирование изображения */
    background-repeat: no-repeat; /* Отключение повторения изображения */
}

#masha-image{
    background-image: url('https://optim.tildacdn.com/tild3664-3966-4465-b762-613839623063/-/resize/512x/-/format/webp/masha.jpg');
    background-size: cover; /* Чтобы изображение занимало весь блок */
    background-position: center; /* Центрирование изображения */
    background-repeat: no-repeat; /* Отключение повторения изображения */
}

#olga-image{
    background-image: url('https://optim.tildacdn.com/tild3035-3562-4932-b438-376338366638/-/resize/512x/-/format/webp/olga.jpg');
    background-size: cover; /* Чтобы изображение занимало весь блок */
    background-position: center; /* Центрирование изображения */
    background-repeat: no-repeat; /* Отключение повторения изображения */
}

#egor-image{
    background-image: url('https://optim.tildacdn.com/tild6137-6166-4935-b134-633239633765/-/format/webp/IMG_5685.PNG');
    background-size: cover; /* Чтобы изображение занимало весь блок */
    background-position: center; /* Центрирование изображения */
    background-repeat: no-repeat; /* Отключение повторения изображения */
}
    
.case-item-name {
    margin-top: 20px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 1.5rem;
}

.case-item-text {
    margin-top: 5px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    font-size: 0.889rem;
    text-align: center;
}

.case-item-buttons-container {
    width: 100%;
    height: 50px;
    margin-top: 30px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;
}

.case-item-button {
    height: 100%;
    width: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Montserrat', Arial, sans-serif;
    z-index: 2;
}

.case-item-button.active {
    color: #6EA2F6;
    font-family: 'Montserrat Alternates', Arial, sans-serif;
    font-weight: 600;
}

.case-item-button-background {
    position: absolute;
    left: 10px;
    width: 120px; /* Ширина фона равна ширине кнопки */
    height: 50px;
    background-color: #fff;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0, 0, 0, 1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
}

.case-item-text2 {
    margin-top: 10px;
    background-color: white;
    padding: 10px;
    border-radius: 20px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 0.889rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px); /* Начальное смещение текста вниз */
    transition: opacity 0.5s cubic-bezier(0, 0, 0, 1), transform 0.5s cubic-bezier(0, 0, 0, 1); /* Плавные переходы */
    display: none;
}

.case-item-text2.active {
    display: block;
    opacity: 1;
    transform: translateY(0); /* Текст на месте */
}

.case-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    height: 20px;
    opacity: 1;
    transition: opacity 1s cubic-bezier(0, 0, 0, 1);
}

.case-pagination.hidden {
    opacity: 0;
}

.pagination-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #AFB1B3; /* Неактивная точка */
    margin: 0 6px;
    transition: background-color 0.5s cubic-bezier(0, 0, 0, 1), transform 0.5s cubic-bezier(0, 0, 0, 1);
}

.pagination-dot.active {
    background-color: #0C151C; /* Активная точка (синий цвет iOS) */
}

.slider-nav {
    width: 50px;
    height: 50px;
    text-align: center;
    position: absolute;
    z-index: 5;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 100px;
    opacity: 1;
    transition: background-color 0.5s cubic-bezier(0, 0, 0, 1), box-shadow 0.5s cubic-bezier(0, 0, 0, 1), opacity 0.5s cubic-bezier(0, 0, 0, 1);
}

.slider-nav.hidden {
    opacity: 0;
}

.slider-nav:hover {
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.slider-nav img {
    height: 50%;
    width: auto;
}

#slide-left {
    transform: rotate(180deg);
    top: 250px;
    left: 240px;
}

#slide-right {
    top: 250px;
    left: 710px;
}

.question-headline {
    padding-left: 10px;
    padding-right: 10px;
    opacity: 1;
    transition: transform 1s cubic-bezier(0, 0, 0, 1), opacity 1s cubic-bezier(0, 0, 0, 1);
    margin-top: 30px;
    margin-bottom: 0px;
}
    
.question-container {
    padding-left: 10px;
    padding-right: 10px;
}

.question-accordeon {
    margin-top: 15px;
    width: 100%;
}

.question-accordeon-item {
    position: relative;
    margin-top: 5px;
    border-radius: 20px;
    transition: opacity 1s cubic-bezier(0, 0, 0, 1), background-color 0.5s cubic-bezier(0, 0, 0, 1), padding 0.5s cubic-bezier(0, 0, 0, 1);
    opacity: 1;
}

.question-accordeon-item.hidden {
    opacity: 0;
}

.question-accordeon-item.active {
    background-color: white;
    padding-bottom: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.question-accordeon-item.active #minus-icon {
    display: block;
}

.question-accordeon-item.active #plus-icon {
    display: none;
}

.question-accordeon-item.active .question-accordeon-header {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 20px;
}

.question-accordeon-header {
    padding-top: 10px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    transition: padding 0.5s cubic-bezier(0, 0, 0, 1);
    padding-left: 10px;
    padding-right: 10px;
    z-index: 2;
    position: relative;
    gap: 10px;
    padding-bottom: 10px;
}

.question-accordeon-title {
    font-weight: 500;
    flex-grow: 0;
}

.question-accordeon-icon {
    flex-shrink: 0;
}

.question-accordeon-icon object {
    width: 1.266rem;
}

#minus-icon {
    display: none;
}

.question-accordeon-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0, 0, 0, 1), margin-top 0.5s cubic-bezier(0, 0, 0, 1);
    padding-left: 15px;
    padding-right: 15px;
    z-index: 2;
    position: relative;
}

.question-accordeon-content.active {
    margin-top: 10px;
}

.question-button-container {
    text-align: center;
    margin-top: 20px;
}

.question-button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    font-weight: 500;
    font-size: 1rem;
    color: white !important;
    background-color: #6EA2F6;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.5s cubic-bezier(0, 0, 0, 1);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.answer-text {
    white-space: pre-line;
}

.contacts-headline {
    margin-top: 30px;
    margin-bottom: 30px;
}

.contacts-container {
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 30px;
}

.contacts-button-container {
    margin-bottom: 20px;
    transition: opacity 1s cubic-bezier(0, 0, 0, 1);
    opacity: 1;
}

.contacts-button-container.hidden {
    opacity: 0;
}

.contacts-button {
    display: inline-flex;
    align-items: center;
    font-size: 1.125rem;
    text-decoration: none !important;
    color: #0c151c !important;
    border: 2px solid #6EA2F6;
    border-radius: 50px;
    transition: background-color 0.5s cubic-bezier(0, 0, 0, 1);
    height: 60px;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

.contacts-button img {
    width: 25px;
    height: auto;
}

.avatar {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    height: 70px;
    background-color: #6ea2f6;
    border-radius: 50px;
    padding-left: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: opacity 1s cubic-bezier(0, 0, 0, 1);
    opacity: 1;
}

.avatar.hidden {
    opacity: 0;
}

.avatar img {
    height: 90%;
    width: auto;
    border-radius: 200px;
}

.avatar-text {
    color: white;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-left: 10px;
    gap: 7px;
    height: 100%;
    padding-top: 10px;
    box-sizing: border-box;
}

span#profile-name {
    font-weight: 400;
    font-size: 11px;
    font-family: montserrat alternates, arial, sans-serif;
}

span#profile-phrase {
    font-weight: 500;
    font-size: 11px;
}

@media (min-width: 375px) {
    .inline-option {
        display: flex;
    }
    
    .selected-option {
        display: none;
    }
}
    
@media (min-width: 375px) and (max-width: 424px) {
    .main-container {
        padding-top: 30px;
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .aboutme-image img {
        height: 400px;
    }
    
    .aboutme-headline {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .aboutme-text {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .line {
        width: 25px;
    }
    
    .aboutme-list-items {
        height: 400px;
    }
    
    .aboutme-items {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .case-headline {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .case-item {
        min-width: calc(100% - 60px);
        margin: 0 30px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .case-item-button-background {
        margin-left: 10px;
    }
    
    .session-container {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .services-container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .services-headline {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .services-accordeon-header {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .services-accordeon-content {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .question-container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .question-headline {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .question-accordeon-header {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .question-accordeon-item.active .question-accordeon-header {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .question-accordeon-content {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    span#profile-name {
        font-size: 0.889rem;
    }
    
    span#profile-phrase {
        font-size: 0.79rem;
    }
    
    .contacts-container {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (min-width: 425px) and (max-width: 639px) {
    html {
        font-size: 18px;
    }
    
    h2 {
        margin-top: 50px;
        margin-bottom: 35px;
    }
    
    h3 {
        margin-top: 40px;
        margin-bottom: 30px;
    }
    
    .main-container {
        padding-top: 30px;
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .aboutme-image img {
        height: 450px;
    }
    
    .aboutme-headline {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .aboutme-text {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .line {
        width: 35px;
    }
    
    .aboutme-list-items {
        height: 450px;
    }
    
    .aboutme-items {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .case-headline {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .case-item {
        min-width: calc(100% - 80px);
        margin: 0 40px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .case-item-button-background {
        margin-left: 10px;
        width: 140px;
    }
    
    .session-container {
        padding-left: 40px;
        padding-right: 40px;
        margin-top: 50px;
    }
    
    .services-container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .services-headline {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .services-accordeon {
        margin-top: 25px;
    }
    
    .services-accordeon-item {
        margin-top: 10px;
    }
    
    .services-accordeon-header {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .services-accordeon-content {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .services-accordeon-content.active {
        margin-top: 30px;
    }
        
    .inline-option {
        display: flex;
    }
    
    .selected-option {
        display: none;
    }
    
    .question-container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .question-headline {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .question-accordeon-header {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .question-accordeon-item.active .question-accordeon-header {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .question-accordeon-content {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    span#profile-name {
        font-size: 0.8rem;
    }
    
    span#profile-phrase {
        font-size: 0.8rem;
    }
    
    .services-cost-container {
        gap: 25px;
    }
    
    .newme-price {
        margin-top: 25px;
    }
    
    .contacts-button-container {
        margin-bottom: 30px;
    }
    
    .contacts-container {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (min-width: 513px) {
    
    .main-name {
        flex-direction: row;
    }
    
    span.last-name-container {
        width: auto;
    }
    
    .main-title {
        margin-left: 0;
    }
    
}

@media (min-width: 640px) {

    html {
        font-size: 18px;
    }
    
    h2 {
        margin-top: 50px;
    }
    
    h3 {
        margin-top: 40px;
        margin-bottom: 30px;
    }

    .main-container {
        padding-top: 40px;
        display: flex;
        flex-direction: row;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0px;
        padding-right: 0px;
        width: 85%;
        justify-content: space-between;
    }
    
    .main-image {
        flex-shrink: 0;
        width: 39%;
    }
    
    .main-block {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 10px;
        width: 55%;
    }
    
    .last-name-container {
        margin-left: 0px;
    }
    
    .main-button-container {
        max-width: 400px;
    }
    
    .main-button {
        font-size: 0.8rem;
    }
    
    .aboutme-container {
        width: 85%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .aboutme-headline {
        margin-top: 50px;
        margin-bottom: 30px;
        padding-left: 0px;
        padding-right: 0px;
    }
    
    .aboutme-text {
        padding-left: 0px;
        padding-right: 0px;
    }
    
    .aboutme-list {
        margin-top: 40px;
        width: 100%;
        align-items: flex-start;
    }
    
    .aboutme-image-img {
        height: 400px;
    }
    
    .aboutme-list-items {
        width: 39%;
        height: auto;
        padding-top: 0px;
        padding-bottom: 0px;
        gap: 40px;
    }
    
    .line {
        display: none;
    }
    
    .aboutme-items {
        padding-left: 0px;
        padding-right: 0px;
    }
    
    .aboutme-items-container {
        gap: 25px
    }
    
    .aboutme-image {
        position: unset;
        width: 55%;
    }
    
    .aboutme-image img {
        height: auto;
        width: 100%;
    }
    
    .case-container {
        display: flex;
        margin-top: 50px;
        width: 85%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .case-headline {
        margin-top: 0px;
        padding-left: 0px;
        margin-bottom: 0px;
        margin-right: 20px;
        z-index: 2;
        background-color: #f8f9fb;
        padding-right: 0px;
        flex-grow: 0;
        min-width: 39%;
    }
    
    .case-wrapper {
        width: 100%;
        z-index: 1;
        padding-bottom: 10px;
        width: auto;
        flex-shrink: 0;
    }
    
    .case-item {
        min-width: auto;
        margin: 0px;
        margin-right: 60px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 350px;
        flex-basis: 15%;
    }
    
    .case-item-button-background {
        left: 15px;
        width: 130px;
    }
    
    .session-container {
        margin-top: 50px;
        padding-left: 0px;
        padding-right: 0px;
        width: 85%;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        row-gap: 25px;
        flex-direction: row;
        align-items: center;
    }
    
    .session1 {
        width: 100%;
        box-sizing: border-box;
        align-content: center;
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 5%;
        padding-bottom: 5%;
        font-size: 1rem;
        flex: 0 1 39%;
    }
    
    .session2 {
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: space-evenly;
        width: 100%;
        flex: 0 1 56%;
    }
    
    .session2-text {
        width: 100%;
        margin-top: 0px;
    }
    
    .session-button-container {
        width: 100%;
        max-width: 600px;
        margin-top: 25px;
    }
    
    .services-container {
        width: 85%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0px;
        padding-right: 0px;
    }
    
    .services-headline {
        padding-left: 0px;
        padding-right: 0px;
    }
    
    .services-accordeon {
        margin-top: 25px;
    }
    
    .services-accordeon-item {
        margin-top: 15px;
    }
    
    .services-accordeon-item.active {
        padding-top: 20px;
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .services-accordeon-header {
        padding-left: 0px;
        padding-right: 0px;
    }
    
    .services-accordeon-content {
        padding-left: 0px;
        padding-right: 0px;
    }
    
    #about2 {
        margin-top: 20px;
    }   
    
    .forwhom-items-container {
        gap: 20px;
    }
    
    .whatgives-items-container {
        gap: 20px;
    }
    
    .howgoing-items-container {
        gap: 20px;
    }
    
    .learn-leela-background {
        left: 0;
    }
    
    .learn-leela-questions {
        margin-top: 20px;
    }
    
    .whyleela-items-container {
        gap: 20px;
    }
    
    .inline-option-button-background {
        transform: translateX(30px);
    }
    
    .question-container {
        width: 85%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 0px;
        padding-right: 0px;
    }
    
    .question-headline {
        padding-left: 0px;
        padding-right: 0px;
        margin-top: 40px;
    }
    
    .question-accordeon-item {
        margin-top: 10px;
    }
    
    .question-accordeon-item.active {
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 10px;
        padding-bottom: 20px;
    }
    
    .question-accordeon-header {
        padding-left: 0px;
        padding-right: 0px;
    }
    
    .contacts-container {
        width: 85%;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        padding-left: 0px;
        padding-right: 0px;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        margin-top: 50px;
    }
    
    .contacts-headline {
        margin-top: 0px;
        flex: 0 1 39%;
    }
    
    .contacts-buttons {
        flex: 0 1 56%;
    }
    
    a.contacts-button {
        height: 60px;
    }
    
    .avatar {
        height: 80px;
    }
    
    .avatar-text {
        padding-top: 15px;
    }
    
    span#profile-name {
        font-size: 0.8rem;
    }
    
    span#profile-phrase {
        font-size: 0.6rem;
    }
    
}

@media (min-width: 960px) {

    .aboutme-container {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-top: 70px;
        width: 80%;
        max-width: 1100px;
        column-gap: 40px;
    }
    
    .aboutme-headline {
        margin-top: 0px;
        margin-bottom: 0px;
        min-width: 39%;
    }
    
    .aboutme-items {
        flex: 0 0 45%;
    }
    
    .aboutme-container:nth-child(5) {
        
    }
    
    .aboutme-list-items {
        padding-left: 10px;
        padding-top: 0px;
        padding-bottom: 0px;
        gap: 20px;
        justify-content: normal;
    }
    
    .aboutme-list-item {
        background: white;
        padding: 20px 20px;
        border-radius: 20px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        height: 44px;
        align-items: center;
    }
    
    .aboutme-list {
        align-items: flex-start;
    }
    
    .aboutme-items-headline {
        margin-top: 50px;
    }
    
    a.contacts-button {
        height: 70px;
    }
    
    .avatar {
        height: 90px;
    }
    
    .avatar-text {
        margin-left: 20px;
    }
    
    span#profile-name {
        font-size: 1rem;
    }
    
    span#profile-phrase {
        font-size: 1rem;
    }
    
    a {
        height: 70px !important;
    }
    
    .main-container {
        width: 80%;
        max-width: 1100px;
    }
    
    .main-phrase {
        max-width: 450px;
    }
    
    .main-button {
        font-size: 1rem;
    }
    
    .aboutme-text {
        width: 55%;
    }
    
    .aboutme-image {
        /*max-width: 450px;*/
    }
    
    .case-container {
        width: 80%;
        max-width: 1100px;
        margin-top: 60px;
        padding-top: 10px;
    }
    
    .case-headline {
        margin-right: 50px;
    }
    
    .slider-nav {
        display: flex;
    }
    
    .session-container {
        width: 80%;
        max-width: 1100px;
    }
    
    .services-container {
        width: 80%;
        max-width: 1100px;
        display: flex;
        margin-top: 50px;
        justify-content: space-between;
    }
    
    .services-headline {
        width: 39%;
        flex-shrink: 0;
        margin-top: 20px;
    }
    
    .services-accordeon {
        width: 55%;
        flex-grow: 0;
        margin-top: 0px;
    }
    
    .question-container {
        width: 80%;
        max-width: 1100px;
        margin-top: 50px;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    
    .question-headline {
        margin-top: 20px;
        width: 39%;
    }
    
    .question-accordeon {
        margin-top: 0px;
        width: 55%;
    }
    
    .contacts-container {
        width: 80%;
        max-width: 1100px;
        margin-top: 70px;
    }
    
}