html,
body {
  background-color: #eeeeee;
}

.drinks-grid {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center; /* horizontal */
  align-items: center;   /* vertical */
  gap: 1rem;
}

.item-preview {
  width: 100%;
  background-color: #eeeeee;
  overflow: hidden;
  cursor: pointer;
}

.item-preview img {
  width: 100%;
  aspect-ratio: 1/1.25;
  object-fit: cover;
  display: block;
}

.item-preview strong {
  font-family: "the-seasons", sans-serif;
  font-size: 2.5rem;
}

.item-preview p {
  width: 100%;
  font-size: 1.25rem;
  font-weight: 200;
}

.buy-btn {
  background-color: #eeeeee;
  padding-inline: 2rem;
  padding-block: 3px;
}

.overlay-content {
  position: absolute;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  padding-top: 5%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;

  color: #fff;
  text-align: center;
}

.my-container {
  width: 100%;
}

/* 4 per row on desktop */
@media (min-width: 700px) {
  .drinks-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .item-preview {
    width: 325px;
    border-radius: 12px;
  }

  .item-preview strong {
    font-size: 1.5rem;
  }

  .item-preview p {
    width: 100%;
    font-size: 0.9rem;
  }

  .my-container {
    width: 700px
  }
  
}

@media (min-width: 1050px) {
  .drinks-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .my-container {
    width: 1050px
  }
}

@media (min-width: 1350px) {
  .drinks-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .my-container {
    width: 1350px
  }
}


