/* Base styles */
body {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  height: 100vh;
  background-color: #fff;
}

/* Container */
.container {
  margin: 1rem;
  width: 90%;
  aspect-ratio: 3 / 2;
  display: flex;
  flex-direction: column;
}

/* Heading */
.container h1 {
  font-size: 2rem;
  margin: 0 0 1rem;
  text-align: left;
}

/* Grid layout */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0.5rem;
  flex-grow: 1;
}

/* Placeholder boxes */
.box {
  background-color: #e0e0e0;
  border: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border 1s ease-in-out; /* Ensures smooth fade transition */
}

/* Responsive images inside boxes */
.box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}