/* @font-face {
    font-family: baskerville;
    src: url(fonts/LibreBaskerville-Regular.ttf);
} */

@font-face {
    font-family: mont;
    src: url(fonts/mont_extralightdemo.ttf);
}

@import url('https://fonts.googleapis.com/css2?family=PT+Serif:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bitter:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Serif:wght@400;700&family=Roboto:ital,wght@0,100;0,300;0,400;1,100;1,300&display=swap');

:root {
    --accent-color: #0a1928;
    /* --background-gold: #af7d2b; */
    --background-gold: #8f6623;
    --font-size-12: 0.75rem;
    /*12px*/
    --font-size-14: 0.875rem;
    --font-size-16: 1rem;
    /*16px*/
    --font-size-20: 1.25rem;
    /*20px*/
    --font-size-24: 1.5rem;
    /*24px*/
    --font-size-28: 1.75rem;
    /*~32px*/
    --font-size-32: 2rem;
    /*28px*/
    --font-size-44: 2.75rem;
    /*44px*/
    --font-size-48: 3rem;
    /*48px*/
}

* {
    margin: 0;
    padding: 0;
    /* font-family: 'Bitter', sans-serif; */
    font-family: 'Roboto', sans-serif;
    outline: none;
}

body,
html {
    scroll-behavior: smooth;
    height: 100%;
    background-color: var(--accent-color);
}

