body {
    padding-top: calc(35vw + 80px);
}

.no-p {
    padding-left: 0;
    padding-right: 0;
}

.r-baner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 90vh;
    margin-top: 80px;
    padding-left: 24vw;
}
.r-baner__title {
    position: absolute;
    left: 9vw;
    top: 60px;
    z-index: 999;
    text-align: right;
    max-width: 320px;
    text-transform: uppercase;
}
.r-baner__img {
    height: 100%;
    width: 100%;
    display: flex !important;
}
.r-baner__img img {
    height: 35vw;
    min-height: 300px;
    object-fit: cover;
    flex-grow: 1;
    width: 100%;
    border-radius: 25px 0px 0px 25px;
    max-height: 80vh;
    width: 100%;
    animation: move 40s infinite;
    -ms-animation: move 40s infinite;
    -webkit-animation: move 40s infinite;
    -moz-animation: move 40s infinite;
}
.r-baner__slick .r-baner__slick-wrapper {
    display: none;
}
.r-baner__slick .r-baner__slick-wrapper:first-child {
    display: block;
}
.r-baner__txt {
    position: absolute;
    right: 9vw;
    top: 50%;
    transform: translateY(-50%);
    padding: 15px;
    background-color: rgba(0, 0, 0, .7);
    border-radius: 6px;
}
.r-baner__txt span {
    color: #EAEAEA;
    font-weight: 800;
    font-size: 20px;
    line-height: 22px;
    display: inline-block;
    position: relative;
}
.r-baner__txt span:after {
    content: '';
    width: 36px;
    height: 5px;
    background: #FECC38;
    position: absolute;
    left: 95%;
    bottom: -12px;
    z-index: 99;
}
.r-baner__txt span::before {
    content: '';
    width: 94%;
    height: 1px;
    background: #eaeaea;
    position: absolute;
    left: 0;
    bottom: 0;
    bottom: -10px;
}
.r-baner__txt a {
    z-index: 99;
    position: relative;
    top: 30px;
}
.r-yellow {
    color: #1A1919;
    padding: 15px 25px;
    margin: 0;
    line-height: 28px;
    font-size: 22px;
    background: #fecc38;
    border-radius: 15px;
    font-weight: 800;
    display: inline-block;
}
.reali--top .r-yellow {
    max-width: 380px;
}
.r-yellow-second {
    margin-top: 30px;
    padding-right: 60px;
}
.reali--top {
    top: -60px;
    position: relative;
}
.reali img {
    box-shadow: 0px 3px 6px #1A191948;
}
.reali .r-yellow {
    position: relative;
    left: 20px;
    margin-bottom: 40px;
}
.reali .r-yellow:before {
    content: '';
    height: 100%;
    position: absolute;
    left: 15px;
    top: 10px;
    width: 20%;
    background-image: url('../images/pattern.svg');
    background-repeat: no-repeat;
    display: inline-block;
}
.reali__column {
	display: -ms-flexbox;
	-ms-flex-direction: column;
	-ms-flex-wrap: wrap;
	display: flex;
	/* flex-direction: column; */
	flex-wrap: wrap;
	/* height: 580px; */
	font-size: 0; 
}
.reali__column>div {
    width: 50%;
}

.reali__right figure,
.portrait,
.square,
.landscape {
    position: relative;
}
.reali__column .landscape,
.reali__column .portrait,
.reali__column .square {
    padding: 10px;
}
.reali__column .portrait {
    /* padding: 10px 25px; */
}
.reali__column--first>div:nth-child(3) {
    /* margin-top: 30px; */
}
.reali__column:not(.reali__column--first)>div:nth-child(1) {
    /* margin-top: 30px; */
}
.reali__column:not(.reali__column--first) {
    /* margin-top: 20px; */
}
.reali__column .landscape>figure>img,
.reali__column .square img {
    object-fit: cover;
    width: 100%;
    /* height: 200px; */
    border-radius: 6px;
}
.reali__column .portrait>figure>img {
    object-fit: cover;
    width: 100%;
    /* height: 300px; */
    border-radius: 6px;
}
.reali__column figure>img {
    height: 250px;
}
.reali__right {
    display: flex;
    flex-wrap: wrap;
    position: relative;
    margin-top: 100px;
}
.reali__right-vertical {
    padding-top: 30px;
}
.reali__right-vertical figure img {
    height: 480px;
    width: 100%;
    border-radius: 6px;
    object-fit: cover;
}
.reali__right-horiz figure {
    padding: 10px;
}
.reali__right-horiz img {
    border-radius: 6px;
    object-fit: cover;
    width: 100%;
    height: 160px;
    border-radius: 6px;
}
.reali__right-title {
    margin-top: 40px;
    padding-right: 80px;
}
.reali__right-title h2:before {
    right: initial;
    left: 0;
    width: 80%;
}
.reali__right-title h2:after {
    right: initial;
    left: 78%;
}

.overlay {
    position: fixed;
    background: #5D5C5C;
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
    padding-top: 60px;
    z-index: -99999;
    opacity: 0;
    transition: .3s;
}
.overlay.active {
    z-index: 999999;
    opacity: 1;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
.overlay__img {
    text-align: center;
}
.overlay img {
    width: 100%;
    max-width: 800px;
    box-shadow: 0px 3px 15px #00000058;
    border-radius: 10px;
    height: 100%;
    cursor: pointer;
    object-fit: cover;
    max-height: 800px;
}
.overlay__txt {
    display: flex;
    flex-wrap: wrap;
    padding: 20px 10px;
    max-width: 510px;
    color: #fff;
}
.overlay__content {
    background: #1A1919 0% 0% no-repeat padding-box;
    border-radius: 4px;
    opacity: 0.67;
    color: #fff;
    max-width: 66.666%;
    flex: 0 0 66.666%;
    font-size: 10px;
    line-height: 16px;
    padding: 15px;
}
.overlay__list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
    max-width: 33.333%;
    flex: 0 0 33.333%;
}
.overlay__list a {
    font-size: 8px;
    line-height: 12px;
    padding: 6px 10px;
    margin-bottom: 15px;
}
.overlay__list a svg {
    margin-left: 20px;
}


