body {
  background-color: rgb(231, 231, 231);
}
.row > .col {
  padding: 0; /* Eliminar padding de las columnas */
}

.section-1,
.section-2 {
  min-height: 100vh;
  background-color: #e7e7e7;
}

h2 {
  color: #0f0f0f;
  font-family: "synt";
  font-size: 45px;
}
.proyectos-contenedor {
  margin-top: 1.5rem;
  align-items: center;
}
.proyectos-galeria-arriba {
  display: flex;
  grid-template-columns: repeat(3, 1fr); /* 3 columnas */
  gap: 0px;
  padding: 0px;
  align-items: flex-start;
}

.gallery {
  width: 33%; /* puedes ajustar según el diseño */
  height: 33%; /* esto fuerza el cuadrado */
  overflow: hidden;
  position: relative;
  margin: 0px;
  flex-shrink: 0;
  display: flex;
  background-color: black;
  flex-direction: column;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* recorta sin deformar */
  display: block;
  opacity: 0.7; /* Opacidad reducida para móviles */

  aspect-ratio: 1 / 1;

  display: block;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.2); /* Aumenta ligeramente el tamaño al hacer hover */
  z-index: 1; /* Lleva la imagen al frente */
}

/* Información que aparece al hacer hover sobre la imagen */
.info-container {
  font-family: "SerialB";
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 80%;
  text-align: left;
  color: #ffffff;
  padding: 0px;
  font-size: 1.2rem;
  line-height: 1.5rem;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

.info-line {
  font-family: "SerialB";
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 80%;
  text-align: left;
  color: #ffffff;
  padding: 0px;
  font-size: 1.2rem;
  line-height: 1.5rem;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

.notas {
  padding-top: 10%;
}

.info-persona {
  font-family: "MD light";
  font-size: 0.7em;
}
/* Mostrar la información al hacer hover sobre la imagen */
.gallery:hover .info-container,
.gallery:hover .info-line {
  display: block; /* Muestra la información */
}

.person-card {
  cursor: pointer;
  padding: 10px;
  border-radius: 5px;
  transition: box-shadow 0.3s ease;
}

.person-photo {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.person-info {
  margin-top: 10px;
}

button .name {
  transition: transform 0.3s ease;
}

button .name:hover {
  transform: scale(1.2);
  font-weight: 900;
}

.card {
  background-color: #77777700;
  border: #77777700;
}

.elemento {
  z-index: 10;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 0%,
    rgb(246, 255, 0) 51%,
    rgba(217, 217, 217, 1) 76%,
    rgba(255, 255, 255, 0) 92%
  );
  background-size: 200% 100%;
  transition: background-position 0.1s ease-out;
}

.filtros {
  font-family: "MD IO";
  font-size: 12px;
}

.proyectos-movil {
  display: none;
}

@media screen and (max-width: 994px) {
  .proyectos-galeria-arriba {
    display: grid;
    grid-template-columns: 1fr; /* 1 columna en móviles */
  }
  .gallery {
    width: 100%;
    height: 100%;
  }

  .gallery img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
  .info-container,
  .info-line {
    font-size: 1.5rem;
    line-height: 1.7rem;
  }
}

@media screen and (max-width: 768px) {
}
