@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/** ОБЩИЕ СТИЛИ */

html {
    scroll-behavior: smooth;
}

body  {
    font-family: "Open Sans", sans-serif;
    background-color: #F5F5F5;
    color: #000000;

    margin: 0;
    padding: 0;
}

a {
    color: #000000;
    text-decoration: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

p {
    margin: 0;
}

img {
    max-width: 100%;
    
}

h4 {
    margin: 0;
    padding: 0;
}

.container {
    box-sizing: border-box;

    max-width: 1199px;
    margin-left: auto;
    margin-right: auto;

}

.btn {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

/** HEADER */

.header {
    padding-top: 20px;
    /* padding-bottom: 50px; */
    background-color: #E1DAF0;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    z-index: 1000;

    transition: transform 0.3s ease;
}

.header--hidden {
    transform: translateY(-100%);
}

.header_menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header_menu_list {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-right: 80px;
}

.header_list_line {
    display: inline-block;
    font-weight: 400;
    font-size: 16px;
    color: #000000;
    transition: transform 0.3s ease, color 0.2s ease;
}

.header_list_line:hover {
    transform: translateY(-3px);
    color: #4e1f7f;
}


/** MAIN WELCOM */

.welcom {
    background: linear-gradient(
        155deg,
        #E1DAF0 0%,
        #E1DAF0 55%,
        #FFFFFF 45%,
        #FFFFFF 100%
    );
    padding-top: 134px;
}

.container_welcom {
    display: flex;
    justify-content: space-between;
}

.welcom_content {
    width: 565px;
    margin-top: 120px;
    margin-left: 70px;
}

.welcom_content_title {
    font-weight: 700;
    font-size: 42px;
    color: #000;
}

.welcom_content_subtitle {
    font-weight: 400;
    font-size: 25px;
    color: #4c1e7d;
    margin-bottom: 20px;
}

.welcom_content_button {
    display: flex;
    gap: 42px;
}

/** MAIN WORK */

.container_work {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.work_title {
    font-weight: 700;
    font-size: 42px;
    color: #000;
}

.work_grup {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.work_grup_payment {
    display: flex;
    justify-content: space-between;
}

.work_payment_content {
    width: 525px;
    margin-top: 192px;
    margin-right: 180px;
}

.work_content_title {
    font-weight: 700;
    font-size: 34px;
    color: #000;
}

.work_content_text {
    font-weight: 400;
    font-size: 18px;
    line-height: 194%;
    letter-spacing: 0.02em;
    color: #444;
    margin-top: 24px;
}

.work_payment_image {
    margin-top: 20px;
    width: 495px;
    position: relative;
}

.work_image_phone {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 112px;
}

.work_grup_invitation {
    display: flex;
    justify-content: space-between;
}

.work_invitation_content {
    width: 525px;
    margin-top: 172px;
    margin-left: 230px;
}

.work_invitation_image {
    margin-top: 20px;
    width: 495px;
    position: relative;
}

/** MAIN FUNCTIONS */

.functions {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 86px;
}

.functions_title {
    font-weight: 700;
    font-size: 42px;
    color: #000;
}

.functions_grup {
    display: flex;
    justify-content: space-between;
    gap: 160px;
    margin-top: 112px;
}

.functions_blok_img {
    border-radius: 12px;
    width: 78px;
    height: 78px;
    background: #6a2fb1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.functions_blok_title {
    font-weight: 700;
    font-size: 30px;
    color: #000;
    margin-top: 38px;
}

.functions_blok_text {
    font-weight: 400;
    font-size: 15px;
    line-height: 250%;
    color: #333;
    margin-top: 33px;
}

/** FOOTER */

.footer {
    background: #060606;
    padding-bottom: 50px;
    margin-top: 150px;
}

.footer_title {
    font-weight: 600;
    font-size: 70px;
    color: #edf0f4;
}

.footer_grup {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 60px;
    row-gap: 50px;
    margin-top: 30px;
}

.footer_grup_phone {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer_phone_circle {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer_phone_text {
    font-weight: 500;
    font-size: 18px;
    color: #fff;
}

.footer_phone_text {
    display: inline-block;
    font-weight: 500;
    font-size: 18px;
    color: #fff;
    transition: color 0.2s ease;
}

.footer_phone_text:hover {
    color: #6A2FB1;
}

/** MOBLE */

@media (max-width: 425px) {
    .container {
        box-sizing: border-box;
        max-width: 345px;
        margin-left: auto;
        margin-right: auto;
    }

    /** HEADER */

    .header {
        padding-top: 3px;
        padding-bottom: 3px;
        background-color: #E1DAF0;

        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 40px;

        z-index: 1000;

        transition: transform 0.3s ease;
    }

    .header--hidden {
        transform: translateY(-100%);
    }

    .header_menu {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        height: 40px;
    }

    .header_menu_logo {
        width: 60px;
        height: 40px;
    }

    .header_menu_list {
        display: flex;
        align-items: center;
        gap: 0px;
        margin-right: 0px;
    }

    .header_menu_list li {
        display: none;
    }

    .header_menu_list li:last-child {
        display: block;
    }

    .header_list_line:hover {
        transform: translateY(-3px);
        color: #4e1f7f;
    }

    .header_list_line img {
        width: 40px; 
        height: 40px;
    }


    /** MAIN WELCOM */

    .welcom {
        background: linear-gradient(
            155deg,
            #E1DAF0 0%,
            #E1DAF0 55%,
            #FFFFFF 45%,
            #FFFFFF 100%
        );
        padding-top: 57px;
    }

    .container_welcom {
        display: flex;
        justify-content: space-between;
    }

    .welcom_content {
        width: 218px;
        margin-top: 20px;
        margin-left: 0px;
    }

    .welcom_content_title {
        font-weight: 700;
        font-size: 16px;
    }

    .welcom_content_subtitle {
        font-weight: 400;
        font-size: 10px;
        margin-bottom: 10px;
    }

    .welcom_content_button {
        display: flex;
        gap: 16px;
    }

    .welcom_button_img {
        width: 62px;
        height: 21px;
    }

    .welcom_img {
        width: 107px;
        height: 205px;
    }

    /** MAIN WORK */

    .container_work {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .work_title {
        font-weight: 700;
        font-size: 24px;
        color: #000;
        margin-bottom: 30px;
    }

    .work_grup {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .work_grup_payment {
        display: flex;
        justify-content: baseline;
        align-items: center;
        flex-direction: column;
        gap: 15px;
    }

    .work_payment_content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 213px;
        margin-top: 0px;
        margin-right: 0px;
    }

    .work_content_title {
        font-weight: 700;
        font-size: 16px;
        color: #000;
    }

    .work_content_text {
        font-weight: 400;
        font-size: 12px;
        line-height: 167%;
        letter-spacing: 0.02em;
        text-align: center;
        color: #444;
        width: 210px;
    }

    .work_payment_image {
        margin-top: 0px;
        width: 240px;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .work_image_background {
        width: 240px;
        height: 290px;
    }

    .work_image_phone {
        position: absolute;
        z-index: 2;
        top: 0px;
        left: 44px;
        width: 152px;
        height: 290px;
    }

    .work_grup_invitation {
        display: flex;
        justify-content: baseline;
        flex-direction: column;
        align-items: center;
        gap: 27px;
    }

    .work_invitation_content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 210px;
        margin-top: 0px;
        margin-left: 0px;
        order: 1;
    }




    .work_invitation_image {
        margin-top: 0px;
        width: 240px;
        position: relative;
        order: 2;
    }

    /** MAIN FUNCTIONS */

    .functions {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 59px;
        gap: 30px;
    }

    .functions_title {
        font-weight: 700;
        font-size: 24px;
        color: #000;
    }

    .functions_grup {
        display: flex;
        justify-content:baseline;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-top: 0px;
    }

    .functions_grup_blok {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .functions_blok_img {
        border-radius: 12px;
        width: 60px;
        height: 60px;
        background: #6a2fb1;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .functions_img {
        width: 34px;
        height: 34px;
    }

    .functions_blok_title {
        font-weight: 700;
        font-size: 16px;
        color: #000;
        margin-top: 15px;
    }

    .functions_blok_text {
        width: 209px;
        font-weight: 400;
        font-size: 12px;
        line-height: 250%;
        text-align: center;
        color: #333;
        margin-top: 10px;
    }

    /** FOOTER */

    .footer {
        background: #060606;
        padding-bottom: 25px;
        margin-top: 30px;
    }

    .footer_title {
        font-weight: 600;
        font-size: 32px;
        color: #edf0f4;
        padding-top: 5px;
    }

    .footer_grup {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 44px;
        row-gap: 15px;
        margin-top: 18px;
    }

    .footer_grup_phone {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .footer_phone_circle {
        width: 20px;
        height: 20px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 50%;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footer_phone_circle img {
        width: 10px;
        height: 12px;
    }

    .footer_phone_text {
        display: inline-block;
        font-weight: 500;
        font-size: 12px;
        color: #fff;
        transition: color 0.2s ease;
    }

    .footer_phone_text:hover {
        color: #6A2FB1;
    }
}