.gallery-div {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-bottom: 1rem;
  padding-top: 4rem;
}

.gallery-title {
  display: flex;
  align-items: center;
  max-width: 100%;
  justify-content: center;
  padding-bottom: 1.5rem;
  gap: 1rem;
  width: 100%;
}

.gallery-title hr {
  background-color: #1f74b7;
  border-radius: 0.5rem;
  width: 10%;
  border-color: #1f74b7;
  height: 4px;
}

.gallery-div-2 {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  place-items: center;
}

.gallery-div-2 img {
  width: 100%;
  height: 100%;
  max-width: 250px;
  max-height: 250px;
  border-radius: 0.5rem;
}
@media (min-width: 768px) {
  .gallery-title hr {
    width: 27%;
  }
  .gallery-div-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gallery-div .gallery-div-2 {
    width: 90%;
  }
}

@media (min-width: 1024px) {
  .gallery-div-2 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 80%;
  }
  .gallery-title {
    font-size: 2rem;
    gap: 4rem;
  }
  .gallery-title hr {
    width: 20%;
  }
}
