.document__refference {
  padding: 90px 0;
  padding-top: 150px;
}

.document__refference .title {
  padding: 0 15px;
  font-size: 48px;
  font-weight: 600;
  line-height: 65px;
  margin-bottom: 50px;
  color: var(--black-222);
}

.document__refference .document-item {
  overflow: hidden;
  position: relative;
}

.document__refference .document-item:hover img {
  transform: scale(1.1);
}

.document__refference .document-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: all 1.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.document__refference .document-item .desc {
  position: absolute;
  left: 30px;
  bottom: 30px;
  color: var(--white-color);
  line-height: 45px;
  font-size: 30px;
  text-transform: uppercase;
  font-weight: 400;
}

.document-block {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
}

@media only screen and (max-width: 1200px) {
  .document__refference .document-item .desc {
    font-size: 20px;
    line-height: 26px;
  }
}
@media only screen and (max-width: 991px) {
  .document__refference .document-item .desc {
    font-size: 18px;
  }
}


@media only screen and (max-width: 767px) {
  .document__refference .title {
    font-size: 24px;
    line-height: 32px;
  }

  .document__refference .document-item .desc {
    left: 20px;
    right: 20px;
    font-size: 23px;
    line-height: 34px;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  }
}
