﻿.home-room {
    position: relative;
    background-image: url(../../../index.html);
    background-size: cover;
    padding-bottom: 45px;
}

.home-room-btn-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    margin-top: 128px;
    font-size: 20px;
    line-height: 150%;
    transition: all linear .3s;
    width: fit-content;
    margin-top: 112px;
    background-color: var(--default-color-2);
    border-radius: 55px;
    padding: 12px 22px;
}

    .home-room-btn-bottom:hover {
        background-color: var(--default-color-1);
    }

    .home-room-btn-bottom:hover {
        opacity: .6;
    }

    .home-room-btn-bottom span {
        display: block;
        margin-right: 10px;
        transition: all linear .3s;
        line-height: 150%;
        color: #fff;
        font-size: 17px;
        font-family: 'avertaSB';
    }

    .home-room-btn-bottom:hover span {
    }

.home-room .decor-1 {
}

.home-room .grid.wide {
    max-width: 1310px;
    position: relative;
    z-index: 2;
}

.home-room-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0px;
}

    .home-room-top .left {
    }

    .home-room-top .right {
    }

    .home-room-top .p-title-tops {
        width: fit-content;
    }

    .home-room-top .p-title {
        font-size: 46px;
        margin-top: 12px;
    }

    .home-room-top .p-descript {
        text-align: left;
        color: #6A6A6A;
        line-height: 150%;
        font-size: 18px;
        max-width: 668px;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        margin: 0;
        display: none;
    }

.home-room-container {
    position: relative;
    padding-top: 45px;
}

    .home-room-container .swiper {
    }

.home-room-decor {
    position: absolute;
    top: 0;
    left: 0;
}

.home-tienich {
    background-color: #fff;
    box-shadow: 0px 4px 24px 0px rgba(157, 217, 243, 0.60);
    margin-top: 78px;
}

.home-tienich-container {
    padding-bottom: 61px;
    padding-top: 52px;
}

.home-tienich .item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .home-tienich .item img {
        height: 40px;
    }

    .home-tienich .item h3 {
        text-align: center;
        color: #4D4D4D;
        margin: 0;
        font-size: 18px;
        text-transform: uppercase;
        font-family: avertaSTDSB;
        margin-top: 21px;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }

.home-room-decor img {
}


.home-room-container .swiper-wrapper {
    /* margin-top: 29px; */
}

.home-room-container .swiper-pagination {
    left: unset;
    text-align: center;
    bottom: 0;
}

    .home-room-container .swiper-pagination span {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        border: 1px solid #d4d4d4;
        background-color: #fff;
        opacity: 1;
        transition: all linear .3s;
        margin: 0 3px !important;
    }


    .home-room-container .swiper-pagination .swiper-pagination-bullet-active {
        border-color: var(--default-color-2);
    }

.home-room .decor-1 {
    position: absolute;
    top: 127px;
    right: 0;
}

.homeRoomSwiper {
    margin: 0 auto;
    position: relative;
    margin-top: 50px;
}

    .homeRoomSwiper .btn {
        position: absolute;
        width: 100%;
        top: calc(50% - (58px /2));
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        pointer-events: none;
    }

    .homeRoomSwiper .btn-item:hover {
        opacity: 1;
    }

    .homeRoomSwiper .btn-item {
        width: 58px;
        height: 58px;
        border-radius: 50%;
        background-color: rgb(255 255 255 / 80%);
        border: 1px solid #fff;
        pointer-events: all;
        cursor: pointer;
        backdrop-filter: blur(2px);
        opacity: 0.6;
        transition: all linear .2s;
    }

    .homeRoomSwiper .btn-prev {
        transform: translateX(24px);
    }

    .homeRoomSwiper .btn-next {
        transform: translateX(-24px);
    }

    .homeRoomSwiper .swiper {
        overflow: unset;
    }

.home-room .decor-2 {
    position: absolute;
    top: -82px;
    left: 0;
    width: 100%;
}

.home-room .decor-3 {
    position: absolute;
    bottom: calc(100% - 51px);
    right: 62px;
}

.home-room .decor-4 {
    position: absolute;
    bottom: 0;
    left: 0;
}

.home-room .decor-5 {
    position: absolute;
    right: 0;
    bottom: 0;
}

.home-room .decor-6 {
    position: absolute;
    left: 0;
    bottom: calc(100% + -103px);
}


/*RS*/
@media(max-width:1023px) {
    .homeRoomSwiper {
        width: 100%;
    }

    .home-room .grid.wide {
        max-width: 100% !important;
    }

    .home-room-container {
        padding-top: 30px;
    }

    .swiper .swiper-slide-active .p-room-item {
        transform: scale(1) !important;
    }

    .home-tienich {
        margin-top: 25px;
    }

    .home-tienich-container {
        padding: 30px 0;
    }

    .home-room-top {
        padding-top: 30px;
        flex-direction: column;
    }

        .home-room-top .p-title-tops {
            margin: 0 auto;
        }

        .home-room-top .p-title {
            margin-top: 5px;
            margin-bottom: 5px;
        }

    .home-room {
        padding-bottom: 30px;
    }

    .home-room-btn-bottom {
        margin-top: 40px;
    }
}

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

@media(max-width:739px) {
    .home-room-container {
        padding-top: 30px;
    }

    .home-room-top {
        padding-top: 0;
    }

    .home-room .decor-3 {
        display: none;
    }

    .homeRoomSwiper .btn {
        display: none;
    }

    .home-room {
        height: auto;
    }

    .home-tienich .item h3 {
        font-size: 13px;
        margin-top: 14px;
    }

    .home-room {
        padding-bottom: 20px;
    }

    .home-room-top .p-title {
        margin-top: 10px;
        margin-bottom: 10px;
    }


    .home-room-btn-bottom {
        margin-top: 5px;
        font-size: 14px;
        padding: 6px 18px;
    }

        .home-room-btn-bottom span {
            margin-right: 4px;
            font-size: 14px;
            padding: 1px 6px;
        }
}
