.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Three columns with equal width */
  grid-gap: 25px; /* Gap between grid items */
  place-items: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.grid2 {
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 0;
}

.insta {
  height: 400px;
}

.insta-link {
  display: flex;
  justify-content: center;
}

/* Define the grid items */
figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  height: 525px;
  width: 300px;
  background-color: #f2f2f2;
  text-align: center;
  border-radius: 5px;
  overflow: hidden;
}

h2 {
  margin: 0 auto;
  margin-top: 50px;
  color: #132950;
}

@media only screen and (max-width: 930px) {
  .grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }
}
