.offer-outer {
  position: relative;
}

.offer-item {
  position: relative;
  overflow: hidden;
  margin-top: 4rem;
  display: block;
}

.offer-list .col-md-6:nth-child(-n + 2) .offer-item {
  margin-top: 0rem;
}

.offer-list .col-md-3:nth-child(-n + 4) .offer-item {
  margin-top: 0rem;
}

.offer-item:after {
  position: absolute;
  content: "";
  left: 0rem;
  right: 0rem;
  bottom: 0rem;
  top: 0rem;
  background: rgba(0, 0, 0, 0.4);
}

.offer-img {
  position: relative;
}

.offer-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-transition: all 0.3s linear;
  -moz-transition: all 0.3s linear;
  -ms-transition: all 0.3s linear;
  -o-transition: all 0.3s linear;
  transition: all 0.3s linear;
}

.offer-item:hover .offer-img img {
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  -o-transform: scale(1.05);
  transform: scale(1.05);
}

.offer-text {
  position: absolute;
  top: 0rem;
  right: 0rem;
  bottom: 0rem;
  left: 0rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  text-align: center;
  padding: 1.5rem;
}

.offer-text .btn {
  margin-top: 3.3rem;
}

.offer-text>*:not(.btn) {
  font-size: 4.6rem;
  font-family: var(--font-family);
  line-height: 5.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2rem;
}

@media(min-width: 1360px) and (max-width: 1459px) {
  .offer-item {
    margin-top: 3rem;
  }

  .offer-text>*:not(.btn) {
    font-size: 4.3rem;
    line-height: 4.9rem;
  }
}

@media(min-width: 1200px) and (max-width: 1359px) {
  .offer-item {
    margin-top: 3rem;
  }

  .offer-text>*:not(.btn) {
    font-size: 3.6rem;
    line-height: 4.4rem;
  }
}

@media(min-width: 992px) and (max-width: 1199px) {
  .offer-item {
    margin-top: 2rem;
  }

  .offer-text>*:not(.btn) {
    font-size: 3.2rem;
    line-height: 4rem;
  }
}

@media(min-width: 768px) and (max-width: 991px) {
  .offer-text .btn {
    margin-top: 2.5rem;
  }

  .offer-img img {
    min-height: 26.5rem;
  }

  .offer-item {
    margin-top: 2rem;
  }

  .offer-text>*:not(.btn) {
    font-size: 2.8rem;
    line-height: 3.4rem;
  }
}

@media(max-width: 767px) {
  .offer-text .btn {
    margin-top: 2rem;
  }

  .offer-item {
    margin-top: 3rem;
  }

  .offer-list .col-lg-6:first-child .offer-item {
    margin-top: 0rem;
  }

  .offer-list .col-md-6:nth-child(2) .offer-item {
    margin-top: 3rem;
  }

  .offer-list .col-lg-4:first-child .offer-item {
    margin-top: 0rem;
  }

  .offer-list .col-md-4:nth-child(2) .offer-item,
  .offer-list .col-md-4:nth-child(3) .offer-item {
    margin-top: 3rem;
  }

  .offer-text>*:not(.btn) {
    font-size: 2.6rem;
    line-height: 2.8rem;
  }
}

@media(max-width: 57.5rem) {

  .offer-img img {
    min-height: 25rem;
  }

  .offer-text>*:not(.btn) {
    font-size: 2.6rem;
    line-height: 2.8rem;
  }
}