@font-face {
  font-family: "Bebas Neue";
  src: local("BebasNeueRegular"), url("../fonts/BebasNeueRegular.woff2") format("woff2"),
    url("../fonts/BebasNeueRegular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

*{
    box-sizing: border-box;
}

body{
    font-family: 'Roboto', sans-serif;
}

.header{
    background-color: #635854;
    padding-top: 12px;
    padding-bottom: 12px;
    border-bottom: 4px solid #3596F5;
}
.navbar{
    max-width: 1280px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar-menu{
    margin: 0;  /* отключаем внешние отступы */
    padding: 0; /*отключаем внутренние отступы */
    list-style: none; /* отключаем точки у списка */
    display: flex;
    text-align: center;
}
.navbar-item{
    margin-left: 40px;
    margin-right: 40px;
}
.navbar-link{
    text-decoration: none;
    color: #fff;
}
.navbar-burger{
    position: relative;
    width: 40px;
    height: 35px;
    display: none;
}
.navbar-burger span, .navbar-burger:after, .navbar-burger:before{
    height: 3px;
    width: 100%;
    position: absolute;
    background-color:#fff;
    padding: 0 auto;
}
.navbar-burger span{
    top:16px;
}
.navbar-burger:after, .navbar-burger:before{
    content: "";
}
.navbar-burger:after{
    bottom: 5px;
}
.navbar-burger:before{
    top: 5px;
}
.navbar-burger.open-burger span {
    opacity:0; 
    transition: 0.5s; 
}
.navbar-burger.open-burger:before {
    transform: rotate(38deg);
    top: 16px;
    transition: 0.4s;
}
.navbar-burger.open-burger:after {
    transform: rotate(-38deg);
    bottom: 16px;
    transition: 0.4s;
}
.navbar-contacts{
    text-align: right;
}
.navbar-text{
    display: block;
    color: #fff;
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 16px;
}
.navbar-phone{
    font-weight: 700;
    font-size: 17px;
    line-height: 20px;
    text-decoration: none;
    color: #fff;
}
.main{
    max-width: 1280px;
    margin: auto;
    padding-top: 54px;
    padding-bottom: 95px;
    display: flex;
}
.home-image path{
    opacity: 0;
    cursor: pointer;
}
.home-image path:hover{
    opacity: 1;
}
path.current-floor{
    opacity: 1;
}
.main-info{
    flex-grow: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.main-title{
    margin: 0;
    font-family: "Bebas Neue", sans-serif;
    font-weight: normal;
    font-size: 37px;
    line-height: 44px;
    color: #635854;
}
.counter-group{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.counter-button{
    background-color: #fff;
    border: none;
    cursor: pointer;
}
.counter-arrow-down{
    transform: rotateX(180deg);
}
.floor-counter{
    font-family: "Bebas Neue", sans-serif;
    color: #635854;
    font-size: 124px;
    line-height: 1em;
    padding: 35px;
    font-weight: 500;
}
.button-primary{
    background: #3596F5;
    border-radius: 6px;
    color: #fff;
    border: none;
    padding: 16px 36px;
    cursor: pointer;
}
.footer{
    border-top: 4px solid #3596F5;
    padding-top: 50px;
    padding-bottom: 56px;
    background-color: #D7D7D7;
}
.footer-info{
    max-width: 1280px;
    margin: auto;
    display: flex;
    align-items: center;
}
.logo-footer{
    margin-right: 37px;
}
.footer-contacts{
    text-align: left;
    margin-right: 59px;
}
.footer-text{
    display: block;
    color:#635854;
;
    margin-bottom: 4px;
    font-size: 14px;
    line-height: 16px;
}
.footer-phone{
    font-weight: 700;
    font-size: 17px;
    line-height: 20px;
    text-decoration: none;
    color: #635854;
}
.footer-icons{
    display: flex;
}
.footer-icons-item{
    margin-right: 15px;
    cursor: pointer;
}
.footer-nav{
    flex-grow: 1;    
    text-align: right;
    display: flex;
    justify-content: flex-end;
    
}
.footer-menu{
    display: flex;
}
.footer-item{
    list-style: none;
}
.footer-link{
    font-family: Roboto;
    font-weight: normal;
    font-size: 16px;
    line-height: 19px;
    margin-left: 20px;
    color: #635854;
}
.modal, .modal-feedback{
    position: fixed;    /* фиксированная позиция поверх всего сайта */
    left: 0;    /* приклеиваем к левому краю */
    top: 0; /* приклеиваем к верху */
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);   /* Полупрозрачный фоновый чёрный цвет */
    display: flex;  /* родительский элемент - гибкий */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.2s;
}
.is-open{
    opacity: 1;
    transform: scale(1);
}
.modal-dialog{
    position: relative;
    max-width: 1000px;
    min-height: 565px;
    background-color: #fff;
    flex-grow: 1;
    display: flex;
    opacity: 0;
    transform: translateY(-10%);
    transition: transform 0.2s, opacity 0.2s;
    transition-delay: 0.2s;
}
.modal-form{
    position: relative;
    max-width: 500px;
    min-height: 365px;
    background-color: #fff;
    flex-grow: 1;
    display: flex;
    opacity: 0;
    transform: translateY(-10%);
    transition: transform 0.2s, opacity 0.2s;
    transition-delay: 0.2s;
}
.is-open > .modal-dialog, .is-open > .modal-form{
    opacity: 1;
    transform: translateY(0);
}
.modal-feed-form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 50px;
}
.modal-form-title{
    font-weight: normal;
    font-size: 24px;
    line-height: 29px;
    margin-top: 0;
    margin-bottom: 25px;
}
.modal-feed-form button{
    margin-top: 5px;
    margin-bottom: 25px;
}
.modal-feed-form input{
    padding-top: 5px;
    padding-bottom: 5px;
    margin-bottom: 20px;
}
.modal-image{
    background-color: #EBEBEB;
    width: 60%;
    text-align: center; /* Центрирование */
    padding: 50px;
}
.modal-title{
    font-family: Bebas Neue;
    font-weight: normal;
    font-size: 24px;
    line-height: 29px;
    margin-top: 0;
    margin-bottom: 25px;
}
.flats path{
    opacity: 0;
}
.flats path:hover{
    opacity: 1;
    cursor: pointer;
}
.modal-info{
    width: 40%;
    padding: 50px 46px;
}
.flat-list{
    padding: 0;
    list-style: none;
    margin-top: 55px;
}
.flat-item{
    margin-bottom: 10px;
}
.flat-link{
    font-weight: normal;
    font-size: 16px;
    line-height: 19px;
    color: #635854;
    text-decoration: none;
}
.flat-link:hover, .hover{
    color: #3596F5;
    text-decoration: underline;
    transition: 30ms ease-in;
}
.flats .flat-path-mouseover{
    opacity: 1;
}
.modal-alert{
    font-style: italic;
    font-weight: normal;
    font-size: 16px;
    line-height: 19px;
    margin-top: 56px;
    color: #635854;
    display: none;
}
.modal-close-button,.modal-feedback-close-button{
    position: absolute;
    right: 27px;
    top: 38px;
    cursor: pointer;
    border: none;
    background-color: #fff;
}