.home {
    /* padding: 164px 0 0px 0; */
    padding: 204px 0 80px 0;
    /* overflow: hidden; */
    gap: 124px !important;
    background-color: var(--black1);

    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    margin-bottom: var(--mar-80);

    @media (max-width: 768px) {
        padding: 114px 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;
    }

    /* } */
    &.second {
        & .home_content {
            margin-bottom: 0 !important;
            max-width: 1280px !important;

            & .flex_2 {
                justify-content: start !important;
            }
        }
    }

    & .benefits {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 25px;

        & p {
            margin-left: unset;
            margin-right: unset;
            color: white !important;
            font-size: 16px;
            font-weight: 600;
        }
    }



    & .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 {
        margin-bottom: var(--mar-120);
        max-width: 848px;

        &>p {
            color: #999999 !important;
        }

        &>* {
            /* text-align: center; */
            /* margin-left: auto; */
            /* margin-right: auto; */
        }

        &>div:last-child {
            justify-content: center;

            & 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 {
        /* 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%;
        }
    }
}

.home.second {
    width: 100% !important;

    @media (max-width: 768px) {
        padding-top: 0 !important;
        /* margin-bottom: 0 !important; */
    }

    & .btn_accent2 {
        background-color: #020E28 !important;
        border: 2px dashed #0862E0;
        color: white !important;

        &:hover {
            background-color: transparent !important;
        }
    }

    & .home_content {
        &>p {
            font-size: var(--fz32) !important;
            font-weight: 400 !important;
            color: white !important;

            & strong {
                font-weight: 400 !important;
                color: var(--accent1);
            }
        }

        & h2 {
            color: white !important;
            font-size: 60px;

            @media (max-width: 768px) {
                font-size: 36px;
            }
        }

        @media (max-width:768px) {
            padding: 0 14px 0;
        }
    }
}