bloks.css 4.89 KB
.bloks {
  display: none;
}
@media (min-width: 780px) {
  .bloks {
    display: block;
  }
}
.bloks-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  margin-top: 21px;
}
.bloks-wrapper > * {
  margin-right: 19.5px;
}
.bloks-wrapper > *:nth-child(3n) {
  margin-right: 19.5px;
}
@media (min-width: 1135px) {
  .bloks-wrapper > *:nth-child(3n) {
    margin-right: 0px;
  }
}

.bloks-item {
  max-width: 355px;
  width: 100%;
  height: 193px;
  background-color: rgba(171, 178, 191, 0.1);
  border-radius: 10px;
  margin-bottom: 16px;
  cursor: pointer;
  -webkit-transition: background-color 0.2s ease-in-out;
  -o-transition: background-color 0.2s ease-in-out;
  transition: background-color 0.2s ease-in-out;
}
@media (min-width: 920px) {
  .bloks-item {
    max-width: 427px;
  }
}
@media (min-width: 1040px) {
  .bloks-item {
    max-width: 487px;
  }
}
@media (min-width: 1135px) {
  .bloks-item {
    max-width: 350px;
  }
}
@media (min-width: 1255px) {
  .bloks-item {
    max-width: 390px;
  }
}
@media (min-width: 1366px) {
  .bloks-item {
    max-width: 427px;
  }
}
.bloks-item:hover {
  background-color: rgba(171, 178, 191, 0.8);
}
.bloks-item:hover .item-wrapper .blocks__item-text .item-title {
  color: #fff;
}
.bloks-item:hover .item-wrapper .blocks__item-text .svg-wrapper:after {
  background-image: url("data:image/svg+xml,%3Csvg width='28' height='15' viewBox='0 0 28 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19.5247 0.9375L26.2598 7.5L19.5247 14.0625' stroke='white' stroke-width='1.875' stroke-linecap='round'/%3E%3Cpath d='M26.2598 7.5L1.24399 7.5' stroke='white' stroke-width='1.875' stroke-linecap='round'/%3E%3C/svg%3E");
}
.bloks-item.item-two, .bloks-item.item-four {
  margin-right: 0;
}
@media (min-width: 1135px) {
  .bloks-item.item-two, .bloks-item.item-four {
    margin-right: 19.5px;
  }
}
.bloks-item.item-six {
  margin-right: 0;
}

.item-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
}
.item-wrapper .blocks__item-text {
  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;
  margin-top: 18px;
  margin-left: 19px;
}
.item-wrapper .bloks__item-img {
  position: absolute;
  top: 15px;
  left: 90px;
  z-index: 1;
}
@media (min-width: 920px) {
  .item-wrapper .bloks__item-img {
    left: 174px;
  }
}
@media (min-width: 1135px) {
  .item-wrapper .bloks__item-img {
    left: 84px;
  }
}
@media (min-width: 1255px) {
  .item-wrapper .bloks__item-img {
    left: 134px;
  }
}
.item-wrapper .img-second {
  top: -8px;
  left: 156px;
}
@media (min-width: 920px) {
  .item-wrapper .img-second {
    left: 226px;
  }
}
@media (min-width: 1135px) {
  .item-wrapper .img-second {
    left: 136px;
  }
}
@media (min-width: 1255px) {
  .item-wrapper .img-second {
    left: 171px;
  }
}
.item-wrapper .img-third {
  top: -23px;
  left: 140px;
}
@media (min-width: 920px) {
  .item-wrapper .img-third {
    left: 220px;
  }
}
@media (min-width: 1135px) {
  .item-wrapper .img-third {
    left: 140px;
  }
}
@media (min-width: 1255px) {
  .item-wrapper .img-third {
    left: 170px;
  }
}
.item-wrapper .img-four {
  top: 0px;
  left: 171px;
}
@media (min-width: 1135px) {
  .item-wrapper .img-four {
    left: 241px;
  }
}
@media (min-width: 1135px) {
  .item-wrapper .img-four {
    left: 171px;
  }
}
@media (min-width: 1255px) {
  .item-wrapper .img-four {
    left: 191px;
  }
}
.item-wrapper .img-five {
  top: 36px;
  right: -71px;
}
.item-wrapper .img-six {
  top: -18px;
  left: 150px;
}
@media (min-width: 1135px) {
  .item-wrapper .img-six {
    left: 225px;
  }
}
@media (min-width: 1135px) {
  .item-wrapper .img-six {
    left: 145px;
  }
}
@media (min-width: 1255px) {
  .item-wrapper .img-six {
    left: 175px;
  }
}

.item-title {
  font-family: "Muller";
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  line-height: 15px;
  color: #636B78;
  max-width: 191px;
  width: 100%;
  z-index: 2;
}

.title-five,
.title-four {
  max-width: 225px;
  width: 100%;
}

.svg-wrapper {
  position: relative;
}
.svg-wrapper:after {
  position: absolute;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg width='29' height='17' viewBox='0 0 29 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.063 1.67346L26.7754 8.38589L20.063 15.0983' stroke='%23F2994A' stroke-width='1.91784' stroke-linecap='round'/%3E%3Cpath d='M26.7754 8.38586L1.84351 8.38586' stroke='%23F2994A' stroke-width='1.91784' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: cover;
  width: 25px;
  height: 13px;
  margin-top: 89px;
}