
.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.card {
  background-color: #f4f4f4;
  padding: 10px;
  border-radius: 1px;
  text-align: center;
  cursor: pointer;
  transition: box-shadow 0.3s;
}

.card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card img {
  width: 100%;
  border-radius: 4px;
}

.detail-panel {
  background-color: white;
  /* border: 2px solid #0077cc; */
  padding: 15px;
  border-radius: 8px;
  grid-column: span 2;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}