@media (max-width: 600px) {
  #grid-container {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
    height: auto;
  }
  #box-1, #box-2, #box-3, #box-4 {
    grid-column: 1;
  }
}