
.content-wrap {
//background-color: #f1f1e1 !important;
    background-color: white !important;
}

.header {
    padding: 0 20px;
    margin-left: 20px;
    margin-top: 20px;
    margin-bottom: 40px;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.logo {
    width: 250px !important;
}

.content-wrap {
    background-color: #f2f2f5;
    display: block;
    padding: 20px;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    height: auto;
}

.main-title, .sub-title {
    text-align: center;
}

.main-title {
    font-size: 24px;
}
.sub-title {
    font-size: 16px;
}

.start-block {
    position: relative;
    width: 100%;
    height: 600px;
}

.left-content-image {
    position: absolute;
    left: 20%;
    width: 12%;
    max-width: 150px;
    bottom: 50px;
}

.right-content-image {
    position: absolute;
    width: 12%;
    max-width: 150px;
    right: 20%;
    bottom: 50px;
}

#boy {
    position: absolute;
    width: 40%;
    max-width: 500px;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
}


#girl {
    position: absolute;
    width: 50%;
    max-width: 600px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.registration_button {
    display: flex;
    width: 300px;
    height: 50px;
    align-items: center;
    justify-content: center;
    background-color: #8f53f9;
    font-size: 16px;
    color: white;
    border-radius: 10px;
    margin: 0 auto;
}

.svg-block > svg {
    width: 24px;
    height: 24px;
}

.image-container {
    position: relative; /* Создаем контекст для абсолютного позиционирования */
    width: 300px; /* Ширина контейнера (или размер изображений) */
    height: 300px; /* Высота контейнера (или размер изображений) */
    overflow: hidden; /* Прячем все, что выходит за границы контейнера */
}

.main-content-image {
    position: absolute; /* Позволяет наложить изображения друг на друга */
    width: 100%; /* Задайте ширину по желанию */
    height: auto; /* Соотношение сторон изображения */
    opacity: 0; /* Исходная непрозрачность всех изображений */
}

/* Анимация для первого изображения (мальчик) */
#boy {
    animation: fadeIn 15s infinite; /* Анимация появления */
}

/* Анимация для второго изображения (девочка) */
#girl {
    animation: fadeOut 15s infinite; /* Анимация исчезновения */
//animation-delay: 5s; /* Второе изображение начинает анимацию после 5 секунд */
}


/* Определяем ключевые кадры для анимации появления первого изображения */
@keyframes fadeIn {
    0%, 47% {
        opacity: 1;
    }
    48%, 49% {
        opacity: 0;
    }
    50%, 95% {
        opacity: 0;
    }
    96%, 100% {
        opacity: 1;
    }
}

/* Определяем ключевые кадры для анимации появления второго изображения */
@keyframes fadeOut {
    0%, 48% {
        opacity: 0;
    }
    49%, 50% {
        opacity: 1;
    }
    51%, 94% {
        opacity: 1;
    }
    95%, 100% {
        opacity: 0;
    }
}


.main-title {
    display: inline;
}

.cursor {
    display: inline-block;
    width: 10px;
    background: black;
    animation: blink 0.7s steps(1) infinite;
}

@keyframes blink {
    0%, 100% {
        background: transparent;
    }
    50% {
        background: black;
    }
}

.start-block-action-row {
    text-align: center;
//position: absolute;
//bottom: 0;
//left: 50%;
//transform: translateX(-50%);

}

.start-block-action-row > button {
    margin-top: 20px;
}

.problem-section,
.alter-section,
.advantages-section,
.last_motivation_section_header,
.faq-section {
    margin: 40px 0;
    font-size: 24px;
    text-align: center;
}

.v-expansion-panel-title {
    margin: 20px 0;
}
.v-expansion-panel-text {
    text-align: start;
}

.v-expansion-panels .v-expansion-panel-text__wrapper {
    background-color: #e1f3e1;
    border-radius: 10px;
}

.v-expansion-panel-text__wrapper {
    padding: 30px !important;
}

.problem-section > p,
.alter-section > p,
.advantages-section > p,
.last_motivation_section_header > p,
.faq-section > p{
    padding: 60px;
}

