#home {
    background: url("../images/main/backmain3.jpg") no-repeat fixed;
    background-size: cover;
    height: 100vh;
    overflow: hidden;
}

#page {
    padding-top: 0;
}

section {
    padding: 40px 0 40px 0 !important;
}

#about,
#buildings {
    padding: 10px 0 10px 0 !important;
}

/* about */

.about {
    background-color: rgba(199, 206, 210, 0.15);
    background-position: bottom left;
}

@media (max-width: 768px) {
    .about {
        padding-top: 30px;
    }
}

/* particularities */

.particularities {
    padding-bottom: 25px;
}

.particularities__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
}

.particularities p {
    margin: 0;
}

.particularities__img {
    width: 70px;
    display: flex;
}

@media (max-width: 768px) {
    .particularities__list {
        grid-template-columns: 1fr;
    }
}

/* buildings */

.buildings {
    background-color: rgba(199, 206, 210, 0.15);
    background-position: bottom left;
}

.buildings__content_list {
    display: grid;
    grid-template-columns: 170px 170px;
    grid-template-rows: 1fr 1fr;
    justify-content: space-around;
}

.buildings__content_list h2 {
    color: var(--accent);
    font-size: 48px;
}

.buildings__content_list .sub_three {
    line-height: unset;
}

@media (max-width: 576px) {
    .buildings__content_list {
        grid-template-columns: 40% 50%;
        grid-template-rows: 1fr 1fr;
        justify-content: center;
    }

    .buildings__content_list li {
        padding: 0 15px;
    }

    .buildings__content_list li {
        display: flex;
        justify-content: space-around;
    }
}

/* contacts */

.contacts {
    background-color: var(--background);
}

.map-frame {
    width: 100%;
    height: 620px;
}

#map {
    width: 100%;
    height: 100%;
    z-index: 0;
}

@media (max-width: 680px) {
    .best__suggestions .card {
        margin-right: 0;
        display: grid;
        grid-template-columns: 1fr 1.5fr;
    }

    .best__suggestions .card .card-img-top {}

    .best__suggestions .card .card-stats {
        border-left: 1px solid var(--lightGray);
    }

    .best__suggestions .card h4 {
        letter-spacing: unset;
        margin: 0;
    }

    .best__suggestions .card h3 {
        font-size: 18px;
    }

    .best__suggestions .card .sub_two {}

    .best__suggestions .card .fav__ico {
        right: 0%;
        left: 3%;
        top: 5%;
    }
}

@media (max-width: 668px) {
    .map-frame {
        height: 400px;
    }

    #home {
        background: url("../images/main/backmain3.jpg");
        background-size: cover;
        height: 100vh;
        overflow: hidden;
    }
}

@media (max-width: 440px) {
    .best__suggestions .card .card-stats {}
}

.flats__container {}

.swiper {
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 0 auto;
}

.swiper-wrapper {
    width: 100%;
}

.about-text-container {
    min-width: 500px;
}

@media (max-width: 500px) {
    .about-text-container {
        min-width: 100%;
    }
}

.swiper2 {
    max-width: 500px;
    max-height: 700px;
    overflow: hidden;
}

.swiper3 {
    max-width: 500px;
    max-height: 500px;
    overflow: hidden;
}

.buildings-slider {
    max-width: 500px;
    margin: auto;
}

@media (max-width: 768px) {
    .buildings-slider .switches-wrapper {
        margin-bottom: 60px;
    }
}

.swiper2 .swiper-slide,
.swiper3 .swiper-slide {
    width: 100% !important;
}

.switches-wrapper {
    display: flex;
    align-items: center;
}

.switches-button {
    display: flex;
}

.prewbutton,
.nextbutton {
    width: 40px;
    height: 40px;
    border: 2px solid #202020;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#panorama {
    position: relative;
    padding-bottom: 0 !important;
    padding-top: 70px !important;
}

.pano {
    height: calc(100vh - 72px);
    width: 100%;
}

.panorama-btn {
    cursor: pointer;
}

.panorama-block {
    position: absolute;
    top: 20px;
    right: 25px;
    cursor: pointer;
}

.block-modal {
    display: flex;

    font-style: normal;
    font-weight: 500;
    font-size: 11px;
    color: #302E3C;

    position: absolute;
    top: 15px;
    right: 70px;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    opacity: 0;
    transition: all 1s ease-out;
}

.block-modal p {
    margin: 0;
}

.block-modal__close {
    margin-left: 10px;
    cursor: pointer;
    transition: all 0.5s ease-out;
}

.block-modal__close:hover {
    color: red;
}

.block-modal {
    font-family: 'Montserrat Alternates';
}

#flats {
    padding-bottom: 0 !important;
}

@media (max-width: 500px) {
    .block-modal {
        top: 146px;
        right: 13px;
        max-width: 190px;
    }
}

.panorama-container {
    position: relative;
    padding: 0 10px;
    max-width: 800px;
    width: 100%;
}

@media (max-width: 600px) {
    .panorama-container {
        padding: 20px;
    }

    #pan {
        max-height: 440px;
    }
}

.panorama-hidden {
    position: absolute;
    top: 0;
    left: 10px;
    width: calc(100% - 20px);
    height: calc(100vh - 72px);
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, rgba(12, 12, 13, 0.6866947462578781) 0%, rgba(12, 12, 13, 0.6222689759497548) 53%, rgba(233, 149, 1, 0.34495805158000703) 100%, rgba(12, 12, 13, 1) 100%);
    z-index: 1;
}

.panorama-hidden.hide {
    display: none;
}

.panorama-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pan-info {
    background: rgba(199, 206, 210, 0.15);
    padding: 15px;
    border-radius: 6px;
}

@media (max-width: 998px) {
    .panorama-content {
        flex-direction: column;
    }

    .pan-info {
        max-width: 600px;
        width: 100%;
        margin-top: 20px;
    }
}