@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/Roboto-Regular.ttf');
}
@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/Roboto-Light.ttf');
}
@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/3967.ttf');
}

/* BASE START */
a, abbr, acronym, address, applet, article, aside, audio, b, big, blockquote, body, canvas, caption, center, cite, code, dd, del, details, dfn, div, dl, dt, em, embed, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav, object, ol, output, p, pre, q, ruby, s, samp, section, small, span, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, time, tr, tt, u, ul, var, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:after, blockquote:before, q:after, q:before {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
html {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
*, ::after, ::before {
    -webkit-box-sizing: inherit;
    box-sizing: inherit;
}
/* BASE END */

/* MAIN START */
body {
    font-family: Roboto;
    font-style: normal;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 400;
}
img {
    max-width: 100%;
    height: auto;
}
a {
    color: #000;
    text-decoration: none;
}
.wrap_sm {
    max-width: 1200px;
    margin: 0 auto;
}
.wrap_lg {
    max-width: 1440px;
    margin: 0 auto;
}

/* Popup start */
.pu{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  background-color: rgba(0,0,0, .5);
  z-index: 999;
  align-items: center;
  cursor: pointer;
}
.pu:active{
  display: none;
}

@@keyframes SlideDown {
  from {
    transform: translateY(-100vh);
  },
  to {
    transform: translateY(0);
  }
}

.pu_box{
  background-color: #144ca3;
  color: #fff;
  padding: 20px;
  border-radius: 10px;
  max-width: 500px;
  max-height: 500px;
  min-height: 350px;
  display: flex;
  justify-content: center;
  /* animation: SlideDown .4s ease; */
}
.pu_content{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.pu_logo{
  width: 100%;
  height: 100%;
  background-image: url('../img/logo-header-min.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
/* Popup end */

/* NAV BLOCK START */
.header {
    position: absolute;
    width: 100%;
    background-color: #144ca3;
    color: #fff;
    z-index: 899;
    padding: 0 10px;
}
.header_box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.header_list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.header_li {
    margin-right: 45px;
}
.header_li:last-child {
    margin-right: 0;
}
.logo {
    width: 245px;
    height: 100px;
    background-size: cover;
}
.nav_a {
    -webkit-transition: .3s ease;
    -o-transition: .3s ease;
    transition: .3s ease;
    color: #fff;
}
.header_li:hover .nav_a {
    color: #ff8e26;
}
.header_phone {
    text-align: right;
}
.burger {
    position: fixed;
    opacity: 0;
    top: 10px;
    right: 10px;
    width: 65px;
    height: 65px;
    z-index: 100;
    background-color: #fff;
    border-radius: 40px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    cursor: pointer;
    -webkit-transition: .3s ease;
    -o-transition: .3s ease;
    transition: .3s ease;
}
.line {
    height: 4px;
    width: 40px;
    background-color: #144ca3;
    border-radius: 100px;
    margin-bottom: 5px;
}
.line:last-child {
    margin-bottom: 0;
}
.hidden_menu {
    position: fixed;
    background-color: #144ca3;
    padding: 85px 10px;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: distribute;
    justify-content: space-around;
    -webkit-transition: .3s ease;
    -o-transition: .3s ease;
    transition: .3s ease;
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
    z-index: 998;
}
.x {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 65px;
    height: 65px;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.line1, .line2 {
    position: absolute;
    height: 4px;
    width: 40px;
    border-radius: 100px;
    background-color: #fff;
    margin-bottom: 5px;
}
.line1 {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.line2 {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.h_nav {
    margin-bottom: 20px;
    height: 200px;
}
.hidden_list {
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.hidden_li {
    text-align: right;
    font-size: 18px;
}
.h_adres {
    text-align: right;
}
.hidden_li:hover .nav_a {
    color: #ff8e26;
}
.arrow_up {
    width: 65px;
    height: 65px;
    opacity: 0;
    position: fixed;
    bottom: 10px;
    z-index: 999;
    right: 10px;
    border-radius: 100px;
    background-color: #144ca3;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    -webkit-transition: .3s ease;
    -o-transition: .3s ease;
    transition: .3s ease;
}
/* NAV BLOCK END */

/* FOOTER BLOCK START */
.footer {
    width: 100%;
    background-color: #144ca3;
    color: #fff;
    padding: 0 10px;
}
.footer_box {
    height: 84px;
    padding: 10px 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}
.footer_logo {
    height: 64px;
    width: 205.8px;
    background-color: #fff;
    background-image: url('../img/logo-header-min.jpg');
    background-size: cover;
}
.foot_a {
    color: #ff8e26;
}
.foot_a:hover {
    text-decoration: underline;
}
/* FOOTER BLOCK END */
/* MAIN END */




/* INDEX  START */
/* Head block  START */
.head, .head_gl {
    height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-image: url('../img/main_bg.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    padding: 0 10px;
}
.shadow{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, .7);
}
.head_content {
    z-index: 2;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.head_title {
    width: 50%}
.head_title_gl {
    max-width: 700px;
    text-align: center;
}

@-webkit-keyframes ShowTitle {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}
@keyframes ShowTitle {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

.heading1 {
    color: #fff;
    font-size: 58px;
    margin-bottom: 10px;
    opacity: 0;
    -webkit-animation: ShowTitle 1s ease 0s 1 forwards;
    animation: ShowTitle 1s ease 0s 1 forwards;
}
.heading3 {
    font-size: 28px;
    color: #fff;
    font-weight: 300;
    opacity: 0;
    -webkit-animation: ShowTitle 1s ease .3s 1 forwards;
    animation: ShowTitle 1s ease .3s 1 forwards;
}

@-webkit-keyframes Formswipe {
  from {
      -webkit-transform: translateY(70vh);
      transform: translateY(70vh);
  }
  to {
      -webkit-transform: translateY(0);
      transform: translateY(0);
  }
}
@keyframes Formswipe {
  from {
      -webkit-transform: translateY(70vh);
      transform: translateY(70vh);
  }
  to {
      -webkit-transform: translateY(0);
      transform: translateY(0);
  }
}

.head_form {
    width: 435px;
    height: 320px;
    background-color: #144ca3;
    margin-right: 35px;
    padding: 10px 5% 10px 10px;
    color: #fff;
    position: relative;
    -webkit-animation: Formswipe .8s ease 0s 1 forwards;
    animation: Formswipe .8s ease 0s 1 forwards;
}
.bold {
    font-weight: 700;
}
.input {
    width: 324px;
    height: 52px;
    margin-bottom: 10px;
    margin-top: 10px;
    font-size: 18px;
    text-align: center;
    border-radius: 45px;
    border: none;
}
.from_btn {
    width: 324px;
    height: 52px;
    margin-top: 10px;
    background-color: #ff8e26;
    border: none;
    color: #fff;
    border-radius: 45px;
    font-size: 18px;
}
.ruler_line {
    width: 15%;
    height: 100vh;
    z-index: 2;
    position: absolute;
    top: 0;
    right: 23px;
    margin-top: -5px;
}
.ruler_base {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 15%;
}
/* Head block  END */

/* About block  START */
.about {
    padding: 90px 0;
}
.about_wrap {
    height: 385px;
    position: relative;
    z-index: 4;
    background-color: #fff;
}
.about_wrap::after, .about_wrap::before {
    display: block;
    content: '';
    height: 1px;
    width: 182px;
    background-color: #144ca3;
    position: absolute;
    right: 120px;
    -webkit-box-shadow: 0 -1px 2px #144ca3;
    box-shadow: 0 -1px 2px #144ca3;
}
.about_wrap::before {
    top: 0;
}
.about_wrap::after {
    bottom: 0;
}
.about_logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 50%;
    height: 385px;
    float: left;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.about_desc {
    width: 50%;
    float: right;
    height: 385px;
    padding: 10px;
}
.about_heading {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 70px;
    color: #144ca3;
    line-height: 28px;
}
.desc_text {
    padding: 0 8px;
    line-height: 21px;
    font-size: 18px;
    color: #144ca3;
}
/* About block  END */

/* Click block  START */
.click_block {
    background: #144ca3;
    background: linear-gradient(45deg, #ff8e26 65%, #144ca3 40%);
    height: 300px;
    color: #fff;
    padding: 0 10px;
}
.click_content {
    max-width: 1200px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    align-items: flex-start;
}
.click_heading{
  width: 70%;
  height: 40%;
  color: #144ca3;
}
.click_heading h2{
  font-size: 22px;
  margin-bottom: 20px;
}
.click_btns_box{
  width: 60%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
.btn_box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.sub_btn {
    width: 25vw;
    max-width: 324px;
    height: 52px;
    background-color: #144ca3;
    color: #fff;
    border: none;
    border-radius: 45px;
    font-size: 18px;
    -webkit-transition: .3s ease;
    -o-transition: .3s ease;
    transition: .3s ease;
    cursor: pointer;
}
.sub_link:hover .sub_btn {
    color: #144ca3;
    background-color: #ff8e26;
    border: 4px solid #144ca3;
}
/* Click block  END */

/* Contact block  START */
.block_content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    color: #144ca3;
}
.contact_info, .contact_map {
    width: 50%;
    text-align: center;
}
.contact_info, .contact_map {
    width: 50%;
    text-align: center;
}
.contact_info {
    padding: 50px 20px 0 120px;
}
.contact_map>div {
    width: 100%}
.contact_heading {
    margin-bottom: 70px;
    font-size: 24px;
}
.main_cont {
    width: 100%;
    display: -ms-grid;
    display: grid;
    grid-gap: 20px;
    -ms-grid-columns: 1fr 20px 1fr;
    grid-template-columns: repeat(2, 1fr);
    -ms-grid-rows: 1fr 20px 1fr;
    grid-template-rows: repeat(2, 1fr);
    text-align: left;
}
.main_cont>:nth-child(1) {
    -ms-grid-row: 1;
    -ms-grid-column: 1;
}
.main_cont>:nth-child(2) {
    -ms-grid-row: 1;
    -ms-grid-column: 3;
}
.main_cont>:nth-child(3) {
    -ms-grid-row: 3;
    -ms-grid-column: 1;
}
.main_cont>:nth-child(4) {
    -ms-grid-row: 3;
    -ms-grid-column: 3;
}
/* Contact block  END */

/* gallery block  START */
.gallery_block{
    height: 100%;
    display: flex;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
  }
.gallery_cats_box{
    width: 100vw;
    height: 100vh;
    display: grid;
    grid-template-rows; 1fr 1fr;
    grid-template-columns: 1fr 1fr;
  }
.cat_box{
    position: relative;
    background-position: center center;
    background-size: cover;
  }
.cat_box_content{
    height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
.cat_shadow{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0, .6);
  }
.cat_p{
    color: #fff;
    font-size: 32px;
    z-index: 2;
  }
/* gallery block  END */
/* INDEX END */




/* GALLERY START */
.gl_title {
    padding: 20px;
    text-align: left;
}
.fs_gl{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .6);
  z-index: 1000;
  display: none;
}
.fs_gl_bg{
  display: flex;
  height: 102vh;
  overflow-x: hidden;
}
.arr{
  position: absolute;
  top: 0;
  height: 100%;
  width: 8%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  z-index: 4;
  background-color: rgba(0,0,0,.4);
  transition: .3s ease;
  cursor: pointer;
}
.arr:hover{
  background-color: rgba(250,250,250,.1);
}
.a_l{
  left: 0;
}
.a_r{
  right: 0;
}
.gl_x{
  width: 10%;
  height: auto;
  display: flex;
  justify-content: center;
  position: absolute;
  top: 0;
  right: 0;
  color: #fff;
  font-size: 60px;
  z-index: 5;
  transform: rotate(45deg);
  cursor: pointer;
}
.fs_img_box{
  position: relative;
  flex-shrink: 0;
  height: 100vh;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: .3s ease;
}
.fs_img_box > img {
  height: 100vh;
  background-color: #ddd;
  position:absolute;
  cursor: zoom-in;
}
.img_date{
  width: 240px;
  height: 100px;
  border-top-left-radius: 150px;
  box-shadow: 0px 0 10px 2px rgba(0,0,0,.8);
  text-align: center;
  color: #fff;
  background-color: rgba(0,0,0,.8);
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 0;
  right: 0;
}
.street {
    padding: 20px;
    background-color: #144ca3;
    color: #fff;
}
.gl_box {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (1fr)[8];
    grid-template-columns: repeat(8, 1fr);
}
.mebel_box, .mebel_img {
    height: 180px;
}
.mebel_box {
    position: relative;
    background-color: #ddd;
}
.mebel_box:hover .mebel_img {
    -webkit-transform: scale(1.3, 1.3);
    -ms-transform: scale(1.3, 1.3);
    transform: scale(1.3, 1.3);
    z-index: 2;
}
.mebel_img {
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    -webkit-transition: .3s ease;
    -o-transition: .3s ease;
    transition: .3s ease;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100%}
/* GALLERY END */




/* ERROR START */
.error_box {
    height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.error_content {
    text-align: center;
    color: #144ca3;
}
.error_p1 {
    font-size: 288px;
}
.error_p2 {
    font-size: 36px;
    margin-bottom: 20px;
}
.error_btn {
    width: 495px;
    height: 65px;
    background-color: #ff8e26;
    border: none;
    color: #144ca3;
    border-radius: 45px;
    font-size: 18px;
    -webkit-transition: .3s ease;
    -o-transition: .3s ease;
    transition: .3s ease;
}
.error_btn:hover {
    background-color: #fff;
    border: 4px solid #144ca3;
}
.error_btn:hover .btn_span {
    background-position: right bottom;
}
.btn_span {
    display: inline-block;
    padding-right: 95px;
    background-image: url('../img/btn_arrow.png');
    background-size: auto;
    background-repeat: no-repeat;
    background-position: 95% bottom;
    -webkit-transition: .2s ease;
    -o-transition: .2s ease;
    transition: .2s ease;
}
/* ERROR END */



/* MEDIA START */
/* 534px */
@media screen and (max-width:534px) {
  .error_p1 {
      font-size: 248px;
  }
  .error_p2 {
      font-size: 32px;
  }
  .error_btn {
      width: 90%}
  .gl_box {
      -ms-grid-columns: (1fr)[4];
      grid-template-columns: repeat(4, 1fr);
  }
}

/* 420px */
@media screen and (max-width:420px) {
  .error_p1 {
      font-size: 208px;
  }
  .error_p2 {
      font-size: 28px;
  }
}

/* 320px */
@media screen and (max-width:320px) {
  .error_p1 {
      font-size: 168px;
  }
  .error_p2 {
      font-size: 26px;
  }
  .error_btn {
      width: 90%}
  .btn_span {
      background: 0 0;
      padding-right: 0;
  }
}

/* 1200px */
@media screen and (max-width:1200px) {
  .head_title {
      width: 60%;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      justify-content: center;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -ms-flex-direction: column;
      flex-direction: column;
  }
  .ruler_line {
      right: 0;
  }
  .about_wrap::after, .about_wrap::before {
      right: 0;
  }
  .click_me_btn {
      left: 50%}
  }@media screen and (max-width:1024px) {
      .header {
      position: fixed;
      top: 0;
      left: 0;
      height: 95px;
  }
  .header_list {
      display: none;
  }
  .logo {
      width: 232.75px;
      height: 95px;
  }
  .header_info {
      display: none;
  }
  .burger {
      opacity: 1;
      background-color: #144ca3;
  }
  .line {
      background-color: #fff;
  }
  .gl_box {
      -ms-grid-columns: (1fr)[6];
      grid-template-columns: repeat(6, 1fr);
  }
}

/* 936px */
@media screen and (max-width:936px) {
  .head_form {
      margin-right: 0;
  }
  .works_cat {
      width: 100%}
  .click_block {
      height: 100%;
      padding: 30px 10px;
  }

  .contact_info, .contact_map{
    width: 100%;
  }
  .click_btns_box{
      flex-direction: column;
  }
  .sub_btn{
      width: 40vw;
      max-width: 324px;
      margin-bottom: 10px;
  }
  .sub_btn:last-child{
      margin-bottom: 0;
  }
}

/* 844px */
@media screen and (max-width:844px) {
  .head{
      padding-top: 120px;
      height: 100%;
  }
  .head, .head_gl {
    background-attachment: unset;
  }

  .head_content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .head_title {
    width: 85%}
    .heading3 {
    margin-bottom: 60px;
  }
  .head_form {
    width: 85%;
    margin-bottom: 60px;
    padding: 10px;
  }
  .about_wrap {
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .about_logo {
    height: 200px;
  }
  .about_desc {
    width: 60%;
    height: 100%}
    .about_heading {
    margin-bottom: 40px;
  }
  .click_block{
    background: linear-gradient(45deg, #ff8e26 85%, #144ca3 15%);
  }
  .click_heading{
    width: 80%;
    margin-bottom: 30px;
  }
  .btn_box{
    margin-bottom: 10px;
  }
  .sub_btn{
    width: 70vw;
  }
  .click_text {
    width: 100%;
    text-align: left;
    font-size: 28px;
  }
  .click_me_btn {
    width: 40%;
    left: 40%}
    .center_text {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
  .sub_wrap {
    width: 50%}
    .contact_info {
    padding: 50px 20px;
  }
  .gl_box {
    -ms-grid-columns: (1fr)[5];
    grid-template-columns: repeat(5, 1fr);
  }
}
@media screen and (max-width:844px) {
  main {
      overflow: hidden;
  }
  .head_content {
      width: 100%}
  .head_title {
      width: 100%}
  .heading1 {
      font-size: 46px;
  }
  .head_form {
      width: 100%;
      padding: 10[x 80px 10px 10px];
  }
  .from_btn, .input {
      width: 100%}
  .about_wrap {
      padding: 0 10px;
  }
  .about_logo {
      width: 100%}
  .about_desc {
      width: 100%;
      margin-bottom: 20px;
  }

  .ruler_base {
      display: none;
  }
  .click_me_btn {
      position: static;
      margin: 0;
      margin-top: 20px;
      width: 70%}
  .works {
      height: 100%;
      display: block;
      padding: 60px 0;
  }
  .ruler_line{
      display: none;
  }
  .ruler {
      padding-left: 0;
  }
  .gallery_block{
      height: 100%;
  }
  .gallery_cats_box{
      display: flex;
      flex-direction: column;
      height: 100%;
  }
  .cat_box{
      height: 30vh;
  }
  .sub_wrap {
      width: 100%}
  .sub_link {
      margin-left: 0;
  }
  .block_content {
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -ms-flex-direction: column;
      flex-direction: column;
  }
}

/* 430px */
@media screen and (max-width:430px) {
  .gl_box {
      -ms-grid-columns: (1fr)[2];
      grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width:430px) {
    .fs_img_box > img {
        height: auto;
        width: 100vw;
    }


}

/* Lnadscape */
/* 430px */
@media screen and (max-width:430px) and (orientation: landscape) {
    .fs_img_box > img {
        height: 100vh;
    }
    .mebel_img {
      width: 95%
    }
}

/* 375px */
@media screen and (max-width:375px) {
  .header {
      height: 80px;
  }
  .logo {
      height: 80px;
      width: 196px;
  }
  .ruler_line {
      right: -20px;
  }
  .ruler_base {
      right: -60px;
      bottom: 30px;
  }
  .footer {
      height: 74px;
  }
  .footer_logo {
      width: 160px;
  }
}

/* 322px */
@media screen and (max-width:322px) {
  .heading1 {
      font-size: 42px;
  }
  .ruler_line {
      right: -40px;
  }
  .click_text {
      font-size: 24px;
  }
  .sub_btn {
      width: 280px;
  }
}
