.box {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  width: 12rem;
  height: 9rem;
  margin-bottom: 1rem;
  border: 1px dashed gray;
}

.box span {
  width: 3.5rem;
  color: white;
  text-align: center;
  background-color: teal;
}

.packed {
  align-content: flex-start;
}