/* Basic styling */

/* Card container styling using CSS Grid */
.cardContainer {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr); /* 2 columns for desktop */
}

@media (max-width: 768px) {
  .cardContainer {
    grid-template-columns: 1fr; /* 1 column for mobile */
  }
}

/* Card styling */
.cardLoader {
  position: relative;
  height: 500px;
  width: 350px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
}

/* Loader styling */
.loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f0f0f0, #e0e0e0, #f0f0f0);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

/* Animation */
@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
