machines.css 3.29 KB
.machines {
  padding-top: 36px;
}
@media (min-width: 640px) {
  .machines {
    padding-top: 74px;
  }
}
.machines__main-title {
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.01em;
  color: #333B49;
  max-width: 469px;
  width: 70%;
  margin-bottom: 24px;
}
@media (min-width: 480px) {
  .machines__main-title {
    font-size: 23px;
    line-height: 25px;
  }
}
@media (min-width: 780px) {
  .machines__main-title {
    font-size: 32px;
    line-height: 36px;
  }
}
@media (min-width: 1024px) {
  .machines__main-title {
    font-size: 36px;
    line-height: 42px;
    width: 100%;
    margin-bottom: 50px;
  }
}
.machines__mob-btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border: 1px solid #ABB2BF;
  border-radius: 10px;
  width: 100%;
  padding: 12px 0;
  font-weight: 600;
  font-size: 14px;
  line-height: 16px;
  color: #333B49;
  margin-top: 24px;
}
@media (min-width: 780px) {
  .machines__mob-btn {
    display: none;
  }
}

.machines-container {
  padding-right: 0;
}
@media (min-width: 780px) {
  .machines-container {
    padding-right: 15px;
  }
}

.swiper-slide-machines {
  max-width: 252px;
  width: 100%;
  background: #F7F7F9;
  border-radius: 10px;
  cursor: pointer;
  height: 165px !important;
  position: relative;
  -webkit-transition: -webkit-transform 0.4s ease-in-out;
  transition: -webkit-transform 0.4s ease-in-out;
  -o-transition: transform 0.4s ease-in-out;
  transition: transform 0.4s ease-in-out;
  transition: transform 0.4s ease-in-out, -webkit-transform 0.4s ease-in-out;
}
@media (min-width: 780px) {
  .swiper-slide-machines {
    max-width: 217px;
    height: 220px !important;
  }
  .swiper-slide-machines:hover {
    background: #DFE1E7;
    -webkit-box-shadow: 0px 5px 12.5px rgba(0, 0, 0, 0.15);
            box-shadow: 0px 5px 12.5px rgba(0, 0, 0, 0.15);
    -webkit-transform: scale(1.045);
        -ms-transform: scale(1.045);
            transform: scale(1.045);
    max-width: 229px;
  }
}
.swiper-slide-machines__img {
  width: 220px;
  width: 100%;
  height: 109px;
  margin: 0 auto;
  padding-top: 0px;
  margin-top: 11px;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center center;
     object-position: center center;
}
@media (min-width: 640px) {
  .swiper-slide-machines__img {
    min-height: 114px;
  }
}
@media (min-width: 780px) {
  .swiper-slide-machines__img {
    width: 140px;
    min-height: 122px;
    padding-top: 20px;
  }
}
.swiper-slide-machines__img.img2 {
  margin-top: 0;
}
.swiper-slide-machines__block {
  position: absolute;
  bottom: 0;
  left: 0;
  margin-left: 14px;
}
.swiper-slide-machines__title {
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
}
@media (min-width: 780px) {
  .swiper-slide-machines__title {
    font-size: 20px;
    line-height: 24px;
  }
}
.swiper-slide-machines__text {
  font-size: 12px;
  line-height: 14px;
  color: #ABB2BF;
  margin-bottom: 8px;
}
@media (min-width: 780px) {
  .swiper-slide-machines__text {
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 20px;
  }
}

.swiper-wrapper-machines > :not(:last-child) {
  margin-right: 3px;
}