.galery {
  background-image: url(../images/galery-bg.webp);
  background-repeat: no-repeat;
  background-position: top left;
  background-size: cover;
  height: auto;
  padding: 5em 9em;
}

.galery h1 {
  color: #ffffff;
  text-align: center;
  font-family: "Great Vibes", cursive;
  font-size: 2.9em;
  font-weight: 500;
  padding-bottom: 1.5em;
}

.galery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.galery-container img {
  width: 30%;
  padding-bottom: 3%;
  margin-bottom: 2%;
  position: relative;
  cursor: pointer;
}

/* Estilos para el modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s;
}

.modal.show {
  display: flex;
  opacity: 1;
}

.modal.hide {
  display: flex;
  opacity: 0;
}

.modal-content {
  max-width: 600px;
  width: 90%;
  animation: zoomIn 0.5s;
}

@keyframes zoomIn {
  from {
    transform: scale(0.5);
  }
  to {
    transform: scale(1);
  }
}

.modal-content img {
  width: 100%;
}

.close {
  position: absolute;
  top: 10px;
  right: 25px;
  color: white;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

.social-media {
  text-align: center;
  color: #ffffff;
  padding: 100px 0;
}

.social-media h2 {
  font-family: "Great Vibes", cursive;
  font-size: 2.9em;
  font-weight: 500;
}

.social-media h3 {
  font-weight: 300;
}

.social-media .media-flex {
  width: 100%;
  padding-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 7%;
}

.social-media .media-flex a {
  text-decoration: none;
  color: #ffffff;
  font-size: 1.3em;
}

.social-media .media-flex a:hover {
  color: var(--second-color);
}