/*
 *
 * City University of Hong Kong
 * ----------------------------
 * Site Specific CSS
 *
 */

/* ============================ Place your custom CSS here */
html {
    /* filter: grayscale(100%); */
}

span.deceased {
    border: 2px solid black;
    display: inline-block;
}

.logo-img {
  max-width: 100%;
  max-height: 100px; /* Adjust this value as needed */
  object-fit: contain;
}

.card-img-top {
  height: 150px; /* Adjust this value as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent; /* Remove background */
}

.card {
  border: none; /* Remove border */
  background: transparent; /* Remove background */
  box-shadow: none; /* Remove shadow if needed */
}

/* Media Query for Mobile Devices */
@media (max-width: 768px) {
  .row-cols-md-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .col {
    width: 80%;
  }

  .card-img-top {
    height: auto; /* Adjust this value as needed */
  }

  .logo-img {
    max-height: none; /* Allow the image to scale with the width */
    width: 100%;
  }
}
