.card-photo {
  margin-bottom: 30px;
}
.card-photo h3 {
  font-size: 30rem;
  text-align: center;
  margin-top: 0;
  margin-bottom: 20px;
}
.card-photo p {
  text-align: center;
  color: var(--transparent-color1);
  margin-bottom: 0;
  flex: 1;
}
.card-photo .wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  border: none;
}
.card-photo .text {
  padding: 40px;
  height: 100%;
}
.card-photo .photo .image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.card-photo .photo img {
  width: 100%;
  height: 390px;
  object-fit: cover;
}
.card-photo .text-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

@media (max-width: 575.5px) {
  .card-photo h3 {
    font-size: 20rem;
  }
  .card-photo .photo img {
    height: 60vw;
  }
  .card-photo .text {
    padding: 15px;
  }
}
@media (min-width: 576px) and (max-width: 767.5px) {
  .card-photo h3 {
    font-size: 23rem;
  }
  .card-photo .photo img {
    height: 330px;
  }
  .card-photo .text {
    padding: 20px;
  }
}
@media (min-width: 768px) and (max-width: 991.5px) {
  .card-photo h3 {
    font-size: 23rem;
  }
  .card-photo .photo img {
    height: 200px;
  }
  .card-photo .text {
    padding: 20px;
  }
}
@media (min-width: 992px) and (max-width: 1199.5px) {
  .card-photo h3 {
    font-size: 24rem;
  }
  .card-photo .photo img {
    height: 200px;
  }
  .card-photo .text {
    padding: 20px;
  }
}
@media (min-width: 1200px) and (max-width: 1579.5px) {
  .card-photo h3 {
    font-size: 26rem;
  }
  .card-photo .photo img {
    height: 240px;
  }
  .card-photo .text {
    padding: 30px;
  }
}

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