header {
    height: 100%;
    background-image: url('../bg-header.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    padding: 5px;
}

    header .row {
        display: flex;
        flex-direction: row;
        /* justify-content: flex-start;
    position: relative; */
    }

        header .row .row-item {
            flex: 1;
            display: flex;
            justify-content: center;
        }

    header .nav-button {
        position: fixed;
        -webkit-backface-visibility: hidden;
        top: 0;
        left: 10px;
        z-index: 10;
    }

        header .nav-button .nav-button-span {
            font-size: 30px;
            cursor: pointer;
            color: var(--background-gold);
        }

    header .row .logo {
        width: 100%;
        max-width: 480px;
        margin-top: 2em;
        height: auto;
        /* justify-self: end;
     */
        position: absolute;
        flex: 0 1 auto;
        left: 50%;
        transform: translateX(-50%);
    }

    header .row .contacts {
        width: 100%;
        display: flex;
        flex-direction: column;
        text-align: right;
        flex: 0 1 auto;
        margin-left: auto;
        margin-right: 6em;
        margin-top: 1em;
    }

        header .row .contacts .mobile a {
            display: inline;
            text-decoration: none;
            color: #Fff;
            font-size: var(--font-size-24);
        }

    header .description {
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 100%;
        align-items: center;
        width: 70%;
        margin-left: auto;
        margin-right: auto;
    }

        header .description .side {
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 5px;
            min-height: 180px;
            min-width: 500px;
        }

        header .description .about {
            /* width: 50%; */
            /* max-width: 30%; */
            /* width: 65%;
    max-width: 65%; */
            /* border-radius: 10px; */
            /* backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); */
            /* border-color: var(--background-gold);
    border-style: solid;
    border-width: 1px; */
            /* font-family: 'Bitter', sans-serif; */
            font-weight: 100;
            /* font-family: 'PT Serif', serif; */
            min-height: 100px;
        }

            header .description .about h2 {
                font-size: var(--font-size-32);
                text-align: center;
                align-self: center;
                font-family: 'Bitter', sans-serif;
                font-weight: 500;
            }

        header .description .facts {
            /* margin-top: 2em; */
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            font-size: var(--font-size-28);
            width: 1100px;
            /* min-width: 1100px; */
            /* border-radius: 10px;
    border-color: var(--background-gold);
    border-style: solid;
    border-width: 1px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); */
            align-items: center;
            margin-top: 2em;
        }

        header .description .fact {
            text-align: center;
        }

        header .description .contacts {
            /* max-width: 500px; */
            /* background-color: #222; */
            border-radius: 10px;
            border-color: var(--background-gold);
            border-style: solid;
            border-width: 1px;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            text-align: center;
            margin-top: 1.2em;
            padding: 5px;
            /* max-width: 30%; */
            /* min-width: 30%; */
            /* width: 30%; */
        }

            header .description .contacts button {
                width: 100%;
            }

@media screen and (max-width: 1151px) {
    header .description .facts {
        width: 800px;
    }
}

@media screen and (max-device-width: 800px) and (max-width: 800px) {
    header {
        height: 100%;
    }

        header .row {
            flex-direction: column;
        }

            header .row .logo {
                width: 100%;
                max-width: 200px;
                height: auto;
                position: relative;
            }

            header .row .contacts {
                margin-top: 1em;
                text-align: center;
            }

    .header .row .contacts-wrapper-right {
        width: auto;
    }

    header .description {
        flex-direction: column;
        justify-content: start;
        width: 100%;
    }

        header .description .side {
            width: 100%;
            max-width: 100%;
        }

        header .description .about {
            margin-right: 0;
            margin-top: 1.2em;
        }

            header .description .about h2 {
                font-size: var(--font-size-20);
                text-align: center;
            }

            header .description .about .facts .fact {
                font-size: var(--font-size-14);
            }

        header .description .contacts {
            /* margin-top: 1.2em; */
            max-width: 100%;
            width: 100%;
            /* max-width: 500px;
        width: 500px; */
            /* text-align: center;
        min-height: max-content; */
        }

            header .description .contacts button {
                width: 90%;
            }

            header .description .contacts input {
                width: 90%;
            }

            header .description .contacts h2 {
                font-size: var(--font-size-20);
                text-align: center;
            }

        header .description .facts {
            margin-top: 1.2em;
            max-height: fit-content;
            min-width: 100%;
            width: 100%;
        }

            header .description .facts .fact {
                font-size: var(--font-size-14);
            }
}

@media (width < 800px) {
    header {
        height: 100%;
    }

        header .row {
            flex-direction: column;
        }

            header .row .logo {
                width: 100%;
                max-width: 200px;
                height: auto;
                position: relative;
            }

            header .row .contacts {
                margin-top: 1em;
                text-align: center;
            }

    .header .row .contacts-wrapper-right {
        width: auto;
    }

    header .description {
        flex-direction: column;
        justify-content: start;
        width: 100%;
    }

        header .description .side {
            width: 100%;
            max-width: 100%;
        }

        header .description .about {
            margin-right: 0;
            margin-top: 1.2em;
        }

            header .description .about h2 {
                font-size: var(--font-size-20);
                text-align: center;
            }

            header .description .about .facts .fact {
                font-size: var(--font-size-14);
            }

        header .description .contacts {
            /* margin-top: 1.2em; */
            max-width: 100%;
            width: 100%;
            /* max-width: 500px;
        width: 500px; */
            /* text-align: center;
        min-height: max-content; */
        }

            header .description .contacts button {
                width: 90%;
            }

            header .description .contacts input {
                width: 90%;
            }

            header .description .contacts h2 {
                font-size: var(--font-size-20);
                text-align: center;
            }

        header .description .facts {
            margin-top: 1.2em;
            max-height: fit-content;
            min-width: 100%;
            width: 100%;
        }

            header .description .facts .fact {
                font-size: var(--font-size-14);
            }

            header .description .facts div:last-child {
                /* display: none; */
                /*         
        margin-top: 1.2em;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        
        border-radius: 10px;
        border-color: var(--background-gold);
        border-style: solid;
        border-width: 1px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        align-items: center; */
            }
}


.header__content {
    display: flex;
    flex-direction: column;
    background-color: blueviolet;
    text-align: center;
}

.header__content__description {
}

/*Not in order of document flow - side navigation panel */
.sidenav {
    height: 100vh;
    width: 0;
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    background-color: var(--accent-color);
    overflow-x: hidden;
    padding-top: 60px;
    transition: 0.5s;
    border-right: 1px solid var(--background-gold);
}

    .sidenav a {
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        font-size: var(--font-size-28);
        color: #fff;
        display: block;
        text-align: center;
        /* transition: 0.3s; */
        font-family: 'PT Serif', serif;
    }

        .sidenav a:hover {
            /* color: #f1f1f1; */
            color: #f1f1f1;
        }

    .sidenav .closebtn {
        position: absolute;
        top: 0;
        right: 25px;
        font-size: 36px;
        margin-left: 50px;
    }

.sidenav__contacts {
    margin-top: 30px;
    border: 1px solid var(--accent-color);
    border-radius: 5px;
    background-color: var(--accent-color);
}

    .sidenav__contacts .phone {
        font-size: var(--font-size-32);
    }

.sidenav__contacts__heading {
    display: block;
    padding: 5px;
    text-align: center;
    font-size: var(--font-size-28);
    color: #fff;
}

.sidenav__contacts .messengers {
    display: flex;
    justify-content: center;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

        .sidenav a {
            font-size: 18px;
        }
}

/* not in order of the document flow - inputs */
input[type="tel"],
input[type="text"],
textarea {
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: var(--font-size-24);
    width: 100%;
}

button, input[type="submit"] {
    background-color: var(--background-gold);
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: var(--font-size-20);
}

.heading-description .slides-request-form input[type=submit]:hover {
    background-color: var(--background-gold);
}

.section-header {
    font-size: var(--font-size-44);
    color: var(--background-gold);
    text-align: center;
    /* font-family: 'Bitter', sans-serif; */
    font-family: 'PT Serif', serif;
    font-weight: 300;
    margin-top: 10px;
    margin-bottom: 5px;
}

@media (width < 800px) {
    .section-header {
        font-size: var(--font-size-28);
    }
}

* {
    box-sizing: border-box;
}

/* Position the image container (needed to position the left and right arrows) */

* {
    box-sizing: border-box
}

/* .splide-custom-width {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
} */
/*carousel 1*/
.splide__slide img {
    /* max-height: 400px; */
    /* max-width: 600px;
    height: 300px; */
    /* width: 100%;
    height: 100%; */
    /* 
    object-fit: cover; */
}

.splide__slide img {
    width: 100%;
    object-fit: cover;
}




.location {
    width: 100%;
}

#map-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    filter: brightness(60%);
    -ms-filter: brightness(60%);
    -webkit-filter: brightness(60%);
    -moz-filter: brightness(60%);
    -o-filter: brightness(60%);
}

