﻿.home-why-item .img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 95px;
}

.home-why .grid.wide {
    max-width: 1225px;
    background: url(/Design/img/DienQuocHung/w.png) no-repeat;
    background-size: cover;
    padding-bottom: 40px;
    padding-top: 43px;
    position: relative;
    top: -90px;
    padding-left: 0;
    padding-right: 0;
}

.home-why-item .img img {
    transition: transform 0.6s ease-in-out;
    transform-style: preserve-3d;
}

.home-why-item:hover .img img {
    transform: rotateY(180deg);
}

.home-why-item {
    display: flex;
    align-items: center;
    flex-direction: column;
}

    .home-why-item .content h3 {
        margin: 0;
        color: #FFF;
        text-align: center;
        font-family: 'BaiJamjuree-SemiBold';
        font-size: 22px;
        font-style: normal;
        font-weight: 600;
        line-height: 27px; /* 122.727% */
        width: 240px;
    }

    .home-why-item .content span {
        display: block;
        color: #FFF;
        font-family: 'Inter_24pt-Regular';
        font-size: 15px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        margin-top: 6px;
        display: none;
    }

.home-why {
    position: relative;
}

.list-why-home {
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 13px;
    row-gap: 13px;
}

.home-why-item:nth-child(1) .content h3 {
    width: 210px;
}
/*RS*/
@media(max-width:1023px) {
}

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

@media(max-width:739px) {
    .list-why-home {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 5px;
        row-gap: 14px;
    }

    .home-why {
        padding: 25px 0;
    }

    .home-why-item .content h3 {
        font-size: 15px;
        width: auto;
        text-transform: unset;
        line-height: 23px;
    }

    .home-why-item:nth-child(1) .content h3 {
        width: 151px;
        margin: auto;
    }

    .home-why .grid.wide {
        position: unset;
        max-width: 100%;
        padding-bottom: 24px;
        padding-top: 15px;
        padding-left: 5px;
        padding-right: 5px;
    }

    .home-why-item .content span {
        font-size: 14px;
    }

    .home-why-item .img img {
        width: 60%;
        height: auto;
    }

    .home-why-item .content {
        width: 164px;
    }

    .home-why-item .img {
        height: 65px;
    }
}