body {
  /*background: red;*/
}

@media screen and (max-width:1850px) {

  .kartinka{
   width:calc(50% - 22px);
   aspect-ratio:775/519;
   height:fit-content;
  }
  .kartinka img{
   width:100%;
   aspect-ratio:775/519;
   height:fit-content;
  }
  .cont-kartact{
   width:100%;
   aspect-ratio:775/519;
   height:fit-content;
  }

  .advantages {
    justify-content: center;
  }
  .kart-green {
    margin:0 15px 30px;
  }

}

@media screen and (max-width:1700px) {
  header {
    position: relative;
    overflow: unset;
    margin-bottom: 280px;
  }

  .content_header .content_right {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -158px;
    background: #343434;
    padding: 20px 0;
    flex-direction: row;
  }

  .kartochki {
    margin-top: 0;
  }

  .header_blocks {
    padding: 23px 60px;
    margin: 0;
  }
}

@media screen and (max-width:1500px) {
  header {
    margin-bottom: 200px;
  }

  .img_karkas, .img_karkas.gazobeton2 {
    background: #ACDD1D;
    position: relative;
    width: 40%;
    aspect-ratio: 582/796;
    height: fit-content;
    margin-top:30px;
  }

  .img_karkas img {
    width: 582px;
    height: 796px;
    position: relative;
    top: 19px;
    left: 12px;
    width: 100%;
    height: unset;
    aspect-ratio: 582/796;
  }

  section.karkas {
    width: 100%;
    align-items: flex-start;
    background: #fff;
  }

  .content_karkas {
    width: 60%;
  }

  .title-kart{
    font-size:28px;
  }

  .opis-kart{
    font-size:18px;
  }

  .plashka, .title-kart{
    font-size:22px;
  }

  .line-top p{
    font-size:34px;
  }

  .line-top span{
    width:30px;
    height:30px;
  }

  .kart-inf{
    font-size:16px;
  }

  .opis-kart{
    font-size:18px;
  }

}

@media screen and (max-width:1400px) {
  .content_left h1 {
    font-size: 40px;
  }

  .text_cont p {
    font-size: 26px;
  }

  .button_header {
    font-size: 22px;
  }

  .kart {
    width: 150px;
  }

  .numb_kart {
    font-size: 50px;
  }

  .kart p {
    font-size: 15px;
    margin-top: -5px;
    display: block;
  }

  .content_header .content_right {
    bottom: -153px;
  }

  .content_karkas h3, .reviews h3{
    font-size:40px;
  }

  .opisan_karkas, .left-rev p{
    font-size:18px;
  }

  .text_kark_cont p{
    font-size:23px;
  }

  .button_kark{
    font-size:22px;
    margin:75px auto 0;
  }
}

@media screen and (max-width:1200px) {
  .contacts a {
    font-size: 20px;
  }

  .contacts span {
    width: 30px;
    height: 30px;
  }

  .header_blocks img {
    width: 215px;
  }

  .kart {
    width: 110px;
    padding: 0 7px 0 7px
  }

  .numb_kart {
    font-size: 35px;
    line-height: 1.5em;
  }

  .kart p {
    font-size: 13px;
    margin-top: 0px;
    display: block;
    line-height: 1.2em;
  }

  .content_header .content_right {
    bottom: -130px;
  }

  .content_left h1 {
    font-size: 35px;
  }

  .text_cont p {
    font-size: 23px;
  }

  .button_header {
    font-size: 20px;
  }

  section.karkas{
    flex-direction: column;
    align-items: center;
  }

  section.gazobeton{
    flex-direction: column-reverse;
    align-items: center;
  }

  .img_karkas, .img_karkas.gazobeton2{
    width:100%;
    max-width:550px;
    margin-bottom:45px;
  }

  .content_karkas, .content_karkas.gazobeton1{
    margin-left:0;
    width:100%;
    margin-right: 0;
  }

  .img_domiki{
    flex-direction:column;
  }

  .plashka{
    padding:15px 30px;
  }

  .kartinka{
    width:100%;
  }

  .advantages {
    justify-content: center;
  }
  .kart-green {
    margin:0 15px 30px;
    width:calc(50% - 30px);
  }

  .kart-green img{
    width:20%;
    min-width:30px;
    aspect-ratio:1;
    height:fit-content;
    max-width:60px;
  }

}

@media screen and (max-width:1000px) {
  .content_header .content_right {
    flex-direction: column-reverse;
  }

  .button_header {
    margin-top: 30px;
  }

  .content_header .content_right {
    bottom: -225px;
  }

  header {
    height: 790px;
    min-height:unset;
    margin-bottom: 280px;
  }

  .content_left h1 {
    font-size: 27px;
  }

  .text_cont p {
    font-size: 18px;
  }

  .opis-kart{
    font-size:16px;
  }

  .cont-green p{
    font-size:17px;
  }

  .cont-green p.opis-green{
    font-size:13px!important;
  }

  .kart-green{
    padding:20px 30px;
  }

}

