h1 {
  text-align: center;
  margin: 1.5rem 0;
  color: #25313c;
}

a {
  text-decoration: none;
}

hr {
  max-width: 800px;
  height: 2px;
  margin: 2rem auto;
  background-color: #fac59e;
  border: none;
}

#products-grid {
  display: grid;
  grid-template-columns: repeat(3, 275px);
  grid-gap: 20px;
  justify-items: center;
  list-style: none;
  width: 825px;
  margin: 1.25rem auto;
}

@media (max-width: 900px) {
  #products-grid {
    grid-template-columns: repeat(2, 250px);
    width: 500px;
  }
}

@media (max-width: 600px) {
  #products-grid {
    grid-template-columns: 250px;
    width: 250px;
  }
}
