
.home-pic {
    background: linear-gradient( 274deg, rgba(242, 242, 237, 0) 0%, rgba(242, 242, 237, 1) 100%);
}


.home-pic-container {
    padding-bottom: 79px;
    padding-top: 64px;
}

    .home-pic-container .p-cate {
    }

    .home-pic-container .p-title {
        font-size: 32px;
        max-width: 489px;
        text-transform: capitalize;
        margin: 0 auto;
        margin-top: 17px;
    }

    .home-pic-container .p-description {
        font-size: 16px;
        max-width: 721px;
        margin: 0 auto;
        margin-top: 17px;
    }

.home-pic-list {
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(5,minmax(0,1fr));
    column-gap: 25px;
    row-gap: 30px;
    margin-top: 55px;
}

.home-pic-group {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
}

.home-pic-item {
    border-radius: 5px;
    overflow: hidden;
}
.home-pic-item:hover img {
    transform: scale(1.04);
}
.home-pic-item img {
    transition: all .3s;
}

.home-pic-group:nth-child(1) .home-pic-item:nth-child(1) {
    height: 168px;
}

.home-pic-group:nth-child(1) .home-pic-item:nth-child(2) {
    height: 227px;
}

.home-pic-group:nth-child(2) .home-pic-item:nth-child(1) {
    height: 283px;
}

.home-pic-group:nth-child(2) .home-pic-item:nth-child(2) {
    height: 198px;
}

.home-pic-group:nth-child(3) .home-pic-item:nth-child(1) {
    height: 426px;
}

.home-pic-group:nth-child(4) .home-pic-item:nth-child(1) {
    height: 188px;
}

.home-pic-group:nth-child(4) .home-pic-item:nth-child(2) {
    height: 289px;
}

.home-pic-group:nth-child(5) .home-pic-item:nth-child(1) {
    height: 227px;
}

.home-pic-group:nth-child(5) .home-pic-item:nth-child(2) {
    height: 168px;
}

.home-pic-item img {
}
/* Mobile & tablet */
@media (max-width: 1023px) {
    .home-pic-container {
        padding: 50px 0;
    }

    .home-pic-list {
        margin-top: 31px;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: 14px;
    }

    .home-pic-group {
        flex-direction: row;
        gap: 14px;
    }

        .home-pic-group .home-pic-item {
            width: 100%;
            height: 300px !important;
        }
}

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

/* Mobile */
@media (max-width: 739px) {
    .home-pic-container {
        padding: 30px 0;
    }

    .home-pic-group .home-pic-item {
        height: 200px !important;
    }
}