@media screen and (max-width:850px) {
  .contacts a {
    font-size: 16px;
  }

  .contacts span {
    width: 26px;
    height: 26px;
  }

  .header_blocks img {
    width: 200px;
  }

  .cont-kartact{
    padding:25px 20px;
  }

  .title-kart{
    margin-bottom:25px;
  }

  .advantages{
    margin:0 -50px;
    width:calc(100% + 100px);
  }

  .cont-green p{
    font-size:15px;
  }

  .cont-green p.opis-green{
    font-size:12px!important;
  }

}

@media screen and (max-width:720px) {
  .content_left h1 {
    font-size: 22px;
  }

  .text_cont p {
    font-size: 15px;
  }

  .button_header {
    font-size: 17px;
    padding: 20px 50px;
  }

  .content_header .content_right {
    bottom: -222px;
  }

  .content_karkas h3, .reviews h3{
    font-size:35px;
  }

  .opisan_karkas, .left-rev p{
    font-size:16px;
  }

  .text_kark_cont p, p.tonk_t_k{
    font-size:19px!important;
  }

  .button_kark{
    font-size:19px;
    margin:75px auto 0;
  }

  .info{
    left:10px;
  }

  .plashka{
    top:20px;
  }

  .opis-kart{
    font-size:15px;
  }

  .advantages{
    margin:0 -50px;
    width:calc(100% + 100px);
  }

  .cont-green p{
    font-size:15px;
  }

  .cont-green p.opis-green{
    font-size:12px!important;
  }

  .advantages{
    margin:0 -75px;
    width:calc(100% + 150px);
  }

  .cont-green p{
    font-size:14px;
  }

  .cont-green p.opis-green{
    font-size:12px!important;
  }

}

@media screen and (max-width:600px) {
  .header_blocks img {
    width: 150px;
  }

  .header_blocks {
    padding: 15px 30px;
  }

  .content_left {
    width: 100%;
    left: 0;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .text_cont {
    display: block;
  }

  .text_cont {
    width: 100%;
  }

  .text_cont .numb {
    display: inline;
    margin-right: 5px;
  }

  .text_cont .txt {
    display: inline;
  }

  header {
    height: 575px;
    margin-bottom: 370px;
  }

  .kartochki {
    flex-wrap: wrap;
    max-width: 240px;
  }

  .kart:nth-child(2n) {
    margin-right: 0;
  }

  .kart:nth-child(1), .kart:nth-child(2) {
    margin-bottom: 20px;
  }

  .content_header .content_right {
    bottom: -335px;
  }

  .container{
    margin:0 50px;
  }

  .line_preim span{
    width: 35px;
    height: 35px;
    min-width: 35px;
    min-height: 35px;
  }

  .line_preim{
    align-items:flex-start;
  }

  .advantages{
    margin:0 0;
    width:calc(100%);
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .kart-green{
    width:100%;
    margin-left:0;
    margin-right:0;
  }

}

@media screen and (max-width:550px) {

  .plashka, .title-kart{
    font-size:18px;
  }

  .line-top p{
    font-size:25px;
  }

  .line-top span{
    width:20px;
    height:20px;
  }

  .kart-inf{
    font-size:12px;
  }

  .opis-kart{
    font-size:14px;
  }

  .plashka{
    padding:10px 20px;
  }

}

@media screen and (max-width:500px) {
  .header_blocks {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .content_left h1 {
    font-size: 18px;
  }

  .text_cont p {
    font-size: 12px;
  }

  .button_header {
    font-size: 13px;
    padding: 20px 50px;
  }

  .content_header .content_right {
    bottom: -330px;
  }

  .button_kark{
     margin-top:45px;
     text-align:center;
  }

  p.tonk_t_k{
    margin-top:8px;
  }

  .cont-kartact{
    padding:15px 10px;
  }

  .title-kart{
    margin-bottom:15px;
  }

  .opis-kart span{
    display:inline;
  }

  .opis-kart{
    display:block;
  }

}

@media screen and (max-width:450px) {

  .container{
    margin:0 25px;
  }

  .content_karkas h3, .reviews h3{
    font-size:28px;
  }

  .opisan_karkas, .left-rev p{
    font-size:15px;
  }

  .text_kark_cont p{
    font-size:15px!important;
  }

  .button_kark{
    font-size:15px;
    margin:75px auto 0;
  }

  .line_preim span{
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    margin-right:10px;
  }

  .header_blocks img{
    width:125px;
  }

  .plashka, .title-kart{
    font-size:18px;
  }

  .line-top p{
    font-size:22px;
  }

  .line-top span{
    width:20px;
    height:20px;
    margin-top:0;
  }

  .kart-inf{
    font-size:12px;
    line-height:1.1em;
    display:none;
  }

  .line-bot{
    display:none;
  }

  .opis-kart{
    font-size:11px;
  }

}

@media screen and (max-width:370px) {

  .plashka, .title-kart{
    font-size:15px;
  }

  .line-top p{
    font-size:16px;
  }

}

@media screen and (max-width:285px) {
  .kartochki {
    display: none;
  }

  .button_header {
    margin-top: 0;
  }

  .content_header .content_right {
    bottom: -95px;
  }

  header {
    margin-bottom: 100px;
  }
}
/* АДАПТАЦИЯ: Блок с формой и контактами */
@media screen and (max-width:1200px) {
  .content-form {
    flex-direction: column;
    gap: 40px;
  }
  .form-container, .right-cont {
    width: 100%;
  }
}

@media screen and (max-width:720px) {
  .form-container h3 {
    font-size: 24px;
  }
  .form-container p {
    font-size: 14px;
  }
  .form-container input,
  .form-container button {
    font-size: 14px;
    padding: 14px;
  }
  .checkbox-container label {
    font-size: 14px;
  }
  .tit-f {
    font-size: 20px;
  }
  .tel1, .tel2, .tel3, .tel4 {
    font-size: 18px;
  }
  .adr, .adr2 {
    font-size: 18px;
  }
  .forma {
    padding: 40px 25px;
  }
}

@media screen and (max-width:480px) {
  .form-container h3 {
    font-size: 20px;
  }
  .form-container p,
  .checkbox-container label {
    font-size: 12px;
  }
  .form-container input,
  .form-container button {
    font-size: 13px;
    padding: 12px;
  }
}

/* АДАПТАЦИЯ: Footer */
@media screen and (max-width:1000px) {
  .content-footer {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    padding: 23px 30px;
  }
  .left-c {
    flex-direction: row-reverse;
    gap: 10px;
  }
  .left-c a {
    text-align: center;
  }
  .left-c span {
    margin-left: 0;
  }
}

@media screen and (max-width:600px) {
  footer {
    padding: 15px;
  }
  .content-footer p, .content-footer a {
    font-size: 14px;
  }
}
/* АДАПТАЦИЯ: Карта в футере */
@media screen and (max-width:1000px) {
  #footer_map {
    height: 350px;
  }
}

@media screen and (max-width:720px) {
  #footer_map {
    height: 300px;
  }
}

@media screen and (max-width:500px) {
  #footer_map {
    height: 250px;
  }
}

