.hw-img-small {
  width: 25rem;
}

.design-figcaption {
  position: absolute;
  background-color: #f84646d5;
  bottom: 0px;
  width: 100%;
  text-align: center;
  font-weight: 600;
  height: 2rem;
  line-height: 2rem;
  color: white;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}

.d-image {
  height: 400px;
  width: 400px;
}
  
@media (min-width: 768px) and (max-width: 991.98px) {
  .d-image {
    height: 300px;
    width: 300px;
  }
}

@media (min-width: 992px) {
  .d-image:hover .design-figcaption {
    height: 3rem;
    line-height: 3rem;
  }
 }
  