.values-block .wrap {
  display: grid;
  grid-template-columns: 49% 49%;
  column-gap: 2rem;
  margin-top: 3rem;
}
.values-block .wrap:hover .img_right:before {
  top: -30px;
  transition: all 0.7s;
}
.values-block .items .item {
  display: flex;
  background: #E8F6FF;
  border-radius: 2.18rem;
}
.values-block .items .item:first-child {
  margin-bottom: 2rem;
}
.values-block .items .item .img {
  min-width: 250px;
  height: 237px;
  border-radius: 2.18rem;
}
.values-block .items .item .item_text {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.values-block .items .item .item_text .title {
  font-size: 22px;
  font-weight: bold;
  color: #333333;
}
.values-block .items .item .item_text .text {
  font-size: 16px;
  margin-top: auto;
}
.values-block .img_right {
  width: 700px;
  height: 490px;
  position: relative;
  overflow: unset;
}
.values-block .img_right img {
  mask: url("../../assets/mask/bg44.svg") no-repeat center/contain;
}
.values-block .img_right:before {
  content: "";
  position: absolute;
  width: 70px;
  height: 120px;
  right: 50px;
  top: 50px;
  background: url("../../assets/svg/jfaka3.svg") no-repeat center/contain;
  rotate: 15deg;
  transition: all 0.7s;
}
.values-block .img_right .video {
  left: unset;
  right: 50px;
  top: 75px;
}
.values-block .img_right:hover .video {
  transition: all 0.2s 0s;
  box-shadow: 0 0 0 17px rgba(121, 80, 203, 0.5);
}
.values-block .img_right span {
  width: fit-content;
  text-align: center;
  font-size: 16px;
  line-height: 1.2;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  padding: 5px;
  position: absolute;
  right: 10px;
  top: 160px;
}
@media (max-width: 1440px) {
  .values-block .wrap {
    grid-template-columns: 55% auto;
  }
  .values-block .img_right {
    width: 100%;
    height: 345px;
    margin: auto;
  }
  .values-block .img_right span {
    font-size: 14px;
    right: 38px;
  }
}
@media (max-width: 1200px) {
  .values-block .title__text br {
    display: none;
  }
  .values-block .wrap {
    grid-template-columns: 1fr 1fr;
  }
  .values-block .items .item {
    flex-direction: column;
  }
  .values-block .img_right span {
    right: 30px;
    top: 145px;
  }
}
@media (max-width: 992px) {
  .values-block .wrap {
    position: relative;
  }
  .values-block .img_right {
    margin: unset;
    position: sticky;
    top: 70px;
    height: 240px;
  }
  .values-block .img_right .video {
    right: 20px;
    top: 50px;
  }
  .values-block .img_right span {
    right: 5px;
    top: 115px;
  }
  .values-block .items .item .item_text {
    padding: 1.5rem;
  }
}
@media (max-width: 768px) {
  .values-block .wrap {
    column-gap: 1rem;
  }
  .values-block .items .item .img {
    height: 200px;
    min-width: unset;
  }
  .values-block .items .item .item_text {
    padding: 1rem;
  }
  .values-block .items .item .item_text .title {
    font-size: 20px;
    margin-bottom: 1rem;
  }
  .values-block .items .item .item_text .text {
    font-size: 14px;
  }
}
@media (max-width: 576px) {
  .values-block .wrap {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .values-block .wrap:hover .img_right:before {
    top: -15px;
  }
  .values-block .img_right span {
    left: 10px;
    right: unset;
    top: 110px;
    font-size: 12px;
  }
  .values-block .img_right:before {
    width: 50px;
    height: 70px;
    right: 10px;
    top: -15px;
  }
  .values-block .img_right .video {
    left: 25px;
    right: unset;
  }
  .values-block .img_right img {
    mask: url("../../assets/mask/bg-mobile27.svg") no-repeat center/contain;
  }
}

/*# sourceMappingURL=style.css.map */
