html {
    font-family: 'Raleway', sans-serif;
    background-color: #FBFAFF;
}

.error404 {
    height: calc(100vh - 400px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.error404 h1 {
    font-size: 47px;
    font-weight: 600;
}

.header_lu {
    display: block;
    top: 24px;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    padding-bottom: 3rem;
    z-index: 50;

}

.container_header {
    padding-right: 44px;
    padding-left: 44px;
    display: flex;
    flex-direction: column;
}


.header__body {
    display: flex;
    justify-content: space-between;
    height: 100%;
    border-radius: 28px;
    box-shadow: 0 0 8px #72706b0f;
    padding: 25px;
    align-items: center;
}

.header-burger {
    display: none;
    position: relative;
    z-index: 2;
    float: right;
}

.header-burger:before, .header-burger:after, .header-burger span {
    background-color: #7D8AFF !important;
}

.header__menu {
    display: flex;
    justify-content: right;
    align-items: center;
}

.header__list {
    display: flex;
    list-style: none;
    align-items: center;
    padding: 0;
    width: 100%;
    justify-content: right;
    margin: 18px 60px 18px 60px;
    flex-direction: row;
}

.header__list-item {
    position: relative;
}

.header__list li {
    margin: 0 10px 0 10px;
}

.li {
    list-style: none;
}

.header__list-item a {
    display: inline-block;
    color: #484B66;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
}

.header__list-item a:hover{
    color:#7D8AFF;
}

.head_logo {
    height: 50px;
    z-index: 9;
}

.header_btn a {
    color: #484B66;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    height: 100%;
    margin: 0 0 0 5px !important;
    border-radius: 12px;
    background-color: #F0EFFF;
    padding: 14px 21px 16px 21px;
}

.header_btn:hover a, .header_btn:active a {
    color: #F0EFFF;
    background-color: #7D8AFF;
}



/*.change-btn:hover img, .change-btn:focus img {
    filter: brightness(0) saturate(100%) invert(94%) sepia(17%) saturate(331%) hue-rotate(192deg) brightness(99%) contrast(108%);
}

.change-btn:hover,.change-btn:focus {
    background-color: #7D8AFF;
}*/



section{
    padding-bottom: 4rem;
    padding-top: 2rem;
}

.first {
/*    padding-bottom: 6rem;*/
    padding-top: 0;
}

.card_container {
    display: flex;
    height: 100%;
    background: #F0EFFF;
    border-radius: 64px;
    margin: 0 44px 0 44px;
    justify-content: space-between;
    flex-direction: row;
    padding: 80px 40px 0 40px;
}

.right-column {
    display: flex;
    justify-content:center;
    width: 45%;
    align-items: flex-end;
}


.left-column {
    display: flex;
    width: 55%;
    flex-flow: column wrap;
    justify-content: center;
    margin-bottom: 60px;
}

.container-left {
    margin-left: 20px;
    margin-top: 20px;
}

.titles {
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
}

.image-lu{
    display: flex;
    justify-content: center;
}

.screen_lu{
    max-width: 90%;
    max-height: 90%;
}

.auto-type1 {
    color: #372970;
    font-weight: 800;
}

.auto-type2 {
    color: #9AA4FF;
    font-weight: 800;
    background: linear-gradient(to right, #7D8AFF, #F79ED1, #EABDC8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title {
    font-size: 64px;
    font-weight: 300;
    color: #484B66;
    text-decoration: none;
    min-width: 0;
}

.wrap_text1 {
    display: flex;
    justify-content: center;
}

.wrap_text2 {
    display: flex;
    margin-top: -5px;
    justify-content: center;
}

.title_container {
    margin: 170px 0 20px 0;
    justify-content: center;
}

.container1 {
    justify-content: center;
}

.container_btn {
    display: flex;
    justify-content: center;
    padding-top: 60px;
    flex-direction: row;
}

/*.dwnl_button {
    display: flex;
    justify-content: center;
    padding-top: 60px;
    flex-direction: row;
    background-color: #7D8AFF;
    padding: 14px 60px 14px 60px;
    border-radius: 18px;
}*/

.dwnl_button a {
    display: flex;
    justify-content: center;
    padding-top: 60px;
    background-color: #7D8AFF;
    padding: 14px 40px 14px 40px;
    border-radius: 18px;
    color: #F0EFFF;
    font-size: 26px;
    font-weight: 500;
    text-decoration: none;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 84px 0 84px;
}

.titles-h2{
    display: flex;
    justify-content: center;
    max-width: 80%;
}

.common-container{
    display: flex;
    width: 100%;
    justify-content: space-between;
    margin-top: 4rem;
}

.cards {
    display: flex;
    flex-direction: column;
    width: calc(50% - 12px);
    justify-content: space-between;
    max-height: -webkit-fill-available;

}

.card-habit{
    display: flex;
    flex-direction: column;
    width: calc(50% - 12px);
    height: 100%;
    background-color: #F0EFFF;
    padding: 40px 40px 0 40px;
    border-radius: 32px;
    box-sizing: border-box;
}

/* .container-textes{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items:center;
} */

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

.card-practice{
    display: flex;
    height: calc(55% - 12px);
    background-color: #372C77;
    border-radius: 32px;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 30px 0 30px;
    /* box-sizing: border-box; */
}

.title-practice{
    display: flex;
    flex-direction: column;
    width: 100%;
}

.text-h3-practice{
    font-size: 52px;
    color: #FBFAFF;
    margin: 0;
    line-height: 0.9;
    align-self: flex-end;
    font-weight: 600;

}
.first-row-title {
    display:flex;
    align-items: flex-end;
    justify-content: space-between;
}

.left-container-textes{
    display: flex;
    flex-direction: column;
    width: 50%;
    max-height: 100%;
    padding-top: 20px;
}

.left-container-textes-diary{
    display: flex;
    flex-direction: column;
    width: 60%;
    max-height: 100%;
    padding-top: 20px;
}

.right-carousel{
    position: relative;
    display: flex;
    width: 50%;
    justify-content: flex-end;
    overflow: auto;
    max-height: 100%;

}

.card-diary{
    display: flex;
    height: calc(45% - 12px);
    background-color: #9AA4FF;
    border-radius: 32px;
    box-sizing: border-box;
    padding: 0 30px 10px 30px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.container-textes{
    display: flex;
    flex-direction: column;
}


.text-h2 {
    display: flex;
    font-size: 56px;
    font-weight: 200;
    color:#484B66;
    margin-bottom: -8px;
    margin: 0;
    justify-content: center;
    line-height: 1;
    text-align: center;
}

.text-h3-diary {
    font-size: 52px;
    color: #FBFAFF;
    margin: 0;
    line-height: 0.9;
    font-weight: 600;
}

.text-h3-habit {
    font-size: 52px;
    color:#484B66;
    margin: 0;
    line-height: 0.9;
    align-self: start;
    font-weight: 600;
}

.text-h5{
    display: flex;
    font-size: 16px;
    color:#F0EFFF;
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: 400;
    text-align: end;
}

.text-h5-habit{
    font-size: 16px;
    color:#9395A9;
    margin-top: 20px;
    margin-bottom: 0;
    align-self: start;
    font-weight: 400;
}

.text-h5-diary{
    font-size: 16px;
    color:#F0EFFF;
    margin-top: 10px;
    margin-bottom: 0;
    align-self: start;
    font-weight: 400;
}

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

.container-image-pr{
    display: flex;
    width: 50%;
    justify-content: flex-end;
    height: 100%;
}
.container-image-diary{
    display: flex;
    width: 40%;
    justify-content: flex-end;
    height: 100%;
    margin-bottom: 10px;
    margin-top: 10px;
}

.container-image-habit{
    display: flex;
    height: fit-content;
    width: 100%;
    justify-content: center;
}

.img-diary{
    max-width: 100%;
    max-height: 50%;
}

.lu{
    font-weight: 800;
    color:#9AA4FF;
    margin: 0;
}

.emotion-list{
    display: flex;
    flex-direction: column;
    list-style: none;
    padding-inline-start: 0;
    margin-block-start: 0;
}

.emotion-item{
    display: flex;
    background-color:#9AA4FF;
    border-radius: 60px;
    padding: 14px 40px 14px 40px;
    justify-content:center;
    align-items:center;
    color:#FBFAFF;
    font-weight: 500;
    font-size: 24px;
    margin-bottom: 30px;
}

.common-container-benefit{
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 4rem;
}

.container-row1{
    display: flex;
    /* flex-direction: row; */
    /* flex-wrap: wrap; */
    height: calc(50% - 10px) !important;
}

.container-row2{
    display: flex;
/*    margin-top: 10px;*/
    /* flex-direction: row; */
    /* flex-wrap: wrap; */
    height: calc(50% - 10px) !important;
    align-items:flex-end;
}

.row-card{
    display: flex;
    background-color:#372C77;
    width: 100%;
    border-radius: 24px;
    flex-direction: column;
    box-sizing: border-box;
    padding: 20px 20px 20px 20px;
    box-shadow: 0px 12px 25px -2px rgba(55, 44, 119, 0.2);
}

/*.swiper {
    width: 100%;
    overflow: visible !important;
}*/



.row-title-benefit {
    display: flex;
    flex-direction: row;
    align-items:flex-end;
    justify-content: space-between;
}

.row-card-video {
    display: flex;
    width: 100%;
    height: 100% !important;
    border-radius: 24px;
    overflow: hidden;
    justify-content: center;
}

.swiper-wrapper{
    display: flex !important;
    flex-direction: row !important;
}

.video{
    max-width: 150%;
    max-height: 150%;
}

.img-benefit{
    max-width: 25%;
}


.text-h6{
    font-size: 16px;
    color:#F0EFFF;
    margin-top: 14px;
    margin-bottom: 0;
    font-weight: 400;
}

.text-h4{
    font-size: 28px;
    color:#F0EFFF;
    margin: 0;
    font-weight: 600;
}

.content1, .content2 {
    margin-bottom: 26px;
    padding: 0 20px 0 20px;
}

/*.container-screens{
     display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    margin: 0 40px 0 40px;
}*/

.common-container-screens {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    margin-top: 4rem;
    align-items: center;
}


.screen-wrapper{
    display: flex;
    justify-content: center;
    width: 10%;
}

.screen {
    max-width: 90%;
    max-height: 90%;
}

.container-themes {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 100%;
}

.change-btn {
    border-radius: 12px;
    background-color: #F0EFFF;
    padding: 14px 21px 14px 21px;
    border: none;
    margin-left: 5px;
}

.btn {
    position: relative;
    color:#7D8AFF;
    width: 100%;
    height: 100%;
}

.change-btn:hover img, .change-btn:focus img {
    filter: brightness(0) saturate(100%) invert(94%) sepia(17%) saturate(331%) hue-rotate(192deg) brightness(99%) contrast(108%);
}

.change-btn:hover,.change-btn:focus {
    background-color: #7D8AFF;
}

.card-container-end {
    display: flex;
    height: 100%;
    background: #F0EFFF;
    border-radius: 64px;
    margin: 0 44px 0 44px;
    justify-content: space-between;
    flex-direction: row;
}

.card-container-donat {
    background: #FBFAFF;
    display: flex;
    height: 100%;
    margin: 0 44px 0 44px;
    justify-content: center;
    flex-direction: row;
}

.donat{
    padding-top: 40px;
}

.title-donat {
    font-size: 32px;
    font-weight: 400;
    color: #484B66;
    text-decoration: none;
    line-height: 0.95;
}

.download-apple-img {
/*    max-width: 40%;
    max-height: 40%;*/
    width: 188px; 
    height: 63px;
}

.wrap-text-dwn{
    display: flex;
    flex-direction: column;
}

.title-end {
    font-size: 48px;
    font-weight: 400;
    color: #484B66;
    text-decoration: none;
    line-height: 0.95;
}
.title-end-sub {
    font-size: 28px;
    font-weight: 400;
    color: #9395A9;
    text-decoration: none;
    line-height: 0.9;
    margin-top: 20px;

}
.left-column-dwn {
    display:flex;
    width: 50%;
    align-items: center;
    margin: 40px 0 40px 0;
}

.right-column-dwn {
    display:flex;
    width: 50%;
    justify-content: center;
}

.image-iphones {
    width: 100%;
    height: 100%;
    text-align: center;
}

.screens_lu{
    max-height: 90%;
    max-width: 90%;
}

.container-left-dwn {
    display: flex;
    flex-direction: column;
    padding-left: 120px;
}

.dwn {
    justify-content: flex-start;
    gap: 20px;
}


.fotter{
    width: 100%;
}
.container-footer{
    background-color:#F0EFFF;
    margin-left: 44px;
    margin-right: 44px;
    border-top-left-radius: 80px;
    border-top-right-radius: 80px;
}

.container-content{
    display: flex;
    flex-flow: column wrap;
    padding: 50px 80px 30px 80px;

}

.row-start {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 40px;
    align-items: flex-start;
}

.row-end {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.support{
    display: flex;
    flex-direction:column;
}

.container-sup {
    display: flex;
    align-items:center;
    margin-bottom: 5px;
}

.title-sup{
    margin-bottom: 10px;
    color:#484B66;
    font-weight: 600;
    font-size: 22px;
}

.contacts{
    margin-left: 10px;
    color:#484B66;
    font-weight: 400;
    font-size: 16px;
    text-decoration:none;
}


.social-media {
    display: flex;
    align-items: center;
}

.social{
    margin-left: 20px;
}

.documents{
    margin-right: 20px;
    color:#484B66;
    font-weight: 400;
    font-size: 16px;
    text-decoration:none;
}

.documents:hover{
    color:#7D8AFF;
    text-decoration:underline;
}

.year{
    color:#484B66;
    font-weight: 400;
    font-size: 16px;
    text-decoration:none;

}






@media (max-width: 1310px){
    .emotion-item{
        padding: 14px 30px 14px 30px;
        font-size: 20px;
    }
}



@media (max-width: 1140px){
    .emotion-item{
        padding: 14px 30px 14px 30px;
        font-size: 18px;
    }
    .text-h3-practice, .text-h3-diary, .text-h3-habit{
        font-size: 36px;
    }
    .text-h5{
        font-size: 14px;
    }
    .container{
        margin: 0 34px 0 34px;
    }
    .title {
        font-size: 56px;
    }
}




@media (max-width: 1052px) {
    .container{
        margin: 0 44px 0 44px;
    }
    .card_container {
        flex-direction: column;
        align-items: center;
        margin: 0 34px 0 34px;
    }
    .card-container-end  {
        flex-direction: column-reverse;
        align-items: center;
        margin: 0 34px 0 34px;
        padding: 10px 20px 0 20px;
    }
    .left-column-dwn{
        width: 100%;
        margin: 20px 0 60px 0;
    }
    .right-column-dwn{
        width: 60%;
    }
    .container-left-dwn{
        width: 100%;
    }
    .download-apple-img {
        max-height: 25%;
        max-width: 25%;
    }
    .titles{
        text-align: center;
    }
    .title {
        font-size: 48px;
    }
    .dwn{
        justify-content: center;
        text-align: center;
        flex-wrap: wrap;
        flex-direction: column;
        gap: 20px;
    }
    .left-column {
        width: 100%;
    }
    .right-column {
        width: 100%;
    }
    .header__list {
        margin-left: 30px;
        margin-right: 30px;
    }
    .emotion-item{
        padding: 14px 20px 14px 20px;
        font-size: 16px;
    }
    .cards{
        width: calc(50% - 6px);
    }
    .card-practice {
        height: calc(55% - 6px);
        padding: 0 20px 0 20px;
    }
    .text-h3-practice, .text-h3-diary, .text-h3-habit{
        font-size: 32px;
    }
    .screens_lu{
        max-width: 90%;
        max-height: 90%;
    }
    .container-left-dwn{
        padding-left: 0;
    }
}

@media (max-width: 835px){
    .cards{
        width: calc(50% - 6px);
    }
    .card-practice{
        height: calc(55% - 6px);
        padding: 0 20px 0 20px;
    }
    .card-diary{
        padding: 0 20px 0 20px;
    }
    .container{
        margin: 0 32px 0 32px;
    }
    .emotion-item{
        padding: 14px 15px 14px 15px;
        font-size: 14px;
    }
    .text-h3-practice, .text-h3-diary, .text-h3-habit{
        font-size: 32px;
    }
    .text-h5, .text-h5-diary, .text-h5-habit {
        font-size: 16px;
    }
}


@media (max-width: 677px){
    /* новое */
    body {
        margin: 0;
    }
    .content1, .content2 {
        margin-bottom: 45px;
        padding: 0 12px 0 12px;
    }
    section.third {
        padding-bottom: 0;
    }
    /* конец нового */
    .first-row-logo{
        display: flex;
        width: 100%;
        justify-content: space-between;
    }
    .header__body.open{
        height: 250px;
        align-items: flex-start;
    }
    .container-burger{
        height: 100%;
        background-color: #372C77;
        padding: 12px;
        border-radius: 12px;
    }
    .header-burger-wrapper {
        width: 25px;
        height: 25px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
        transition: transform 330ms ease-out;
        z-index: 10;
    }
    .header-burger-wrapper.open {
        transform: rotate(-45deg);  
    }
    .line-menu {
        background-color: #FBFAFF;
        border-radius: 5px;
        width: 100%;
        height: 4px;
    }
    .line-menu.half {
        width: 50%;
    }
    .line-menu.start {
        transition: transform 330ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
        transform-origin: right;
    }

    .open .line-menu.start {
        transform: rotate(-90deg) translateX(3px);
    }

    .line-menu.end {
        align-self: flex-end;
        transition: transform 330ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
        transform-origin: left;
    }

    .open .line-menu.end {
        transform: rotate(-90deg) translateX(-3px);
    }
    .header-burger {
        display: block;
        position: relative;
        width: 28px;
        height: 100px;
    }
    .header__menu {
        position: absolute;
        transition: all .3s ease 0s;
        top: 0;
        top: -100%;
        width: 70%;
        padding: 0;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        border-radius: 28px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .header__menu.open {
        top: 0;
        z-index: 20;
        margin-top: 100px;
        justify-content: flex-start;
    }
    .header__list {
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        height: auto;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
        -webkit-box-align: baseline;
        align-items: baseline;
    }
    .card_container {
        margin: 0 24px 0 24px;
    }
    .container_header {
        padding-right: 24px;
        padding-left: 24px;
    }
    .card-container-end{
        margin: 0 24px 0 24px;
    }
    section{
        padding-bottom: 2rem;
        padding-top: 2rem;
    }
    .title {
        font-size: 32px;
    }
    .title-end {
        font-size: 36px;
    }
    .title-end-sub{
        font-size: 24px;
    }
    .header__list {
        flex-direction: column;
        align-items:flex-start;
        justify-content: center;
        margin: 18px 0 18px 0;
    }
    .header__list li {
        margin: 5px 0 5px 0;
    }
    .common-container{
        flex-direction: column;
        align-content: space-between;
    }
    .third .container {
        margin: 0;
    }
    .container {
        margin: 0 24px 0 24px;
    }
    .cards{
        width: 100%;
        height: calc(50% - 6px);
    }
    .card-practice{
        height: calc(55% - 6px);
        padding: 0 40px 0 40px;
    }
    .card-diary{
        height: calc(45% - 12px);
        padding: 0 40px 0 40px;
    }
    .card-habit{
        width: 100%;
        height: calc(50% - 12px);
        padding: 40px 40px 0 40px;
    }
    .container-footer {
        margin: 0 24px 0 24px;
    }
    .container-content{
        padding: 50px 60px 30px 50px;
    }
    .row-start {
        flex-direction: column;
        align-items: center;
    }
    .support{
        margin-top: 40px;
    }
    .social-media{
        margin-top: 40px;
    }
    .container-doc{
        display: flex;
        flex-flow: column wrap;
        align-items: center;
    }
    .row-end{
        flex-direction: column;
        align-items: center;
    }
    .documents {
        margin-right: 0;
        margin-bottom: 10px;
        text-align: center;
    }
    .download-apple-img {
        max-height: 35%;
        max-width: 35%;
    }
    .right-column-dwn {
        width: 80%;
    }
}

@media (max-width: 432px){  
    .container{
        margin: 0 12px 0 12px;
    }
    .container_header {
        padding-right: 12px;
        padding-left: 12px;
    }
    .container_btn {
        padding-top: 40px;
    }
    .dwnl_button {
        padding: 14px 60px 14px 60px;
    }
    .card_container {
        margin: 0 12px 0 12px;
        border-radius: 28px;
        padding: 60px 20px 0 20px;
    }
    .card-container-end {
        border-radius: 28px;
        margin: 0 12px 0 12px;
        padding: 0 10px 10px 10px;
    }
    .container-footer {
        margin: 0 0 0 0;
    }
    .title {
        font-size: 32px;
        font-weight: 400;
    }
    .title-end{
        font-size: 32px;
    }
    .title-end-sub{
        font-size: 20px;
    }
    .dwnl_button{
        font-size: 18px;
        padding: 14px 40px 14px 40px;
    }
    .dwnl_button a{
        font-size: 20px;
        padding: 14px 25px 14px 25px;
        font-weight: 500;
    }
    .container-left{
        margin-left: 0;
        margin-top: 0;
    }
    .text-h2{
        font-size: 38px;
    }
    .emotion-item{
        padding: 12px 10px 12px 10px;
        font-size: 13px;
    }
    .download-apple-img {
        max-width: 50%;
        max-height: 50%;
    }
    .screen {
        /* max-height: 80%;
        max-width: 80%; */
        margin-bottom: 0 !important;
        margin-top: 0 !important;
    }
    .container-footer {
        border-top-left-radius: 28px;
        border-top-right-radius: 28px;
        margin: 0 12px 0 12px;
    }
    .text-h5, .text-h5-diary, .text-h5-habit {
        font-size: 14px;
    }
    .card-practice{
        padding: 0 30px 0 30px;
    }
    .card-diary{
        padding: 0 30px 0 30px;
    }
    .card-habit{
        padding: 40px 30px 0 30px;
    }
}


@media (max-width:  320px) {
    .title{
        font-size: 24px;
    }
    .card-practice{
        height: calc(55% - 6px);
        padding: 0 20px 0 20px;
    }
    .card-diary{
        height: calc(45% - 12px);
        padding: 0 20px 0 20px;
    }
    .card-habit{
        width: 100%;
        height: calc(50% - 12px);
        padding: 20px 20px 0 20px;
    }
    .left-container-textes {
        width: 55%;
    }
    .right-carousel{
        width: 40%;
    }
    .text-h2 {
        font-size: 32px;
    }

}

