@media (max-width: 1600px) {
  html {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

  body
  {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
  
  .header-contact__adress {
      left: 39%;
  }
  
    .header-item img {
        width: 74%;
    }
}

@media (max-width: 1387px) {
    .header-contact__adress {
        left: 40%;
    }
    .header-contact__phone {
        right: 7%;
    }
    .header-item img {
        width: 70%;
    }
    .header-menu {
        right: 11%;
    }
    .header-logo p {
        margin-top: 20px;
        margin-left: 30px;
    }
}

@media (max-width: 1200px) {
    .apartament-main__img {
        right: -493px;
    }  
    
    .header-contact__phone {
        right: 1%;
    }
}

@media (max-width: 1024px) {
    .header-logo p {
        margin-top: 20px;
    }
    .header:before {
        background-size: 100% 245%;
    }
    .header-contact__adress {
        top: 0;
        left: 42%;
    }
    .header-contact__phone {
        right: 0%;
        top: 18px;
    }
    .header-menu {
        right: 8%;
    }
    .header-menu nav ul a {
        font-size: 18px;
    }
    .header-bottom__left {
        width: 60%;
        margin-left: 50px;
    }
    .header-bottom__right {
        width: 27%;
        margin-right: 50px;
    }
    .header-item__form:before {
        left: 14px;
    }
    .header-item__form input[type=text] {
        font-size: 16px;
    }
    .header-button__form input {
        font-size: 16px;
    }
    .header-bottom__block img {
        width: 20px;
        height: 20px;
    }
    .header-bottom__block p {
        font-size: 16px;
    }
    .itemromb h1 {
        font-size: 35px;
    }
    .prewievs-block__item h6 {
        font-size: 18px;
        margin-top: 12px;
    }
    .prewievs-block__item img {
        width: 30px;
        height: auto;
    }
    .prewievs-block__item {
        height: 60px;
    }
    .prewievs-block__item:before {
        left: -44px;
        top: 25px;
        height: 32%;
        width: 67px;
    }
    .prewievs-block__item:after {
        left: -20px;
        top: 55px;
        height: 30%;
        width: 19px;
    }
    .prewievs-block__title {
        height: 100px;
    }
    .prewievs-block__title p {
        font-size: 14px;
    }
    .apartament-main {
        width: 420px;
    }
    .apartament-under__title p {
        width: 166px;
    }
    .apartament-result {
        width: 656px;
    }
    .apartament-result__total-price:before {
        width: 174px;
        right: -219px;
    }
    .apartamentip-result p, .apartamentip-home p, .apartamentip-general p {
        font-size: 18px;
    }
    .apartamentip-result {
        top: 94px;
        left: 146px;
    }
    .apartamentip-result p:nth-child(2) {
        margin-left: 94px;
    }
    .apartamentip-home {
        top: 182px;
        left: -162px;
        width: 650px;
    }
    .apartamentip-general {
        top: 242px;
        left: -4px;
    }
    .apartamentip-general p:nth-child(2) {
        margin-left: 255px;
    }
    .apartamentip-img img:nth-child(1) {
        left: -95px;
    }
    .about-block {
        margin: 50px 50px 0px;
    }
    .accordion-tabs li.tab-head-cont a {
        font-size: 16px;
    }
    .accordion-tabs:before,
    .accordion-tabs:after {
        height: 60px;
    }
    .accordion-tabs li.tab-head-cont a.is-active:before {
        height: 50px;
    }
    .is-active.one:after {
        height: 50px;
    }
    .accordion-tabs-text_left p {
        font-size: 16px;
    }
    .accordion-tabs-text_right p {
        font-size: 16px;
    }
    .application-item__form input,
    .application-button__form input {
        font-size: 18px;
    }
    .application-item__form {
        height: 55px;
    }
    .application-button__form {
        height: 58px;
    }
    .contacts .itemromb {
        margin-left: -33%;
    }
}

@media (max-width: 980px) {
    .header-logo {
        position: absolute;
        left: -50px;
        z-index: 9999;
    }
    .header-menu {
        display: none;
    }
    .header-contact__adress {
        top: 58px;
        left: 45%;
        z-index: 9999;
    }
    .header-item img {
        width: 80%;
        position: absolute;
        z-index: 9999;
        right: -16%;
        top: 0px;
    }
    .header-contact__phone {
        right: 0%;
        top: 8px;
        z-index: 9999;
    }
    .header-contact__phone a {
        font-size: 20px;
    }
    
    .header-contact__phone a:hover {
        color: gray;
    }
    
    .header-contact__adress p {
        font-size: 18px;
        line-height: normal;
    }
    
    .header-contact__adress p,
    .header-contact__phone a {
        color: #000;
    }
    
    .header-center__top {
        margin-top: 200px;
    }
    .header-bottom {
        margin-top: 400px;
        display: block;
        justify-content: space-between;
    }
    .header-bottom__right from {
        display: flex;
    }
    .header-bottom__left {
        width: 100%;
        margin-left: 0px;
    }
    .header-bottom__right {
        width: 100%;
        margin-right: 0;
        top: 10px;
    }
    .header-bottom__right from {
        display: flex;
        width: 100%;
    }
    .header-item__form, .header-button__form {
        position: absolute;
        width: 300px;
        height: 65px;
        right: 0;
        right: 10%;
    }
    .header-button__form {
        top: 54px;
    }
    .header-item__form:before,
    .header-button__form:before {
        height: 100%;
    }
    .header-button__form input {
        top: 22px;
    }
    .apartament {
        height: 800px;
        background: url(../img/bg-obyect.png);
        padding-top: 50px;
        margin-bottom: 0px;
    }
    .apartament-main {
        width: 450px;
        top: 300px;
    }
    .apartament-main {
        width: 450px;
        margin-left: -35%;
        left: 50%;
        top: 0;
    }
    .apartament-main__img {
        right: auto;
        width: 100%;
        top: -320px;
    }
    .apartament-under__title p {
        width: 196px;
    }
    .apartament-result {
        width: 450px;
    }
    .apartament-result__home {
        padding: 0 10px;
    }
    .apartament-result__home-item h2 {
        font-size: 16px;
        margin-top: 5px;
    }
    .apartament-result__home-item h2 {
        font-size: 16px;
    }
    .apartament-result__home-title {
        display: flex;
        margin-right: 10px;
    }
    .apartament-result__home-title p {
        margin-left: 25px;
        font-size: 16px;
    }
    .apartamentip-result {
        left: 12px;
    }
    .apartamentip-result p:nth-child(2) {
        margin-left: 60px;
    }
    .apartamentip-img img:nth-child(2) {
        display: none;
    }
    .apartamentip-result p:nth-child(3) {
        margin-left: 150px;
    }
    .apartamentip-home {
        width: 450px;
        left: -194px;
    }
    .apartament-result__total {
        height: 40px;
    }
    .apartament-result__total-square {
        width: 86px;
    }
    .apartament-result__total-square p {
        font-size: 10px;
    }
    .apartament-result__total-square::before {
        left: 78px;
        height: 37px;
    }
    .apartamentip-general {
        top: 231px;
        left: -95px;
    }
    .apartament-result__total-square::after {
        left: 172px;
        height: 37px;
    }
    .apartament-result__total-price p {
        font-size: 16px;
    }
    .apartament-result__total-price {
        margin-left: 100px;
    }
    .apartamentip-general p {
        font-size: 16px;
    }
    .apartamentip-general p:nth-child(2) {
        margin-left: 140px;
    }
    .apartament-result__total:before {
        height: 30px;
        left: 77px;
    }
    .apartament-result__total-price:before {
        width: 112px;
        right: -176px;
        height: 30px;
        top: -3px;
    }
    .apartament-result__total-price:after {
        top: -3px;
        right: -120px;
        height: 30px;
    }
    .accordion-tabs li.tab-head-cont a {
        width: 44%;
    }
    .fotogallery-content-block {
        height: auto;
    }
    .fotogallery-content-block p {
        font-size: 10px;
    }
    .fotogallery-content-block p {
        height: 35px;
    }
}

@media (max-width: 800px) {
    .header-logo {
        left: 0px;
    }
    .header-logo p {
        font-size: 18px;
    }
    .header-item img {
        width: 92%;
    }
    .header-item img {
        right: -10%;
    }
    .header-contact__adress {
        left: 30%;
    }
    .accordion-tabs li.tab-head-cont a {
        width: auto;
    }
    .tab-head-cont {
        margin-left: 10%;
    }
    .aplication-content img {
        padding: 15px 15px;
    }
    .itemromb h1 {
        width: 400px;
        font-size: 25px;
    }
    .fotogallery-item h2 {
        font-size: 25px;
    }
    .aplication .itemromb h1 {
        font-size: 18px;
    }
    .contacts .itemromb {
        margin-left: -26%;
    }
    .apartamentip-result p:nth-child(3) {
        margin-left: 142px;
    }
    .apartamentip-general p:nth-child(2) {
        margin-left: 154px;
    }
    .fotogallery-content {
        display: block;
    }
    .fotogallery-content-block {
        height: auto;
        width: 97%;
        margin-bottom: 60px;
    }
    .fotogallery-content-block p {
        height: 58px;
        font-size: 20px;
    }
    .sheme .itemromb h1 {
        font-size: 16px;
    }
}

@media (max-width: 450px) {
    .header {
        height: 730px;   
    }
    .header-contact__phone a {
        font-size: 12px;
    }
    .header-logo {
        left: 50%;
        margin-left: -27%;
    }
    .header-logo p {
        margin-top: 35px;
    }
    .mobile-container .content nav {
        height: 70px;
    }
    .header-contact__phone {
        right: 50%;
        margin-right: -35%;
    }
    .header-item img {
        right: -20%;
        height: 90px;
        top: 27px;
    }
    .header-contact__adress {
        top: 75px;
        left: 34%;
    }
    .header-contact__adress p {
        font-size: 12px;
        top: 84px;
    }
    .header-center__top h2 {
        font-size: 30px;
    }
    .header-center__top h2 {
        left: 50%;
        margin-left: -32%;
    }
    .header-center__top h1 {
        font-size: 30px;
        right: 50%;
        margin-right: -32%;
    }
    .header-bottom__left::before {
        transform: skew(0deg);
    }
    .header-bottom {
        margin-top: 350px;
    }
    .header-bottom__left {
        height: 200px;
        display: block;
        padding: 10px;
        border: 2px solid #e9ae66;
        background-blend-mode: screen;
        background: -webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(transparent));
        background: -webkit-linear-gradient(#fff, transparent);
        background: -moz-linear-gradient(#fff, transparent);
        background: -o-linear-gradient(#fff, transparent);
        background: linear-gradient(#fff, transparent), linear-gradient(90deg, #a8a8a8, transparent), linear-gradient(-90deg, #ccc, transparent);
    }
    .header-bottom__block:nth-child(1),
    .header-bottom__block:nth-child(2),
    .header-bottom__block:nth-child(3),
    .header-bottom__block:nth-child(4) {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        width: auto;
        margin-bottom: 25px;
    }
    .apartamentip-result p, .apartamentip-home p, .apartamentip-general p {
        font-size: 15px;
    }
    .header-bottom__left::before {
        display: none;
    }
    .header-bottom__block p {
        font-size: 14px;
    }
    .itemromb h1 {
        width: 300px;
        font-size: 18px;
    }
    .prewievs-main {
        display: block;
    }
    .prewievs-block {
        width: 96%;
        margin-bottom: 30px;
        position: relative;
        left: 50%;
        margin-left: -46%;
        width: 96%;
        margin-bottom: 30px;
    }
    .prewievs-block__item img {
        width: 40px;
        height: auto;
    }
    .prewievs {
        padding-bottom: 0px;
    }
    .apartament-main {
        width: 100%;
        margin-left: -50%;
        left: 50%;
    }
    .apartament-under__title p {
        width: 63%;
    }
    .apartament-result__home-title {
        margin-right: 16px;
    }
    .apartament-result {
        width: 100%;
    }
    .apartamentip-result {
        left: 20%;
        top: 97px;
    }
    .apartament-under__title p:nth-child(4) {
        margin: 5px 0;
    }
    .apartamentip-result p:nth-child(2) {
        margin-left: 35%;
    }
    .apartamentip-result p:nth-child(3) {
        margin-left: 116px;
    }
    .apartamentip-home {
        width: 370px;
        left: -118px;
    }
    .apartamentip-general {
        top: 231px;
        left: -45px;
    }
    .apartamentip-general p:nth-child(2) {
        margin-left: 114px;
    }
    .apartamentip-general p {
        font-size: 12px;
    }
    .apartamentip-general {
        top: 237px;
        left: -17px;
    }
    .apartament-result__total-price::before {
        top: -5px;
        width: 99px;
        right: -107px;
        height: 30px;
    }
    .apartament-result__home-title p {
        margin-left: 25px;
        font-size: 12px;
    }
    .apartament-result__total-price p {
        font-size: 14px;
    }
    .apartament-result__total-price::after {
        display: none;
    }
    .apartament-result__total-price::before {
        display: none;
    }
    .apartament-main__img img {
        width: 100%;
    }
    .accordion-tabs {
        width: 100%;
    }
    .apartament-under__item {
        font-size: 12px;
    }
    .accordion-tabs li.tab-head-cont a {
        font-size: 12px;
    }
    .about {
        padding-top: 0px;
    }
    .about-block {
        margin: 50px 0;
    }
    .accordion-tabs li.tab-head-cont a {
        margin-right: 0;
        width: 100px;
        padding: 10px 10px;
        font-size: 10px;
    }
    .is-active.one::after,
    .accordion-tabs li.tab-head-cont a.is-active::before {
        height: 37px;
    }
    .accordion-tabs::before, .accordion-tabs::after {
        height: 48px;
    }
    .contacts .itemromb {
        margin-left: -35%;
    }
    .contacts-adress {
        left: 0;
        bottom: 0;
        top: auto;
        width: 100%;
    }
    .contacts-adress::before {
        display: none;
    }
    .application-item__form {
        width: 298px;
    }
    .application-bottom form {
        display: block;
        justify-content: center;
    }
    .application-bottom form {
        display: block;
        width: 100%;
        position: relative;
        right: -16%;
    }
}