.ymaps-layer-pane {
    filter: brightness(50%);
    -ms-filter: brightness(50%);
    -webkit-filter: brightness(50%);
    -moz-filter: brightness(50%);
    -o-filter: brightness(50%);
}

.features {
    text-align: center;
    width: 80%;
    margin: auto;
}

    .features .grid-container {
        display: grid;
        grid-template-columns: 50% 50%;
        /* background-color: var(--background-gold); */

        padding: 10px;
    }

    .features .grid-item {
        /* background-color: rgba(255, 255, 255, 0.8); */
        background-color: #0a1928;
        /* border: 1px solid rgba(0, 0, 0, 0.8); */
        padding: 20px;
        font-size: 30px;
        text-align: center;
        color: #fff;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: safe;
    }

        .features .grid-item img {
            max-width: 49px;
            width: 49px;
            height: 49px;
        }

        .features .grid-item span {
            display: block;
            margin-left: 0.5em;
            text-align: left;
        }

@media (max-width:800px) {
    .features {
        text-align: left;
        width: 100%;
        margin: auto;
    }

        .features .grid-container {
            display: grid;
            grid-template-columns: 100%;
            /* background-color: var(--background-gold); */

            padding: 10px;
        }

        .features .grid-item span {
            font-size: var(--font-size-20);
            text-align: left;
        }
}

.floors {
    color: #fff;
}

