/* body {
  height: 100%;
  background: #2a2e45;
  color: #fff;
  font-family: "Montserrat";
  padding: 20px;
} */

.card-title {
  color: whitesmoke;
}

.card-decks {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card {
  border: 0;
  border-radius: 1.25rem;
  box-shadow: 0 10px 20px 2px #424458;
  color: #fff;
  overflow: hidden;
  position: relative;
  transform-origin: top center;
  /* Set the transform origin to top center for flip animations */
  transform-style: preserve-3d;
  /* Preserve 3D for smoother flip animations */
}

.card h5 {
  font-weight: bold;
  margin: 0; /* Remove margin to prevent spacing issues */
}

.card-img {
  width: 100%;
  height: 100%;
  max-height: 100%; /* Change max-height to 100% for responsive images */
  object-fit: cover;
}

.card-img-overlay {
  background: rgba(0, 0, 0, 0.1);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

/* Add responsive styles for mobile devices */
@media (max-width: 768px) {
  .card {
    width: 100%;
    max-width: none; /* Remove max-width for full-width cards */
  }
}
