﻿.home-picture {
    background: url(/Design/img/MoiTruongViet/b6.png) no-repeat;
    background-size: cover;
    padding-top: 50px;
    padding-bottom: 50px;
}

    .home-picture .btn {
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        width: fit-content;
        margin: 0 auto;
        margin-top: 41px;
        color: #1C1D28;
        font-family: 'Inter_24pt-SemiBold';
        font-size: 15.918px;
        font-style: normal;
        font-weight: 400;
        line-height: 150%; /* 23.877px */
        transition: all ease .3s;
    }

        .home-picture .btn:hover {
            opacity: .8;
        }

        .home-picture .btn span {
            margin-right: 8px;
        }

.home-pic-grid {
    max-width: 1292px !important;
}

.home-picture .p-title-tops {
    position: relative;
    margin: 0;
    text-align: center;
    font-family: 'OSWALD-MEDIUM';
    font-size: 42px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
    background: #035B1E;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pagi-service-h.swiper-pagination-service {
    margin: auto;
    text-align: center;
}

    .pagi-service-h.swiper-pagination-service .swiper-pagination-bullet {
        width: 17px;
        height: 17px;
        border-radius: 17px;
        background: #fff;
        opacity: 1;
    }

    .pagi-service-h.swiper-pagination-service span.swiper-pagination-bullet.swiper-pagination-bullet-active {
        background: #ffa717;
    }

.home-picture .p-title-tops:after {
    content: "";
    position: absolute;
    bottom: -21px;
    left: 0;
    right: 0;
    width: 111px;
    height: 3px;
    background: #238E44;
    margin: auto;
}

.home-picture .p-title {
    font-size: 32px;
    line-height: unset;
    margin-top: 21px;
    width: 563px;
    line-height: 159%;
}

.home-picture .p-descript {
    font-size: 16px;
    max-width: 777px;
    line-height: 138%;
    margin-top: 21px;
}

.home-picture-list {
    margin-top: 60px;
}

.home-picture-item .img {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
    /* Center slide text vertically */
    display: flex;
    justify-content: center;
    align-items: center;
}

    .home-picture-item .img::before {
        content: '';
        background: rgba(var(--villoz-white-rgb, 255, 255, 255), 0.3);
        bottom: 50%;
        content: "";
        left: 0;
        position: absolute;
        right: 0;
        top: 50%;
        opacity: 1;
        z-index: 3;
        pointer-events: none;
        transition: all 600ms linear;
    }

    .home-picture-item .img:hover::before {
        top: 0;
        bottom: 0;
        opacity: 0;
        transition: all 600ms linear;
    }

    .home-picture-item .img:hover img {
        transform: scale(1.02);
    }

    .home-picture-item .img img {
        transition: all linear .2s;
        height: 270px;
    }

.home-picture-item .swiper-wrapper {
    flex-flow: wrap-reverse;
    padding-bottom: 30px;
}

.home-picture-item {
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}

    .home-picture-item .img a {
        display: block;
    }
/*RS*/
@media(max-width:1023px) {
    .home-picture::before {
        display: none;
    }

    .home-picture .decor-1,
    .home-picture .decor-2 {
        display: none;
    }

    .home-picture-list {
        margin-top: 30px;
    }

    .home-picture {
        padding: 30px 0;
    }

    .home-picture-item {
    }

        .home-picture-item .img {
            height: 165px;
        }

            .home-picture-item .img img {
                height: 100%;
            }

    .home-picture .p-title-tops {
        font-size: 20px;
    }

        .home-picture .p-title-tops:after {
            content: "";
            position: absolute;
            bottom: -14px;
            left: 0;
            right: 0;
            width: 58px;
            height: 3px;
            background: #238E44;
            margin: auto;
        }
}

@media(min-width:740px) and (max-width:1023px) {
}

@media(max-width:739px) {
    .home-picture-list {
        margin-top: 35px;
    }

    .home-picture .decor-1 {
        display: none;
    }

    .home-picture {
        padding-bottom: 0;
        padding-bottom: 20px;
    }

        .home-picture .btn {
            margin-top: 24px;
            font-size: 14px;
        }

        .home-picture .decor-2 {
            opacity: .4;
        }

        .home-picture .p-title {
            font-size: 22px !important;
            margin-top: 10px;
            line-height: 157%;
        }

        .home-picture .p-descript {
            font-size: 15px;
            line-height: 150%;
            margin-top: 10px;
            text-align: justify;
        }
}