.card-photo-bg {
  background-image: url("/img/card-photo-bg.webp");
  background-size: 100%;
  background-repeat: no-repeat; }

.card-photo-wrapper {
  padding: 0 5vw; }

.card-photo {
  margin-bottom: 30px; }
  .card-photo h3 {
    font-size: 26rem;
    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 a.wrapper {
    transition: 0.3s;
    -webkit-transition: 0.3s; }
    .card-photo a.wrapper:hover {
      transform: scale(0.95); }
  .card-photo .wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    border: none;
    padding: 0 30px; }
  .card-photo .text {
    padding: 40px;
    height: 100%; }
  .card-photo .photo {
    width: 100%;
    border-radius: 30px; }
    .card-photo .photo .image {
      display: flex;
      justify-content: center;
      align-items: center; }
    .card-photo .photo img {
      width: 100%;
      height: 18vw;
      border-radius: 30px;
      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-bg {
    background-size: 100% 85%; }

  .card-photo {
    margin-bottom: 10px; }
    .card-photo .wrapper {
      padding: 0; }
    .card-photo h3 {
      font-size: 23rem; }
    .card-photo .photo img {
      height: 65vw; }
    .card-photo .text {
      padding: 20px; } }
@media (min-width: 576px) and (max-width: 767.5px) {
  .card-photo-bg {
    background-size: 100% 85%; }

  .card-photo {
    margin-bottom: 10px; }
    .card-photo .wrapper {
      padding: 0; }
    .card-photo h3 {
      font-size: 23rem; }
    .card-photo .photo img {
      height: 50vw; }
    .card-photo .text {
      padding: 20px; } }
@media (min-width: 768px) and (max-width: 991.5px) {
  .card-photo-bg {
    background-size: 130%; }

  .card-photo {
    margin-bottom: 10px; }
    .card-photo .wrapper {
      padding: 0; }
    .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: 21rem; }
  .card-photo .photo img {
    height: 266px; }
  .card-photo .text {
    padding: 30px; }
  .card-photo .wrapper {
    padding: 0 21px; } }
@media (min-width: 1580px) {
  .card-photo-bg {
    background-size: 100% 75%; }

  .card-photo .photo img {
    height: 14vw; } }

/*# sourceMappingURL=card_photo.css.map */