.offer-hor {
    position: relative;
}
.offer-hor:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 20px;
    width: 31%;
    background-image: url('../images/pattern.svg');
    background-repeat: no-repeat;
    background-size: cover;
    display: inline-block;
    opacity: .2;
}
.offer-hor:after {
    content: '';
    position: absolute;
    top: 60px;
    bottom: -20px;
    right: 40px;
    width: 40%;
    background-color: #F2F2F2;
    z-index: -999;
    opacity: .5;
}

.offer-hor h2 {
    font-size: 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-bottom: 5px;
    margin-bottom: 10px;
}
.offer-hor h2 span {
    width: 100px;
    text-transform: uppercase;
    margin-bottom: 0;
}
.offer-hor h2:before {
    right: 30px;
    left: initial;
}
.offer-hor h2:after {
    right: 0;
    left: initial;
}
.offer-hor header {
    display: flex;
    justify-content: flex-end;
    padding-right: 50px;
    padding-left: 40px;
    text-align: right;
}
.offer-hor__slider {
    position: relative;
}
.offer-hor__case-slick,
.offer-hor__slick {
    padding-right: 30px;
}
.offer-hor__item {
    padding: 5px;
}
.offer-hor__item img {
    width: 100%;
    object-fit: cover;
    height: 150px;
    border-radius: 11px;
}
.offer-hor__item h3 {
    color: #1A1919;
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 10px;
}
.offer-hor__item .btn-brown {
    margin-bottom: 20px;
}
.offer-hor__arrows {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: column;
}
.offer-hor__arrows button {
    color: transparent;
    background-color: transparent;
    border: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    cursor: pointer;
}
.offer-hor__case-prev,
.offer-hor__real-prev {
    transform: rotate(90deg);
}
.offer-hor__case-next,
.offer-hor__real-next {
    transform: rotate(90deg);
}

.reali__column-case {
    display: flex;
    flex-wrap: wrap;
}
.reali__column-case__txt {
    font-weight: 800;
    font-size: 18px;
    line-height: 22px;
    color: #1A1919;
}
.reali__column--two {
    flex-direction: row;
    height: 280px;
}
.r-yellow-bottom {
    padding-right: 10vw;
}

.reali__gal-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 20px;
    margin: 0;
}
.reali__gal-list li {
    max-width: 20%;
    flex: 0 0 20%;
    padding: 10px;
}
.reali__gal-list li img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0px 3px 6px #1A191948;
}

@media(min-width: 993px) {
    figure {
        position: relative;
    }
    .reali__right figure:after,
    .portrait figure:after,
    .square figure:after,
    .landscape figure:after {
        content: '';
        background-image: url('../images/zoom-in.svg');
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        width: 36px;
        height: 36px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: .3s;
        z-index: -999;
        opacity: 0;
    }
    .reali__right figure:before,
    .portrait figure:before,
    .square figure:before,
    .landscape figure:before {
        content: 'Kliknij, aby poznać szczegóły';
        text-align: center;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        color: #FECC27;
        background: #1A1919;
        box-shadow: 0px 3px 6px #1A191948;
        border-radius: 0px 0px 6px 6px;
        font-size: 10px;
        text-transform: uppercase;
        transition: .3s;
        bottom: -20px;
        opacity: 0;
    }
    .reali__right figure:hover:before,
    .portrait figure:hover:before,
    .square figure:hover:before,
    .landscape figure:hover:before {
        bottom: 0;
        opacity: 1;
    }
    .reali__right-vertical figure:before {
        left: 0;
        right: 0;
    }
    .reali__right-horiz figure:before {
        left: 10px;
        right: 10px;
    }
    .reali__right figure:hover:after,
    .portrait:hover figure:after,
    .square:hover figure:after,
    .landscape:hover figure:after {
        z-index: 9;
        opacity: 1;
    }
}
@media(max-width: 992px) {
    body {
        padding-top: 500px;
    }
    .r-yellow {
        font-size: 18px;
        line-height: 20px;
    }
    .r-baner {
        padding-left: 0;
        height: 400px;
    }
    .r-baner__title {
        display: none;
    }
    .r-baner__img img {
        border-radius: 0px 0px 25px 25px;
        height: 400px;
    }
    .r-baner__txt {
        left: 9vw;
        right: initial;
        top: 40%;
    }
    .r-baner .r-yellow {
        left: 9vw;
    }

    .reali__right {
        top: 0;
        margin-top: 30px;
    }
    .reali__gal-list li {
        max-width: 25%;
        flex: 0 0 25%;
    }

}

@media(max-width: 767px) {
    .reali__column .portrait {
        /* padding: 5px 15px; */
    }
    .reali__column {
        padding: 0;
    }
    .reali__column>div {
        padding: 10px !important;
    }
}

@media(max-width: 500px) {
    .reali__column .landscape>figure>img, .reali__column .square img {
        /* height: 120px; */
    }
    .reali__column .portrait>figure>img {
        /* height: 200px; */
    }
    .reali__column {
        /* height: 390px; */
    }
    .reali__right {
        margin-top: 0;
    }
    .reali__right-vertical {
        margin-bottom: 20px;
    }
    .reali__right-title {
        padding-right: 15px;
    }
    .reali__column--two {
        /* height: 140px; */
    }
}