html, body {
  height: 100%;
  margin: 0;
}

body{
  display: flex;
  flex-direction: column;
    background-color: #e5e5e5 !important;
    font-family: "Poppins", sans-serif !important;
}

main{
    flex: 1;
}

.navegator{
    background-color: #ffff;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navegator a img{
        width: 70px;
        height: 70px;
        margin: 0 0 6px 0;
        display: block;
}

.titulo-nav{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    font-size: 40px;
    font-style: normal;
    text-decoration: none;
    color: #000000;
}

.nav-title{
    line-height: 1;
}


.navul ul li a{
    font-weight: 500;
    font-size: 18px;
    color: #000000 !important;
    text-decoration: none;
    padding-bottom: 6px;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease-in-out, color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.navul ul li a:hover{
    font-weight: 800;
    color: #14213d !important;
    border-bottom-color: currentColor;
    transform: translateY(-3px);
}

.nosotros{
    background-color: #ffff;
    border-radius: 15px;    
}

.redes-main a h5,
.redes-main h5{
    text-decoration: none;
    font-weight: 600;
    font-size: 30px;
}

.redes-main a h1,
.redes-main h1{
    text-decoration: none;
    font-weight: 700;
    font-size: 45px;
}

.redes-main .row .col a .card img,
.redes-main .row .col .card img{
    width: 100px;
    height: 100px;
    display: block;
}

.redes-main .redes .row .col a{
    text-decoration: none; 
    font-weight: 600;
    font-size: 24px;
}

.redes-main .row .col .card{
    background-color: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.redes-main .row .col .card:hover{
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Galeria */

.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.galeria img {
  width: 100%;
  height: auto;
  cursor: pointer;
  border-radius: 8px;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: black;
  z-index: 999;
}

.lightbox img {
  max-width: 95vw;
  max-height: 80vh;
  margin: auto;
  display: block;
  margin-top: 10vh;
}

/* Flechas grandes para móvil */
.flecha {
  position: absolute;
  top: 50%;
  font-size: 60px;
  color: white;
  padding: 10px;
  cursor: pointer;
  user-select: none;
}

.izq { left: 10px; }
.der { right: 10px; }

/* Ajustes móvil */
@media (max-width: 600px) {
  .flecha {
    font-size: 80px;
  }
  .lightbox img {
    max-height: 70vh;
  }
}
