body {
  background-color: #BBFFFF;
  font-family: system-ui, sans-serif;
  margin: 1rem;
}

.center-container {
  display: flex;
  /* Centers children horizontally */
  justify-content: center;
  /* Centers children vertically (optional, requires a defined height) */
  align-items: center; 
  height: 100px; /* Example height for vertical centering to work */
}

/* Default: 3 columns */
.grid {
  display: grid;
  padding: 10px;
  gap: 10px;
  max-width: 1100px;  /* tweak */
  margin: 0 auto;    
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Phone-ish: 2 columns */
@media (max-width: 700px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card{
  aspect-ratio: 328 / 128;
  overflow: hidden;
  display: block;           /* not a centered grid anymore */
  border: 3px solid black;
  box-sizing: border-box;
}

.card img{
  width: 100%;
  height: 100%;
  object-fit: cover;        /* fills tile, crops if needed */
  display: block;
}

.card:hover {
  border-color:red;
}
  