.card-photo {
  position: relative;
  padding: 0 !important;
  overflow: hidden;
}
.card-photo h3 {
  font-size: 30rem;
  text-align: center;
  margin-top: 0;
  margin-bottom: 20px;
  color: #ffffff;
}
.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 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 1rem;
  color: white;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.6);
  transition: all ease 0.3s;
}
.card-photo .photo {
  top: 0;
  left: 0;
  width: 100%;
  height: 75vh;
}
.card-photo .photo .image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.card-photo .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-photo .text-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.card-photo .text-inner h3 {
  font-family: "Poiret One", sans-serif;
  font-size: 40rem;
}
.card-photo:hover .text {
  background-color: rgba(0, 0, 0, 0.4);
}

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

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