/* Cards Container */
.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-around;
  padding: 20px;
}

/* Individual card styling */
.card {
  background: rgb(25, 73, 88);
  border: 1px solid #3ca1d4;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 16px;
  width: 250px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Image container */
.card .image-container {
  width: 100%;
  height: 200px;
  display: block; /* Anchor tag acts like a block element */
  overflow: hidden; /* Prevents image from extending beyond card */
  margin: 10px 0;
}

.card .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /*image covers area without distortion */
  border-radius: 4px;
  transition: transform 0.3s ease;
}

/* Hover effect on images ie a slight zoom in */
.card img:hover {
  transform: scale(1.05);
}

/* Card title */
.card h3 {
  margin: 0 0 10px 0;
  color: #fff;
}

/* Time and duration styling */
.card time,
.card span {
  font-size: 0.9em;
  color: #3ca1d4;
  margin: 5px 0;
  display: block;
}

/* Add some spacing between time and duration */
.card span {
  margin-top: auto;
}
