﻿.home-design {
    background-image: url(../../../Design/img/new-bg-design_03-min.png);
    background-size: cover;
}

.home-design-container {
    padding: 45px 0;
    padding-bottom: 140px;
}

.home-design-title {
    margin: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--default-color-1);
    font-family: osLight;
    font-weight: 100;
    margin-top: 98px;
}

    .home-design-title::before {
        content: '';
        position: absolute;
        height: 109px;
        width: 1px;
        background-color: var(--default-color-1);
        top: -173px;
    }

.home-design-slogan {
    font-size: 55px;
    color: #fff;
    font-weight: 100;
    max-width: 69%;
    margin: 0 auto;
    text-align: center;
    line-height: calc(100% + 22px);
    margin-top: 7px;
}

.home-design-descript {
    font-size: 16px;
    color: #fff;
    font-family: RayR;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: calc(100% + 9px);
    padding: 0 13%;
    margin-top: 14px;
}


    .home-design-descript::before {
        content: '';
        position: absolute;
        width: 1px;
        background-color: var(--default-color-1);
        height: 67px;
        top: calc(100% + 25px);
    }

.home-design-filter {
    margin-top: 149px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .home-design-filter .filter-item {
        font-family: OsEL;
        font-size: 24px;
        position: relative;
        color: #fff;
        padding: 0 8px;
        margin: 0 calc(20px /2);
        line-height: 100%;
        cursor: pointer;
        user-select: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .home-design-filter .filter-item.active::before {
            width: 100%;
        }

        .home-design-filter .filter-item::before {
            content: '';
            position: absolute;
            height: 13px;
            width: 0%;
            background-color: #5880cf;
            bottom: -3px;
            left: 0;
            pointer-events: none;
            transition: 0.6s cubic-bezier(.3,1.5,.4,1);
        }

        .home-design-filter .filter-item::after {
            content: '';
            position: absolute;
            width: 3%;
            height: 1px;
            background-color: #fff;
            top: calc(100% + 6px);
            opacity: 0;
            pointer-events: none;
            transition: 0.6s cubic-bezier(.3,1.8,.5,1);
        }

        .home-design-filter .filter-item.active::after {
            opacity: 0 !important;
            width: 3% !important;
        }

        .home-design-filter .filter-item:hover::after {
            width: 63%;
            opacity: 1;
        }

        .home-design-filter .filter-item span {
            z-index: 2;
            position: relative;
            pointer-events: none;
        }

        .home-design-filter .filter-item p {
            margin: 0;
            position: absolute;
            right: 6px;
            top: -24px;
            font-size: 12px;
            opacity: 0;
            pointer-events: none;
            transition: all ease .4s;
            transition-delay: .1s;
        }

        .home-design-filter .filter-item:hover p {
            right: -5px;
            opacity: .8
        }


        .home-design-filter .filter-item.active p {
            right: -5px;
            opacity: .8;
        }


.home-design-wrap {
    position: relative;
}

    .home-design-wrap .btn-all {
        position: absolute;
        bottom: -100px;
        right: 0;
        --hv: var(--color-selection);
        padding: 10px 18px;
        border: 1px solid #fff;
        color: var(--default-color-1);
        background-color: #fff;
        text-transform: uppercase;
        transition: all linear .3s;
    }

        .home-design-wrap .btn-all:hover {
            color: #fff;
            background-color: transparent;
        }

.home-design-list {
    margin: 0 auto;
    max-width: 1100px;
    display: flex;
    justify-content: flex-start;
    /* justify-content: start; */
    align-items: center;
    flex-wrap: wrap;
    margin-top: 72px;
    gap: 5px;
}

    .home-design-list .p-design-item {
        width: calc(99% / 3);
        transition: 1s;
    }

    .home-design-list .img-expand {
        width: calc(99% / 3);
        opacity: 1;
        transition-delay: 0 !important;
    }

    .home-design-list .img-shrink {
        width: 0em !important;
        height: 0;
        opacity: 0 !important;
        margin: -2.5px !important;
    }
