
/*@desktop-size: 900px;
@mobile-size: 400px;

#id_about_section {
  .section-header {
    @media (min-width: @desktop-size) {
      h3 { }
      p { }
    }
    @media (min-width: @mobile-size) {
      h3 { }
      p { }
    }
  }

  .item-wrapper {
    .item {
      // Тут нужн овпилить на флексах

      // Тут нужно сделать чтобы картинка была по центру или по низу
      // в зависимости от разрешения
      @media (min-width: @desktop-size) {
        img { }
        h4 { }
        p { }
      }
      @media (min-width: @mobile-size) {
        img { }
        h4 { }
        p {}
      }
    }
  }
}*/
.main-flex-btn {
  display: flex;
  justify-content: center;
}
button.main-btn {
  width: 290px;
  height: 52px;
  margin-top: 30px;
  margin-bottom: 75px;
  border-radius: 26px;
  background: #c94d4e;
  color: #ffffff;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: 0.18px;
  text-align: center;
  @media (max-width: 576px) {
    width: 143px;
    height: 44px;
    margin-top: 30px;
    margin-bottom: 75px;
    border-radius: 24px;
    background: #c94d4e;
    color: #ffffff;
    font-size: 16px;
    line-height: 27.33px;
    letter-spacing: 0.16px;
  }
}
header {
  background-image: url("../img/banner.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  margin-bottom: 97px;
  @media (max-width: 576px) {
    margin-bottom: 0;
  }
}
.bbb {
  height: 733px;
  color: red;
  @media (max-width: 576px) {
    height: 200px;
  }
}
.main-container {
  max-width: 1250px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
  /*border: red 1px solid;*/
  @media (max-width: 576px) {
    padding-left: 10px;
    padding-right: 10px;
  }
}
.h2-desktop {
  font-size: 36px;
  font-weight: 800;
  line-height: 62px;
  margin-bottom: 3px;
  color: #315197;
  letter-spacing: 0.36px;
  max-width: 803px;
  @media (max-width: 576px) {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 3px;
    letter-spacing: 0.24px;
    max-width: 250px;
    margin-top: 20px;
  }
}
.h2-mobile {
  font-size: 24px;
  font-weight: 400;
  line-height: 30px;
  margin-bottom: 3px;
  color: #315197;
  letter-spacing: 0.24px;
  max-width: 803px;
  margin-top: 0!important;
}
.main-line {
  width: 200px;
  height: 1px;
  border-bottom: #c94d4e 2px solid;
  margin-bottom: 29px;
  margin-top: 4px;
}
.text-h2-desktop {
  font-size: 18px;
  font-weight: 300;
  line-height: 27px;
  color: #315197;
  letter-spacing: 0.18px;
  max-width: 850px;
  margin-bottom: 40px;
  @media (max-width: 576px) {
    font-size: 14px;
    font-weight: 300;
    line-height: 21px;
    color: #315197;
    letter-spacing: 0.14px;
  }
}
.h2-desktop-tittle {
  @media (max-width: 576px){
    max-width: 170px;
  }
}
.h3-desktop {
  margin-bottom: 18px;
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
  color: #315197;
  letter-spacing: 0.18px;
  @media (max-width: 576px) {
    font-size: 16px;
    line-height: 24.59px;
    letter-spacing: 0.18px;
    margin-top: -6px;
    margin-bottom: 10px;
  }
}
.text-h3-desktop {
  margin-top: -12px;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: #303a81;
  letter-spacing: 0.16px;
  @media (max-width: 576px) {
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 0;
  }
}
/*main*/
.main-flex {
  display: flex;
  flex-direction: row;
  @media (max-width: 576px) {
    flex-flow: wrap;
  }
}
.main-card {
  display: flex;
  flex-flow: wrap;
  align-items: stretch;
  width: 33%;
  margin-top: 10px;
  padding-right: 10%;
  height: auto;
  @media (max-width: 576px) {
    flex-flow: nowrap;
    width: 100%;
    padding-right: 0;
  }
}
.main-img {
  width: 90px;
  height: 90px;
  margin-bottom: 20px;
  img {
    @media (max-width: 576px) {
      width: 70px;
      height: 70px;
      margin-bottom: 0;
      margin-right: 16px;
    }}
}
.main-card-text {
  height: 135px;
  @media (max-width: 576px) {
    height: auto;
    margin-bottom: 10px;
  }
}
/*advertising*/
.advertising-background {
  background-image: url("../img/retangle_5@3x.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center center;
  padding-top: 182px;
  padding-bottom: 60px;
  margin-bottom: 75px;
  @media (max-width: 576px) {
    padding-top: 45px;
    padding-bottom: 20px;
    margin-bottom: 50px;
    background-image: url("../img/background-optuon-modal.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
  }
}
.advertising {
  display: flex;
  justify-content: space-between;
  margin-bottom: 110px;
  @media (max-width: 576px) {
    flex-flow: wrap;
  }
}
.advertising-text-order {
   @media (max-width: 576px) {
    width: 100%;
     order: 0;
  }
  width: 110%;
  h2 {
    .h2-desktop;
    margin-bottom: 21px;
    line-height: 36px;
    font-weight: 800;
  }
  p {
    .text-h2-desktop;
  }

}
.advertising-text .main-line {
  margin-bottom: 24px;
}
.advertising-text-order .main-line {
  margin-bottom: 24px;
}
.advertising-img-order {
  @media (max-width: 576px) {
    min-width: 320px;
    order: 5;
    img {
      min-width: 320px;
      margin-left: -25px;
    }
  }
  @media (min-height: 577px) {

    margin-top: -65px;
    width: 120%;
    padding-top: 0;
    img {
      width: 100%;
    }
  }

}
.advertising-text {


  width: 110%;
  h2 {
    .h2-desktop;


    margin-bottom: 31px;
    line-height: 36px;
    font-weight: 800;
  }
  p {
    .text-h2-desktop;
  }
  @media (max-width: 576px) {
    width: 100%;
  }
}
.advertising-img {
  @media (min-height: 577px) {

    margin-top: -65px;
    width: 120%;
    padding-top: 0;
    img {
      width: 100%;
    }
  }
  @media (max-width: 576px) {
    min-width: 320px;
    img {
      min-width: 320px;
      margin-left: -25px;
    }
  }
}
/*option*/
.option {
  h2 {
    .h2-desktop;
    font-weight: 800;
    margin-bottom: 0;
    @media (max-width: 576px) {
      margin-bottom: 15px;
      line-height: 24px;
      font-weight: 800;
    }
  }
}
.option-container {
  position: relative;
  display: flex;
  margin-top: 46px;
  justify-content: space-between;
  align-items: baseline;
  @media (max-width: 576px) {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: baseline;
    margin-top: 32px;
  }
}
.option-card-img {
  text-align: center;
  max-width: 485px;
  h4 {
    font-size: 30px;
    line-height: 30px;
    font-weight: 400;
    color: #303a81;
    letter-spacing: 0.3px;
    margin-top: 0;
    margin-bottom: 0;
    @media (max-width: 576px) {
      font-size: 20px;
      line-height: 24px;
      letter-spacing: 0.2px;
    }
  }
  p {
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
    color: #303a81;
    letter-spacing: 0.16px;
    margin-bottom: 0;
    margin-top: 6px;

    @media (max-width: 576px) {
      font-size: 14px;
      line-height: 24px;
      letter-spacing: 0.14px;
      margin-top: 5px;
      margin-bottom: 0;
    }
  }
  @media (max-width: 576px) {
    max-width: 140px;
  }
}
.option-text {
  min-height: 70px;
  @media (max-width: 576px) {
    min-height: 145px;
    margin-bottom: 10px;
  }
}
.option-card-img-container {
  margin: 0 auto;
  /*max-width: 281px;*/
  max-height: 284px;
  @media (max-width: 576px) {
    max-width: 139px;
    max-height: 139px;
    img {
      max-width: 140px;
    }
  }
}
.option-card-line {
  position: absolute;
  left: 51%;
  top: 8%;
  width: 105px;
  height: 387px;
  border-left: 1px solid gray;
  transform: rotate(15deg);
  @media (max-width: 576px) {
    position: absolute;
    width: 2px;
    height: 343px;
    transform: rotate(0deg);
    left: 50%;
    top: 2%;
  }
}
.option-btn {
  margin-top: 0!important;
  margin-bottom: 146px!important;
}
/*protection*/
.protection-background {
  background-image: url("../img/retangle_5@3x.jpg");
  background-size: 100% 100%;
  background-position: center;
  padding-top: 118px;
  padding-bottom: 115px;
  @media (max-width: 576px) {
    padding-top: 51px;
  }
}
.protection {
  display: flex;
  flex-direction: row;
}
.protection-img {
  width: 100%;
  img {
    @media (max-width: 576px) {
      width: 70px;
      height: 70px;
      margin-bottom: 0;
      margin-right: 16px;
    }
  }
}
.protection-text {
  height: 90px;
  @media (max-width: 576px) {
    height: auto;
    margin-bottom: 10px;
    min-width: 216px;
  }
}
.protection-line {
  margin-bottom: 12px;
}
/*catalog*/
.catalog {
  padding-top: 135px;
}
.catalog-container {
  display: flex;
  h5 {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
    color: #303a81;
    letter-spacing: 0.18px;
    margin-bottom: 32px;
  }
  @media (max-width: 576px) {
    flex-wrap: wrap;
  }
}.tittle-catalog {
   margin-bottom: 70px;
 }
.catalog-img-container {
  margin-right: 5%;
  margin-bottom: 60px;
  img {
    margin-right: 20px;
  }
}
.catalog-img-container-end {
  margin-right: 0;
}
.catalig-img {
  margin-top: -20px;
}
.catalog-text {
  max-width: 56%;
  margin-bottom: 120px;
  h6 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.24px;
    color: #303a81;
    margin-bottom: 15px;
  }
  p {
    font-size: 18px;
    font-weight: 300;
    line-height: 24px;
    letter-spacing: 0.24px;
    color: #303a81;
  }
}
.technology {
  background-image: url("../img/retangle_5@3x.jpg");
  background-size: 100% 100%;
  background-position: center;
  padding-top: 140px;
  padding-bottom: 115px;
  @media (max-width: 576px) {
    padding-top: 51px;
  }
}
/*technology*/
.technology-container-wrapper {
  display: flex;
  width: 100%;
   @media (max-width: 576px) {
    flex-wrap: wrap;
     justify-content: flex-start;
  }
}
.technology-containe {
  width: 50%;
  margin-top: 50px;
  display: flex;
     @media (max-width: 576px) {
     justify-content: center;
       width: 100%;
  }
}
.technology-card {
  width: 50%;
  text-align: left;
  padding-right: 80px;
  height: 158px;
  border: yellow 1px solid;
  p {
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    color: #303a81;
    letter-spacing: 0.16px;
  }
  img {
     @media (max-width: 576px) {
    width: 142px;
  }
  }
  @media (max-width: 576px) {
    padding-right: 0;
  }
}
.technology-img {
  height: 110px;
}

