﻿.home-picture {
    background-image: url(/Design/img/PeaceHomeHotel/pic.png);
    background-size: cover;
    padding-top: 32px;
    padding-bottom: 30px;
    position: relative;
    z-index: 1;
}

    .home-picture .decor-1 {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        bottom: 0;
        margin: auto;
    }

.home-pic-grid .p-descript {
    color: #5F5F5F;
}

.home-picture .btn {
    text-align: center;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
    margin-top: 38px;
    color: #071E8A;
    font-family: 'WixMadeforDisplay-Medium';
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 24px */
    border-radius: 55px;
    padding: 8px 20px;
    transition: all ease .3s;
    display: none;
}

.swiper.home-picture-item-c {
    padding-bottom: 39px;
}

.home-picture .btn:hover {
    opacity: .8;
}

.home-picture .btn span {
    margin-right: 12px;
    letter-spacing: 1.4px;
}

.home-pic-grid {
    max-width: 1290px !important;
}

.home-picture .p-title-tops {
    color: #282F4B;
    text-align: center;
    font-family: 'BlackerSansText-Medium';
    font-size: 42px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}

.home-picture .p-title {
    line-height: normal;
    font-size: 32px;
    width: 549px;
}

.home-picture-item-c .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 560px;
    height: 515px;
}

.home-pic-top-c .svg-decor-room-home {
    margin-top: 4px;
}

.home-picture-list-full {
    overflow: hidden;
    margin-top: 26px;
    padding-bottom: 26px;
}

.home-picture-list {
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(5,minmax(0,1fr));
    column-gap: 15px;
    row-gap: 15px;
    margin-top: 66px;
}

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

    .home-picture-item:nth-child(1) .img {
        display: none;
    }

    .home-picture-item .img {
        border-radius: 7px;
        overflow: hidden;
        position: relative;
        width: 100%;
    }

        .home-picture-item .img::before {
            content: '';
            background: rgba(var(--villoz-white-rgb, 255, 255, 255), 0.3);
            bottom: 50%;
            content: "";
            left: 0;
            position: absolute;
            right: 0;
            top: 50%;
            opacity: 1;
            z-index: 3;
            pointer-events: none;
            transition: all 600ms linear;
        }

        .home-picture-item .img:hover::before {
            top: 0;
            bottom: 0;
            opacity: 0;
            transition: all 600ms linear;
        }

        .home-picture-item .img:hover img {
            transform: scale(1.02);
        }

    .home-picture-item:nth-child(1) .img:nth-child(1) {
        height: 202px;
        display: block;
        margin-bottom: 15px;
    }

    .home-picture-item:nth-child(1) .img:nth-child(2) {
        height: 242px;
        display: block;
    }

    .home-picture-item .img img {
        transition: all linear .2s;
    }

    .home-picture-item:nth-child(2) .img:nth-child(1) {
        height: 301px;
        margin-bottom: 15px;
    }

    .home-picture-item:nth-child(2) .img:nth-child(2) {
        height: 211px;
    }

    .home-picture-item:nth-child(3) .img:nth-child(1) {
        height: 454px;
        margin-bottom: 16px;
    }

    .home-picture-item:nth-child(3) .img:nth-child(2) {
        height: 446px;
    }

    .home-picture-item:nth-child(4) .img:nth-child(1) {
        height: 201px;
        margin-bottom: 15px;
    }

    .home-picture-item:nth-child(4) .img:nth-child(2) {
        height: 308px;
    }

    .home-picture-item:nth-child(5) .img:nth-child(1) {
        height: 243px;
        margin-bottom: 15px;
    }

    .home-picture-item:nth-child(5) .img:nth-child(2) {
        height: 196px;
    }

    .home-picture-item .btn {
    }
/*RS*/
@media(min-width:1400px) {
    .home-picture {
        background-size: 100% 100%;
    }
}

@media(max-width:1023px) {
    .home-picture {
        padding: 30px 0;
        background-size: cover;
        background-repeat: no-repeat;
    }

        .home-picture .p-title-tops {
            font-size: 24px;
        }

    .swiper.home-picture-item-c {
        padding-bottom: 0;
    }

    .home-picture .decor-1 {
        bottom: -59px;
    }

    .home-picture-item-c .swiper-slide {
        background-position: center;
        background-size: cover;
        width: 230px;
        height: 100%;
    }

    .home-picture .btn {
        margin-top: 15px;
    }

    .home-picture .p-title {
        width: 100%;
        text-align: center;
    }

    .home-picture-item {
        display: none;
    }

    .home-picture-list {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .home-picture-item:nth-child(1) {
        display: block;
        display: grid;
        grid-auto-rows: minmax(min-content,max-content);
        grid-template-columns: repeat(4,minmax(0,1fr));
        column-gap: 10px;
        row-gap: 10px;
    }

        .home-picture-item:nth-child(1) .img {
            display: block !important;
            margin: 0 !important;
            height: 194px !important;
        }
}

@media(min-width:740px) and (max-width:1023px) {
    .home-picture-item:nth-child(1) .img:last-child {
        display: none !important;
    }
}

@media(max-width:739px) {
    .home-picture-item:nth-child(1) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 10px;
        row-gap: 10px;
        margin-top: 0;
    }

    .home-picture-list {
        margin-top: 35px;
    }

    .home-picture .p-title-tops {
        font-size: 20px;
    }

    .home-picture-item:nth-child(1) .img {
        height: 150px !important;
    }

    .home-picture-item .img:nth-child(9) {
        display: none !important;
    }

    .home-picture .decor-1-right {
        width: 28%;
    }

    .home-picture-list-full {
        margin-bottom: 13px;
        padding-bottom: 0;
    }

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