.floors-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floors .floor-list {
    margin-right: 2em;
}

    .floors .floor-list span {
        display: block;
        font-size: var(--font-size-24);
    }

    .floors .floor-list .floor-numbers {
        display: flex;
        flex-direction: column;
        min-width: 300px;
    }

        .floors .floor-list .floor-numbers .active {
            background-color: var(--background-gold);
        }

        .floors .floor-list .floor-numbers a {
            cursor: pointer;
            display: block;
            padding: 10px;
            text-decoration: none;
            color: #fff;
            font-size: var(--font-size-28);
            border: 1px solid var(--background-gold);
            flex: 25%;
            margin: 3px;
            text-align: center;
        }

            .floors .floor-list .floor-numbers a:hover {
                background-color: var(--background-gold);
            }

            .floors .floor-list .floor-numbers a:visited {
                color: #fff;
                text-decoration: none;
            }

.building-container {
    /* max-width: 60rem;
    width: 80%; */
    width: fit-content;
    height: 90vh;
    /* margin: auto; */
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 1em;
}

polygon:hover {
    stroke: hsl(320 80% 50%);
    stroke-width: 2px;
    fill: hsl(320 80% 50% /0.5);
    /* fill: hsl(40, 80%, 50%, 0.5); */
}

.flat-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: center;
    justify-self: center;
}

    .flat-info .row {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

        .flat-info .row span {
            display: block;
            margin: 5px;
            color: var(--accent-color);
        }

@media (max-width:1150px) {

    .floors-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-content: center;
    }

    .floors .floor-list {
        margin-right: 0;
    }

        .floors .floor-list span {
            text-align: center;
            font-size: var(--font-size-20);
        }

        .floors .floor-list .floor-numbers {
            display: flex;
            flex-direction: row;
        }

    .building-container {
        max-width: 60rem;
        width: 100%;
        height: 100%;
        margin: 0;
    }
}

.additonal-info-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

    .additonal-info-container .block {
        background-color: #fff;
        border-radius: 15px;
        padding: 15px;
        margin: 5px;
        color: var(--accent-color);
        text-align: justify;
        width: 50%;
        max-width: 600px;
    }

    .additonal-info-container .mortage {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        font-size: var(--font-size-24);
        height: 70%;
    }

        .additonal-info-container .mortage a {
            display: block;
            margin-top: 15px;
            color: var(--accent-color);
        }

            .additonal-info-container .mortage a:visited {
                color: var(--accent-color);
            }

@media (width < 800px) {
    .additonal-info-container {
        flex-direction: column;
        width: 100%;
    }

        .additonal-info-container .block {
            width: 100%;
            margin: 5px auto;
        }
}

.additonal-info-container .block h3 {
    font-size: var(--font-size-24);
    color: var(--background-gold);
    text-align: center;
}

/*responsive*/

.stepper-wrapper {
    /* margin: 30px auto; */
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    color: var(--accent-color);
}

@media (min-width: 1100px) {
    .stepper-wrapper {
        max-width: 1500px;
    }
}

.resp-stepper {
    padding: 10px;
    font-size: 13px;
}

@media (min-width: 1100px) {
    .resp-stepper {
        padding: 20px;
    }
}

