.gallery-splide {
  border-radius: 1.5rem;
}

.gallery-splide .splide__slide img {
  border-radius: 1rem;
  box-shadow: 0 2px 12px 0 rgba(69, 96, 185, 0.1);
  background: #e3f2fd;
}

.gallery-splide .splide__pagination__page.is-active {
  background: #45aaf2;
  border-color: #45aaf2;
}

.gallery-splide .splide__arrow {
  background: #45aaf2;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px 0 rgba(69, 96, 185, 0.1);
  transition: background 0.2s;
}
.gallery-splide .splide__arrow:hover {
  background: #1976d2;
}
#galeria {
  padding-top: 70px;
  margin-top: -70px;
}

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

.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;
}

.gallery-slider-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

.gallery-slider-wrapper .gallery-splide {
  width: 95%;
  max-width: 980px;
}

.gallery-splide .splide__slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.5rem;
  object-fit: cover;
}

@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%;
  }
}

@media (min-width: 768px) {
  .gallery-slider-wrapper .gallery-splide {
    width: 80%;
  }
}
