﻿.WTopHomePortfolio h4, .WTopHomecombo h4 {
    display: inline-flex;
    margin: 0;
    color: #551b15;
    font-family: iCR;
    font-size: 48px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 15px;
    justify-content: center;
    align-items: center;
}

.title-combo-h .decor-tt {
    right: -83px;
}

.title-combo-h {
    position: relative;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.WTopHomePortfolio h3, .WTopHomecombo h3 {
    margin: 0;
    color: #551b15;
    font-family: 'SVNH';
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 55px;
    text-align: center;
}

.portfolio-nav ul li .item-pro-child-decor span {
    display: block;
    font-size: 16px;
    font-family: 'Montserrat-Bold';
    color: #1f1f1f;
    font-weight: normal;
    line-height: normal;
    text-align: center;
    margin-top: 8px;
}

.portfolio-nav ul li:hover h3 {
    color: #d26e4b;
}

.WTopHomePortfolio span {
    display: block;
    color: #303030;
    font-family: 'Montserrat-Regular';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
    width: 692px;
    margin: auto;
    text-align: center;
}

section#portfolio {
    position: relative;
    padding-top: 70px;
    padding-bottom: 50px;
    background: #fcf7ed;
}

    section#portfolio .grid.wide {
        position: relative;
        z-index: 1;
    }

.portfolio-nav ul li:hover a {
    color: var(--default-color-1);
}

.WTopHomePortfolio {
    padding-bottom: 33px;
    text-align: center;
}

.iccon-portfolio-home img {
    width: 12%;
}

a.btn-detail-full-menu {
    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;
}

    a.btn-detail-full-menu: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;
    }

    a.btn-detail-full-menu: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;
    }

    a.btn-detail-full-menu:hover {
        color: #551b15;
        text-decoration: none;
    }

        a.btn-detail-full-menu:hover::after {
            left: 0;
            right: 0;
            width: 100%;
            height: 100%;
        }

.portfolio-list-cate {
    text-align: center;
}

.portfolio-nav ul li img {
    transition: all .5s;
    width: 100%;
    height: 230px;
    border-radius: 12px;
    object-fit: cover;
    overflow: hidden;
}

.portfolio-nav ul li {
    list-style: none;
    color: #FFF;
    font-family: 'Montserrat-Medium';
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.img-menu-tab-item {
    overflow: hidden;
    border-radius: 12px;
    position: relative;
}

    .img-menu-tab-item img {
        transition: all .3s;
    }

.portfolio-nav ul li:hover .img-menu-tab-item img {
    transform: scale(1.03);
}

.portfolio-nav ul li h3 {
    margin: 0;
    color: #551b15;
    margin-top: 16px;
    font-size: 18px;
    font-style: normal;
    font-family: 'Montserrat-Medium';
    text-align: center;
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    transition: all linear .2s;
    line-height: normal;
}

.portfolio-nav ul {
    margin: 0;
    padding: 0;
    display: grid;
    grid-auto-rows: minmax(min-content, max-content);
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: 20px;
    row-gap: 33px;
    margin-bottom: 47px;
}

.portfolio-inner {
    margin-top: 56px;
}

#portfolio .portfolio-nav ul li.active a {
    color: #93B925;
}

#about-me .tab-pane {
    transition: all 0.4s ease;
    width: 100%;
}

.tab-content > .tab-pane {
    display: none;
}

.tab-content > .active {
    display: block;
}

.fade {
    opacity: 0;
    -webkit-transition: opacity .15s linear;
    -o-transition: opacity .15s linear;
    transition: opacity .15s linear;
}

    .fade.in {
        opacity: 1;
    }

.df-container {
    background: transparent !important;
}

.img-menu-tab-item img {
    transition: transform 0.4s ease;
    transform-origin: center;
}

section#combo .img-menu-tab-item:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 80%);
    transform: translateX(-100%);
    transition: transform 0.8s ease;
    z-index: 1;
}

section#combo ul.nav.nav-tabs li a:hover .img-menu-tab-item:before {
    transform: translateX(100%);
}

section#combo ul.nav.nav-tabs li a:hover .img-menu-tab-item img {
    transform: rotateY(8deg) scale(1.05);
}

section#combo ul.nav.nav-tabs li a:hover h3 {
    color: #f6c11c;
}

section#portfolio .img-menu-tab-item:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: #ffffff1a;
    opacity: 0;
    z-index: 1;
    transition: all .5s ease-out 0s;
}

section#portfolio .img-menu-tab-item:after {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    content: "";
    background: #ffffff1a;
    opacity: 0;
    z-index: 1;
    transition: all .5s ease-out 0s;
}

section#portfolio li:hover .img-menu-tab-item:before {
    opacity: 1;
    top: 50%;
    bottom: 50%;
}

section#portfolio li:hover .img-menu-tab-item:after {
    opacity: 1;
    left: 50%;
    right: 50%;
}

@media(max-width:1023px) {
    .WTopHomePortfolio h4 {
        font-size: 30px;
    }

    .WTopHomePortfolio span {
        font-size: 15px;
        width: 100%;
    }

    .portfolio-nav ul li:nth-child(15) {
        display: none;
    }

    .portfolio-nav ul {
        display: grid;
        grid-auto-rows: minmax(min-content, max-content);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 10px;
        row-gap: 18px;
        margin-bottom: 24px;
    }

    a.btn-detail-full-menu, a.btn-detail-full-menu:before {
        width: 150px;
        height: 44px;
    }

    a.btn-detail-full-menu {
        font-size: 20px;
    }

    section#portfolio {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .iccon-portfolio-home img {
        width: 20%;
    }

    .WTopHomePortfolio {
        padding-bottom: 25px;
    }

    section#combo ul.nav.nav-tabs {
    }

        section#combo ul.nav.nav-tabs li a .img-menu-tab-item img {
            height: 150px !important;
        }

        section#combo ul.nav.nav-tabs li a h3 {
            height: 38px;
            font-size: 15px;
            overflow: hidden;
            text-overflow: ellipsis;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            display: -webkit-box;
        }

        section#combo ul.nav.nav-tabs li a h2 {
            font-size: 13px;
            margin-top: 12px;
        }

        section#combo ul.nav.nav-tabs li a span {
            font-size: 14px;
            margin-top: 8px;
        }

    .WTopHomePortfolio h4, .WTopHomecombo h4 {
        font-size: 28px;
    }

    .title-combo-h .decor-tt {
        width: 112px;
        height: 42px;
        right: -61px;
    }

    .WTopHomePortfolio h3, .WTopHomecombo h3 {
        font-size: 26px;
        line-height: 35px;
    }

    .title-combo-h .decor-tt img {
        height: 100% !important;
    }

    section#combo {
        padding-top: 34px;
        padding-bottom: 36px;
    }

    .WTopHomePortfolio h3 {
        font-size: 26px;
    }

    .portfolio-nav ul li img {
        height: 160px !important;
    }

    .portfolio-nav ul li h3 {
        font-size: 15px;
        margin-top: 10px;
    }

    .portfolio-nav ul li a span {
        font-size: 14px;
    }

    .portfolio-nav ul li .item-pro-child-decor span {
        font-size: 13px;
        text-align: center;
    }
}

@media(max-width:739px) {
    .portfolio-nav ul li h3 {
        padding: 0 10px;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }
}