.problem-row, .alter-row {
    display: flex;
    flex-wrap: wrap;
    margin: 20px;
}

.problem-block {
    width: 40%;
    margin: 0 5%;
}

.alter-block {
    width: 30%;
    min-width: 380px;
    padding: 20px;
    /*height: 250px;*/
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    /*box-shadow: -3px 6px 14px -2px rgba(34, 60, 80, 0.2);*/
    /*box-shadow: 0px 0px 18px 0px rgba(0, 0, 0, 0.20) !** взято со стороннего сайта *!;*/
    -webkit-box-shadow: 4px -4px 5px -4px rgba(34, 60, 80, 0.37) inset;
    -moz-box-shadow: 4px -4px 5px -4px rgba(34, 60, 80, 0.37) inset;
    box-shadow: 4px -4px 5px -4px rgba(34, 60, 80, 0.37) inset;
    border-radius: 20px;
}


.alter-block-icon {
    /*width: 100%;*/
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    margin: 20px 0;
}
.alter-block-icon img{
    height: 180px;
}

.alter-block > p{
    font-size: 20px;
}

.debtor-title {
    width: 100%;
    padding: 10px;
    font-size: 18px;
    border-radius: 20px;
    background-color: #f9c1bd;
}

.creditor_title {
    width: 100%;
    padding: 10px;
    font-size: 18px;
    border-radius: 20px;
    background-color: #c6d0f6;
}

.problem-items {
    display: flex;
    align-items: center;
    padding-top: 20px;
    text-align: left;
    font-size: 16px;
}

.problem-items p {
    margin-left: 20px;
}

.advantages-row {
    display: flex;
    flex-wrap: wrap;
}

.advantage-block {
    font-size: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 40%;
    margin: 20px auto;
    height: 370px;
    padding: 40px;
    border-radius: 20px;
}

.advantage-block .title {
    font-size: 22px;
}

.advantage-block-icon{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-block-icon img{
    width: 160px;
}

.shadow {
    -webkit-box-shadow: 4px -4px 5px -4px rgba(34, 60, 80, 0.37) inset;
    -moz-box-shadow: 4px -4px 5px -4px rgba(34, 60, 80, 0.37) inset;
    box-shadow: 4px -4px 5px -4px rgba(34, 60, 80, 0.37) inset;
}

.footer-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
//background-color: darkgrey;
    padding: 20px;
}

.stackholder {
    color: darkgrey;
    text-align: right;

}

.main-title-block {
    text-align: center;
    margin: 50px 0;
}

.last_section {
    margin: 40px auto;
}
.alter-row {
    margin: auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.alter-block-icon > p {
    font-size: 18px;
    padding: 20px;
}

.last_motivation_section_icon {
    display: flex;
    justify-content: center;
    align-items: center;

}

.last_motivation_section__header {
    text-align: center;
}
.last_motivation_section_icon > img {
    width: 70%;
    max-width: 800px;
}

.chat-wrapper-description, .chat-history {
    width: inherit;
    margin: 0 auto;
}

.chat-wrapper-description {
    position: fixed;
    top: 0;
    background-color: lightgrey;
    padding: 20px;
    margin: 0;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 600px;
}

.chat-container {
    width: 0;
//padding: 20px;
    padding: 0;
    border-radius: 10px;
//background-color: #f9f9f9;
    position: relative;
}

.chat-history {
    display: none;
}

.active-chat {
    display: block;
    flex: 1; /* Занимает всё свободное пространство */
    overflow-y: auto; /* Позволяет прокручивать содержимое */
    position: fixed;
    top: 0;
    right: 0;
    width: 90%;
    max-width: 600px;
    height: 100%;
    border-radius: 5px;
    padding: 30px 0;
    margin-bottom: 20px;
    background-color: white;
    z-index: 999;
}

.helper-wrapper {
    height: 78%;
    padding: 30px;
    overflow-y: scroll;
}

.action_row {
    width: 100%;
    height: 200px;
    position: absolute;
    padding: 20px;
    bottom: 50px;
}

.chat-history.active-chat {
//background-color: #e0f7fa; /* Пример активного фона */
}

textarea {
    width: 100%;
    height: 50px;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.chat-buttons {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
}

.user_name_wrapper {
    padding: 5px 10px;
//border: 1px solid #cdcdcd;
    border-radius: 10px;
}

.close_helper_btn {
    position: absolute;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 10px;
    cursor: pointer;
}

.close_helper_btn {
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
}

.close_helper_btn:hover {
    background-color: white;
}

.helper_backend {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 990;
}

.input_row {
    padding-right: 10px;
    position: relative;
}

#send_message_btn {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
}

.section_wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    border: 3px solid #F9E877;
    /*border: 3px solid #F1D18D;*/

    max-width: 1452px;
    margin: 30px auto;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*box-shadow: 3px 6px 14px 2px rgba(34, 60, 80, 0.2);*/
}

