.image-with-cta h3 {
  max-width: 270px;
  font-family: 'mars_centrabold';
  color: #0000a0;
  margin-top: 10px;
}

.image-with-cta-content {
  bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  height: 150px;
  position: absolute;
  justify-content: center;
}

.image-with-cta {
  overflow: hidden;
}

.image-with-cta img {
  transition: transform 1s;
}

.image-with-cta img:hover {
  transform: scale(1.1);
}

.learnmore:hover {
  color: #fff !important;
  font-family: "mars_centraextrabold";
}

.learnmore {
  font-size: 1.125rem;
  font-family: "mars_centrabold";
  color: #fff;
  background: #0000a0;
  padding: 10px 35px;
  height: 50px;
  border: 3px solid;
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  .image-with-cta-content {
    height: 100px;
    justify-content: space-evenly;
  }

  .image-with-cta h3 {
    max-width: 200px;
    font-size: 1.5rem;
  }

  .learnmore {
    font-size: 1rem;
    height: auto;
    padding: 7px 25px;
  }
}

@media only screen and (max-width: 767px) {
  .image-with-cta-content {
    text-align: center;
    flex-direction: column;
  }

  .image-with-cta h3 {
    margin: 0 auto;
  }
}
