﻿.home-service {
    position: relative;
    background: url(/Design/img/bg-1.png) no-repeat;
    background-size: 100% 100%;
}

.home-service-container {
    position: relative;
    padding-top: 364px;
    padding-bottom: 430px;
}

.grid.wide.bottom {
    position: relative;
}

.home-service-list {
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(4,minmax(0,1fr));
    column-gap: 25px;
    row-gap: 25px;
    position: absolute;
    bottom: 85px;
}

.home-service-item {
    background-color: #e9f7f0;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
    padding: 27px 18px;
}

    .home-service-item .service-img {
        height: 65px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 65px;
        background-color: #fff;
        border-radius: 50%;
    }

        .home-service-item .service-img img {
            width: 38px;
        }

    .home-service-item .service-title {
        font-family: 'HLT-MOTION-PICTURE';
        font-size: 38px;
        color: #0088e8;
        margin: 0;
        text-align: center;
        margin-top: 7px;
        font-weight: normal;
    }

    .home-service-item .service-descript {
        font-size: 16px;
        color: #666666;
        text-align: center;
        display: block;
        margin-top: 7px;
        line-height: 163%;
        font-family: 'VNF-OPTIMA';
    }

@media(max-width:1023px) {
    .home-service-container {
        padding: 45px 0;
    }

        .home-service-container .p-title-tops {
            font-size: 32px;
        }

        .home-service-container .p-descript-tops {
            font-size: 16px;
            width: 100%;
        }

    .home-service-list {
        position: relative;
        bottom: unset;
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .home-service {
        padding-bottom: 35px;
        background-size: contain;
    }
}

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

@media(max-width:739px) {
    .home-service-list {
        grid-template-columns: repeat(2,minmax(0,1fr));
        column-gap: 12px;
        row-gap: 12px;
    }

    .home-service-item .service-title {
        font-size: 25px;
    }

    .home-service-item .service-descript {
        font-size: 15px;
    }

    .home-service-container {
        padding: 20px 0;
    }
}