.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.artist-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 300px;
  flex: 1 1 250px; /* Grow/shrink with min width */
  display: flex;
  flex-direction: column;
}
.artist-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.artist-info {
  padding: 16px;
}
.artist-info h2 {
  margin: 0 0 8px;
  font-size: 1.25em;
}
.artist-info p {
  margin: 4px 0;
  color: #555;
}
.artist-info a {
  color: #666;
  text-decoration: none;
}
.artist-info a:hover {
  text-decoration: underline;
}
@media (max-width: 600px) {
  .artist-card {
    max-width: 100%;
  }
}
h1 {
    padding: 10px;
    margin: 10px;
}

.artwork-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.artwork-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  max-width: 250px;
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
}
.artwork-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: #eee;
}
.artwork-info {
  padding: 12px;
}
.artwork-info h3 {
  margin: 0 0 10px;
  font-size: 1.1em;
  color: #333;
}
.artwork-info p {
  margin: 0;
  font-weight: bold;
  color: #0077cc;
}