.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 200px));
  gap: 25px;
  box-sizing: border-box;
  justify-items: center;
  justify-content: center;
  margin: 0 auto;
}

.grid img {
  width: 200px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

@media screen and (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .grid img {
    width: 100%;
    max-width: 100%;
  }
}