@media screen and (max-width:400px) {
  #footer_map {
    height: 200px;
  }
}


@media screen and (max-width:1875px) {

  .left-rev{
   width:calc(100% - 500px);
  }

  .rev-block{
    width:100%;
  }

  .reviews-blocks .badge{
    box-sizing: border-box;
    width:100%;
    min-width: 100%;
    max-width: 100%;
  }

}

@media screen and (max-width:1400px) {

  .reviews-blocks{
    flex-direction: column;
  }

  .left-rev{
    height:fit-content;
  }

  .right-rev{
    margin-left:0;
    margin-top:30px;
  }

  .right-rev, .right-rev .slider{
    height:525px;
  }

  .reviews h3{
    text-align: center;
  }

  .left-rev{
   width:calc(100%);
  }

}

@media screen and (max-width:600px) {

  .reviews h3 span{
   display:inline-block;
   opacity:0;
  }

  .right-rev,.slider{
   width:100%;
  }
  .img-sl{
   width:calc(100% - 74px);
   height:fit-content;
   aspect-ratio:384/525;
  }
  #slideImage{
   width:100%;
   height:fit-content;
   aspect-ratio:384/525;
  }

  .arrow {
      width: 30px;
      height: 30px;
      margin-left: 7px;
      position: absolute;
      transform: translateY(-50%);
      border: none;
      background: none;
      cursor: pointer;
  }

    .arrow svg{
      width:30px;
      height:30px;
    }

}

@media screen and (max-width:440px) {

  .right-rev{
    margin-top:45px;
  }

  .right-rev, .right-rev .slider{
    height:400px;
  }

}

@media screen and (max-width:350px) {

  .right-rev{
    margin-top:0;
  }

  .right-rev, .right-rev .slider{
    height:300px;
  }

}

.form-container h3{
  line-height:1.3em;
}

@media screen and (max-width:1600px) {

  .form-container{
   width:calc(100% - 600px);
  }

}

@media screen and (max-width:1500px) {

  .form-container,.right-cont{
   width:45%;
  }

  .forma{
    padding:60px 50px;
  }

}

@media screen and (max-width:1200px) {

  .form-container,.right-cont{
   width:100%;
  }

  .content-form{
    flex-direction: column-reverse;
  }

  .forma{
    padding:60px 50px;
  }

  .time,.teleph{
    width:50%;
    float:left;
    margin-top:32px;
  }

}

@media screen and (max-width:900px) {
  .time,.teleph{
    width:100%;
    float:unset;
    margin-top:32px;
  }
}

@media screen and (max-width:720px) {
   .form-container button {
    padding:0;
  }
}

@media screen and (max-width: 480px){

  .checkbox-container label, .form-container p,.tit-f{
    line-height:1.3em;
  }

}

@media screen and (max-width:370px) {

  .forma {
      padding: 20px 20px;
  }

  .tit-f, .time p,.tel1, .tel2, .tel3, .tel4,.adr, .adr2{
    font-size:15px;
  }

  .knopka-f p{
    font-size:13px;
  }

  .knopka-f svg{
    width:20px;
    aspect-ratio:41/23;
    height:fit-content;
  }
  .form-container h3{
    margin-bottom:30px;
  }

}
