.card-photo {
  margin-bottom: 30px;
  padding-top: 2px; }
  .card-photo a.wrapper {
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s; }
    .card-photo a.wrapper:hover {
      transform: scale(0.95); }
      .card-photo a.wrapper:hover h3 {
        color: var(--element1-color); }
  .card-photo h3 {
    font-size: 40rem;
    text-align: center;
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: 500;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s; }
  .card-photo p {
    text-align: center;
    font-weight: 300;
    color: var(--primary-text);
    margin-bottom: 0;
    flex: 1;
    width: 503px;
    max-width: 100%; }
  .card-photo .text-inner, .card-photo .text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; }
  .card-photo .wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    border: none;
    border-radius: 33px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 40px;
    padding-top: 20px; }
  .card-photo .text {
    height: 100%; }
  .card-photo .photo {
    min-height: 187px;
    display: flex;
    align-items: flex-end;
    margin-bottom: 30px; }
    .card-photo .photo .image {
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 0; }
    .card-photo .photo img {
      width: 100%;
      width: 148px !important;
      max-height: 187px;
      object-fit: contain; }
  .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: 25rem; }
  .card-photo .photo {
    min-height: auto; }
    .card-photo .photo img {
      width: 108px !important;
      max-height: 147px; }
  .card-photo .wrapper {
    padding: 20px 10px; } }
@media (min-width: 576px) and (max-width: 767.5px) {
  .card-photo h3 {
    font-size: 25rem; }
  .card-photo .photo {
    min-height: auto; }
    .card-photo .photo img {
      width: 108px !important;
      max-height: 147px; }
  .card-photo .wrapper {
    padding: 30px 20px; } }
@media (min-width: 768px) and (max-width: 991.5px) {
  .card-photo h3 {
    font-size: 25rem; }
  .card-photo .photo {
    min-height: 147px; }
    .card-photo .photo img {
      width: 108px !important;
      max-height: 147px; }
  .card-photo .wrapper {
    padding: 30px 20px; } }
@media (min-width: 992px) and (max-width: 1199.5px) {
  .card-photo h3 {
    font-size: 30rem; }
  .card-photo .photo {
    min-height: 147px; }
    .card-photo .photo img {
      width: 108px !important;
      max-height: 147px; } }
@media (min-width: 1200px) and (max-width: 1579.5px) {
  .card-photo h3 {
    font-size: 35rem; }
  .card-photo .photo {
    min-height: 167px; }
    .card-photo .photo img {
      width: 128px !important;
      max-height: 167px; } }

/*# sourceMappingURL=card_photo.css.map */
