.home {
    /* padding: 164px 0 0px 0; */
    padding: 90px 0 10px 0;
    /* overflow: hidden; */
    gap: 40px !important;
    background-color: var(--black1);

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    &.second {
        padding: 68px 0 !important;
        overflow: hidden;


        & .home_bg {
            top: 0 !important;
            left: 0 !important;
            height: 100% !important;
            position: absolute;
        }

        @media (max-width:768px) {
            /* padding-top: 32px !important; */
            padding: 32px 0 !important;

            & .home_bg {
                height: 100% !important;
            }
        }
    }

    @media (max-width: 768px) {
        padding: 90px 0 30px 0 !important;

        display: flex;
        flex-direction: column-reverse;

    }

    /* &>div { */
    display: flex;
    flex-direction: row-reverse;
    gap: 24px;
    align-items: center;
    /* margin-bottom: 80px; */

    @media (max-width: 768px) {
        /* margin-bottom: 60px; */
        flex-direction: column;
        gap: 24px !important;
    }

    /* } */

    & .benefits {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: start;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 25px;

        & p {
            color: white !important;
            font-size: 16px;
            font-weight: 600;
        }

        /* & > li {
            &:not(:first-child) {
                margin-left: 28px;
                &::after {
                    content: "";
                    position: absolute;
                    left: -15px;
                    top: 50%;
                    transform: translateY(-50%);
                    width: 4px;
                    height: 4px;
                    border-radius: 100px;

                    background: linear-gradient(
                        to bottom,
                        #a5beff 0%,
                        #0047ff 100%
                    );
                }
                @media (max-width: 768px) {
                    margin-left: 20px;
                    &::after {
                        left: -12px;
                    }
                }
            }
        } */
    }



    & .home_bg {
        /* position: absolute; */
        /* top: 0; */
        /* left: 0; */
        /* width: 100%; */
        /* height: 100%; */

        & img {
            object-fit: cover;
        }

        @media (max-width: 768px) {
            position: relative;
            /* aspect-ratio: 2/1; */
        }
    }

    & h1,
    & p {
        color: #FFFFFF !important;
    }



    & * {
        /* color: white; */
    }

    & .home_content {
        &>p {
            color: #999999 !important;
        }

        &>* {
            max-width: none;
            /* text-align: center; */
            /* margin-left: auto; */
            /* margin-right: auto; */
        }

        &>div:last-child {
            justify-content: start;

            & a {
                /* padding: 17px 44px !important; */
                flex: unset !important;

                @media (max-width:768px) {
                    width: 100% !important;
                }
            }

            &>a:last-child {
                /* background-color: #191919 !important; */
            }
        }


    }

    &>.home_content {
        &>p:not(:first-child) {
            /* color: #999999; */
        }

        /* & div:has(> img) {
            margin-left: auto;
            margin-right: auto;
            margin-bottom: 52px;
            max-width: 424px;
        } */
        &>div:last-child {
            & * {
                margin-bottom: 0;
            }
        }
    }

    &>div>p:has(+ h2) {
        margin-bottom: 8px !important;
    }

    & h1,
    & p {
        max-width: 846px;
    }

    & h1,
    & h2 {
        margin-bottom: 20px;
    }

    & a {
        /* justify-self: center; */
    }

    & p:not(:first-child) {
        /* opacity: 0.7 !important; */
    }

    & h1+p {
        font-size: 18px;
        /* color: white !important; */
    }

    & h1 {
        font-weight: 800 !important;
        /* color: #FFFFFF !important; */
    }

    /* & .home_embla {
        margin-bottom: var(--mar-44);
        & .embla__container {
            gap: 6px;
        }
        & .embla__slide {
            flex: 0 0 16.41%;
            @media (max-width: 1024px) {
                flex: 0 0 26.41%;
            }
            @media (max-width: 768px) {
                flex: 0 0 76.41%;
            }
        }
    } */
    & .flex_2 {
        @media (min-width: 768px) {
            flex-wrap: nowrap !important;
        }

        &>* {
            /* padding: 16px !important; */
            flex: 1 1 50% !important;
            max-width: unset !important;
            max-width: unset !important;
        }
    }
}

@media (max-width: 768px) {
    .home {

        /* padding: 0 0 50px 0; */
        & h1,
        & h2,
        & p,
        & a {
            /* padding: 0 4%; */
        }

        & a {
            max-width: 94%;
        }
    }
}