.stepper__list {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

@media (min-width: 1100px) {
    .stepper__list {
        display: flex;
        justify-content: space-between;
    }
}

.stepper__list__item {
    padding: 3px 5px;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
}

/*(min-width: 48em)*/
@media (min-width: 1100px) {
    .stepper__list__item {
        padding: 10px;
        flex-direction: column;
        flex: 1;
    }
}

.stepper__list__item:after {
    content: "";
    display: block;
    position: absolute;
    z-index: 2;
}

@media (min-width: 1100px) {
    .stepper__list__item:after {
        width: calc(100% - 100px);
        top: 28%;
        left: calc(50% + 50px);
        border-top: 2px dotted var(--background-gold);
    }
}

.stepper__list__item--done {
    color: var(--background-gold);
    transition: all 0.1s;
}

@media (min-width: 1100px) {
    .stepper__list__item--done:after {
        border-top-style: solid;
        border-top-width: 1px;
    }
}

.stepper__list__item--done:hover,
.stepper__list__item--done:focus {
    text-decoration: underline;
    cursor: pointer;
}

.stepper__list__item--current {
    color: var(--accent-color);
}

    .stepper__list__item--current:last-of-type:after,
    .stepper__list__item--current:only-of-type:after {
        height: 30%;
    }

.stepper__list__item:last-of-type:after {
    display: none;
}

.stepper__list__item--pending {
    color: var(--accent-color);
}

    .stepper__list__item--pending:after {
        height: 30%;
    }

.stepper__list__title {
    margin: 1px 0 0;
}

@media (min-width: 1100px) {
    .stepper__list__title {
        margin: 0;
    }
}

.stepper__list__icon {
    margin: 0 10px 0 0;
    height: 2em;
    width: 2em;
}

@media (min-width: 1100px) {
    .stepper__list__icon {
        margin: 0 0 15px;
    }
}

.stepper__list__icon path {
    fill: var(--accent-color);
}

.stepper__list__icon ellipse,
.stepper__list__icon circle {
    stroke: var(--accent-color);
}

.section-contact-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.contact-form {
    border: 2px solid #fff;
    border-radius: 15px;
    margin: 5px auto;
    padding: 15px;
    max-width: 600px;
}

    .contact-form .row span {
        display: block;
        color: var(--background-gold);
        font-size: var(--font-size-24);
    }

    .contact-form button {
        width: 100%;
    }

footer {
    margin-top: 2em;
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: var(--accent-color);
    border-top: 1px solid var(--background-gold);
    color: white;
    text-align: center;
    display: flex;
    justify-content: space-between;
    height: 20vh;
}

    footer .link-row {
        margin-top: 1em;
        display: flex;
        width: 70%;
        flex-direction: row;
        margin-left: auto;
        margin-right: auto;
        justify-content: space-between;
        align-items: center;
    }


        footer .link-row a {
            display: block;
            margin: 5px;
            text-decoration: none;
            color: #fff;
        }

            footer .link-row a:visited {
                color: #fff;
            }

        footer .link-row .logo {
            justify-self: start;
            align-self: baseline;
            width: 200px;
            max-width: 200px;
            margin-top: auto;
            margin-bottom: auto;
        }
.link-row-contacts {
    margin-top:1em;
}

.footer__messengers {
    display: flex;
    flex-direction: row;
    justify-content: center;
}


@media screen and (max-device-width: 800px) and (max-width: 800px) {
    footer .link-row {
        flex-direction: column;
        margin-top: 0.5em;
        width: 100%;
    }

        footer .link-row .logo {
            justify-self: center;
            align-self: center;
        }
}

@media screen and (width < 1100px) {
    footer .link-row {
        flex-direction: column;
        margin-top: 0.5em;
        width: 100%;
    }

        footer .link-row .logo {
            justify-self: center;
            align-self: center;
        }
}

/* footer a,
footer span {
    display: block;
    color: #fff;
    font-size: var(--font-size-16);
    padding: 5px;
} */

.reset-font {
    font-family: 'Times New Roman', Times, serif;
}

/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 20;
    padding-top: 20px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: black;
}

/* Modal Content */
.modal-content {
    position: relative;
    /* background-color: #fefefe; */
    margin: auto;
    padding: 0;
    width: fit-content;
    text-align: center;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
}

    .modal-content img {
        display: block;
        /* width: 50%; */
        height: 95vh;
        width: 95vh;
        object-fit: cover;
        margin: auto;
        margin-bottom: 1em;
    }


/* The Close Button */
.close-modal {
    color: white;
    position: fixed;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
}

    .close-modal:hover,
    .close-modal:focus {
        color: #999;
        text-decoration: none;
        cursor: pointer;
    }

.modal-plan {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content-plan {
    background-color: #fefefe;
    margin: 15% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    /* Could be more or less, depending on screen size */
}

@media screen and (max-width:800px) {
    .modal-content-plan {
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: -100px;
        margin-left: -150px;
        width: 300px;
        height: 200px;
        padding-top: 20px;
    }
}

/* The Close Button */
.close-plan-modal {
    color: var(--accent-color);
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close-plan-modal:hover,
    .close-plan-modal:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }
@keyframes redflash {
    to {
        background-color: #FFCDD2;
    }
}

.blinker {
    background: red;
    animation: redflash 0.12s 2 alternate ease-out;
}