.section_wrapper_title {
    padding: 10px;
//background-color: #ff7067;
    border-radius: 10px;
//color: white;
    font-size: 18px;
}

.loadiing {
    width: 100%;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.empty {
    height: 100%;
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.empty_inner_wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
}

.empty_inner_text {
    padding: 20px;
}

.block_wrapper {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.img_block_img {
    width: 200px;
    height: 200px;
}

.info_span_block {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #F9E877;
    padding: 8px 10px;
    border-radius: 10px;
}


@media (max-width: 1200px) {
    .main-title-block, .sub-title {
        padding: 0 20px;
    }
    .advantage-block {
        padding: 20px;
    }
}

@media (max-width: 1100px) {
    .start-block {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .section_wrapper_title {
        font-size: 15px;
    }
    .info_span_block {
        top: 5px;
        right: 5px;
        font-size: 12px;
    }
    .main-title {
        font-size: 22px;
    }
    .main-title-block {
        height: 90px;
    }
    .alter-block-icon {
        flex-wrap: wrap;
    }
    /*.alter-block {*/
    /*    min-width: 250px;*/
    /*}*/
    .alter-block {
        /*box-shadow: none !important;*/
    }
    .alter-block-icon > img{
        height: 180px;
    }
    .sub-title {
        margin-top: 20px;
    }
    .start-block {
        height: 400px;
    }

    .problem-section,
    .alter-section,
    .advantages-section,
    .last_motivation_section_header  {
        margin: 40px 0;
        font-size: 20px;
        text-align: center;
    }
    .problem-section > p,
    .alter-section > p,
    .advantages-section > p {
        padding: 30px;
    }

    .problem-block {
        width: 45%;
        margin:  5% auto;
    }

    .problem-items {
        height: 80px;
    }

    .alter-block > p {
        padding: 10px;
        font-size: 16px;
    }

    .advantage-block {
        width: 45%;
        margin: 10px auto;
        font-size: 16px
    }
    .footer-section {
        margin-top: 30px;
        text-align: center;
    }
    .stackholder {
        width: 100%;
        text-align: center;
    }
    .policy_container {
        margin: 15px auto;
    }
}

@media (max-width: 576px) {

    .info_span_block {
        top: 5px;
        right: 5px;
        font-size: 12px;
    }
    .block_wrapper {
        flex-wrap: wrap;
    }
    .section_wrapper_title {
        font-size: 14px;
    } 

    .img_block_img {
        width: auto;
        height: 150px !important;
    }

    .sm-hidden {
    //display: none;
    }

    .section_wrapper {
        padding: 20px;
        height: 350px;
    }

    .main-title-block {
        height: 110px;
    }
    .alter-block {
        box-shadow: none;
    }
    .logo {
        width: 200px !important;
    }
    .start-block {
        height: 400px;
    }
    .left-content-image {
        width: 15%;
        left: 5%;
    }
    .right-content-image {
        width: 15%;
        right: 5%;
    }
    .problem-block {
        width: 100%;
    }
    .problem-items {
        height: 60px;
    }
    #boy {
        width: 60%;
    }

    #girl {
        width: 70%;
        bottom: 10%;
    }

    .alter-block {
        width: 45%;
        margin: 20px auto;
    }
    .advantage-block {
        width: 90%;
    }
}
