﻿.img-r-about-home a img {
    display: block;
    width: 100%;
    height: 482px;
    border-radius: 30px;
    overflow: hidden;
    transition: all .3s;
}

.content-about-home {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
}

.r-about-home a {
    position: relative;
    font-size: 26px;
    color: #faecd5;
    margin: 0;
    font-family: iCR;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: left;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 184px;
    height: 51px;
}

    .r-about-home a:before {
        content: "";
        position: absolute;
        background: url(/Design/img/ComNieuHaiSanMuiNe/btn.png) no-repeat;
        background-size: cover;
        left: 0;
        top: 0;
        width: 183px;
        height: 51px;
        z-index: -1;
        background-size: 100% 100%;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        margin: auto;
        pointer-events: none;
        z-index: -1;
    }

    .r-about-home a:after {
        content: "";
        position: absolute;
        background: url(/Design/img/ComNieuHaiSanMuiNe/btn1.png) no-repeat;
        background-size: 100% 100%;
        -webkit-transition: all .6s ease;
        transition: all .6s ease;
        width: 0;
        height: 0;
        z-index: -1;
        right: 0;
        top: 0;
        left: 0;
        bottom: 0;
        margin: auto;
    }

    .r-about-home a:hover {
        color: #551b15;
    }

        .r-about-home a:hover::after {
            left: 0;
            right: 0;
            width: 100%;
            height: 100%;
        }

.left-about-home {
    flex: 1 1 0;
    text-align: right;
}

.img-r-about-home:hover a img {
    transform: scale(1.1);
}

.img-r-about-home {
    position: relative;
}

    .img-r-about-home .decor-rice-h {
        position: absolute;
        bottom: -60px;
        left: -112px;
    }

    .img-r-about-home a {
        overflow: hidden;
        border-radius: 30px;
        width: 411px;
        height: 482px;
        text-align: right;
    }

.r-about-home h1 {
    margin: 0;
    color: #551b15;
    font-family: iCR;
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: left;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.decor-tt {
    position: absolute;
    right: 34px;
    top: 23px;
    width: 173px;
    height: 50px;
}

.decor-title-rice-about {
    position: relative;
}

.decor-tt img {
    opacity: 0.2;
    width: 100%;
    height: 100%;
}

.title-vuongtron img {
    width: 526px;
}

.decor-title-rice-about .decor-tt {
    position: absolute;
    right: -19px;
    top: -6px;
    width: 173px;
    height: 50px;
}

.r-about-home h2 {
    margin: 0;
    color: #551b15;
    font-family: 'SVNH';
    font-size: 37px;
    font-style: normal;
    font-weight: 400;
    line-height: 55px;
    text-align: left;
}

.decor-icon-about-h img {
    margin: auto;
}

.r-about-home section {
    color: #303030;
    font-family: 'Montserrat-Regular';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px; /* 166.667% */
    margin-bottom: 30px;
}

.r-about-home {
    width: 62%;
    margin-right: 144px;
}

.item-skill-about h3 {
    margin: 0;
    color: #212529;
    text-align: center;
    font-family: 'Montserrat-Regular';
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 15px;
}

.list-skill-about-h {
    display: flex;
    margin-top: 25px;
    align-items: center;
}

.item-skill-about {
    text-align: center;
    margin: 0 20px;
}

    .item-skill-about:nth-child(1) {
        margin-top: 30px;
        margin-left: 0;
    }

    .item-skill-about:nth-child(3) {
        margin-top: 34px;
    }

    .item-skill-about:nth-child(4) {
        margin-right: 0;
    }

.img-decor-skill-i img {
    margin: auto;
    /* height: 63px; */
    width: auto;
    filter: grayscale(100%);
    transition: 0.5s all;
}

.item-skill-about:hover .img-decor-skill-i img {
    filter: grayscale(0%);
    transform: rotateY(180deg);
}

.w-home-about {
    position: relative;
    z-index: 1;
    padding-top: 85px;
    padding-bottom: 115px;
    background: url(/Design/img/ComNieuHaiSanMuiNe/b.jpg) no-repeat;
    background-size: cover;
}

@media(max-width:1023px) {
    .content-about-home {
        display: block;
    }

    .r-about-home a, .r-about-home a:before {
        width: 150px;
        height: 44px;
    }

    .r-about-home a {
        font-size: 20px;
    }

    .r-about-home {
        width: 100%;
        margin-top: 0;
        margin-left: 0;
    }

    .img-r-about-home a img {
        width: 100%;
        height: auto;
        border-radius: 15px;
        opacity: 0;
        visibility: hidden;
        height: 0;
    }

    .img-r-about-home a {
        width: 100%;
        height: auto;
        border-radius: 15px;
    }

    .w-home-about {
        padding-top: 25px;
        padding-bottom: 26px;
    }

    .r-about-home h1 {
        font-size: 27px;
        margin-bottom: 10px;
    }

    .r-about-home h2 {
        font-size: 17px;
    }

    .title-vuongtron img {
        width: 85%;
    }

    .img-r-about-home .decor-rice-h {
        width: 30%;
        left: auto;
        bottom: -35px;
        right: 0;
    }

    .decor-title-rice-about .decor-tt {
        top: -7px;
        width: 128px;
        height: 37px;
        right: 0;
    }

    .img-r-about-home .decor-rice-h img {
        width: 100%;
        height: 100%;
    }

    .r-about-home section {
        font-size: 15px;
        margin: 15px 0;
        text-align: justify;
    }

    .list-skill-about-h {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(4, minmax(0, 1fr));
        column-gap: 10px;
        row-gap: 40px;
    }

    .item-skill-about:nth-child(1) {
        margin-top: 2px;
        margin-right: 0;
    }

    .img-decor-skill-i img {
        width: 45%;
    }

    .item-skill-about:nth-child(2) {
        margin: 0;
    }

    .item-skill-about:nth-child(3) {
        margin: 0;
        margin-top: 20px;
    }

    .item-skill-about:nth-child(4) {
        margin: 0;
    }

    .item-skill-about h3 {
        font-size: 11px;
    }
}

@media(max-width:739px) {
    .img-r-about-home a img {
        height: 315px;
        object-position: bottom;
        opacity: 0;
        visibility: hidden;
        height: 0;
    }
}