*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 18px;
    font-style: normal;
    color: #969696;
    font-weight: lighter;
    
}



body{
    background-color: #ffffff;
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: lighter;
    
}

.slider-box {
    width: 100%;
    height: auto;
    margin: 50px auto 0;
    overflow: hidden;
}

.slider-box ul{
    display: flex;
    padding: 0;
    width: 400%;
    animation: slide 3s infinite alternate ease-in-out;
}

.slider-box li {
    bottom: -31px;
    width: 100%;
    list-style: none;
    position: relative;
}

.texto {
    position: absolute;                  
    bottom: 19%; /* Ajusta la posición vertical */
    left: 70%;
    transform: translateX(-50% ); /* Centrado horizontal */
    /*background-color: rgba(0, 0, 0, 0.6); /* Fondo para mejorar contraste */
    /*padding: 70px; */
    text-align: center;
    display:flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8em;
}

.texto h2 {
    font-size: 30px;
    top: 50%;
    text-decoration: underline;
}

.slider-box img {
    width: 100%;
 }

 @keyframes slide {
    0% { margin-left: 0;}
    20% { margin-left:  0;}

    25% { margin-left: -100%;}
    45% { margin-left: -100%;}

    50% { margin-left: -200%;}
    70% { margin-left: -200%;}

    75% { margin-left: -300%;}
    100% { margin-left: -300%;}
  
 }

 @media (max-width:991px) {

    body{
        padding: 0px;
    }

    .slider-box {
        width: 100%;
    }

    .texto {
        top: 50px;
        padding: 0 25PX;
    }
    }

.gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:10px;
  padding:50px;
}

.gallery img{
  width:100%;
  cursor:pointer;
  transition:0.3s;
}

.gallery img:hover{
  transform:scale(1.09);
}


.contenedor-sobremi {
    display: flex; /* Alinea los elementos hijos al lado */
    flex-wrap: wrap; /* Permite salto de línea en móviles */
    align-items: center; /* Centra verticalmente */
    gap: 30px; /* Espacio entre imagen y texto */
    padding: 15%;
    font-size: 1.2em;
}

.imagen-perfil {
    max-width: 100%; /* Imagen responsiva */
    height: auto;
    border-radius: 10px;
    /* border-radius: 50%;  Opcional: imagen circular */
    width: 320px; /* Ancho fijo en escritorio */
}

.texto-perfil {
    width: 60%;
    flex: 1; /* El texto ocupa el espacio restante */
    min-width: 50%; /* Salto de línea si el espacio es muy chico */
    
}

/* Ajuste móvil */
@media (max-width: 768px) {
    .contenedor-sobremi {
        flex-direction: column; /* Apila imagen y texto */
        text-align: center;
        font-size: 1.2em;
    }
}




.navbar {
    width: 100%;
    height: 80px;
    background-image: url();
    background-color: rgb(4, 4, 4);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 1px 0px 0px;
    color: rgb(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    z-index: 99;

}


.parte1 {
    color: #0dafef; /* Color naranja */
    font-size: 20px;  /* Tamaño más grande */
  }

  .parte2 {
    color: #ece8e7; /* Color naranja */
    font-size: 20px;  /* Tamaño más grande */
  }
.parte3 {
    color: #0dafef; /* Color naranja */
    font-size: 20px;  /* Tamaño más grande */
  }

.caja {
    left: 10%;
    text-align: center;
    align-items: center;
    width: 80%;
    position: relative;
}




/*.sombra-texto {
    font-size: 9px;
    text-shadow: 2px 2px 4px #e9e7e7;
  } */
H1 { 
    text-align: center;
    font-size: 0.8em;
}
h2 {
    text-align: center;
    color: #5e5c5c;
    font-size: 40px;
    /*  text-shadow: 0 0 2px #4d4f4f, 0 0 10px #e8e3e3, 0 0 20px #f9fafb;
    opacity: .7;  */
}  

h3 {
    text-align: center;
    margin: 10px;
    padding: 10px;
    color: #7a7777;
    font-size: 10px;
}
h4 {
    font-size: 2em;
    color: #6b6c6c;
    
}
h5 {
    text-align: center;
    margin: 10px;
    padding: 10px;
    color: #9ee3e3;
    font-size: 17px;
    text-shadow: 0 0 2px #212b2e;
}   

.img-1 {
	width: 80%;
    align-items: center;
	box-shadow: 15px 15px 35px rgba(0, 0, 0, 0.8); 
	margin-bottom:45px;
}



.foter {
    color: rgb(244, 244, 244);
}

.logo {
    padding: 50px;
    font-size: 1.1rem;
    font-weight: lighter;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 1px;
    text-shadow: 0 0 2px #e0e3e3, 0 0 10px #7fd8df, 0 0 20px #f9fafa;
    font-family: "DM Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    font-family: 'Arial', sans-serif; /* Cambiar por la fuente deseada */
    font-weight: bold;
    color: #333333;
    margin: 0;
    text-transform: uppercase; /* Opcional: para mayúsculas */
    letter-spacing: 2px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 45px;
}

.nav-links li a {
    text-decoration: none;
    color: #d0d0d0;
    font-size: 1rem;
    position: relative;
    padding-bottom: 4px;
    transition: o.3s ease;
}

.nav-links li a::after {
    content: "";
    position: absolute;
    left: 0;
    width: 0%;
    height: 2px;
    /*background: #3c5c5f;*/
    border-radius: 5px;
    transition: 0;

}

.nav-links li a:hover {
    color: rgb(62, 63, 63);
}

.nav-links li a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

/* Oculta el texto extra por defecto */
  #masTexto {
    display: none;
  }

  #miBtn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 4px;
}

#miBtn:hover {
  background-color: #0056b3;
}


.hamburger span {
    margin-right: 20px;
    width: 30px;
    height: 3px;
    background-color: #e8e3e3;
    border-radius: 10px;
}

@media(max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 200px;
        background-color: rgba(0, 0, 0, 0.65);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 25px;
        gap: 25px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        transition:  .4s;
        border-radius: 10px 0 0 10px;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }
}



/*Colores de Marca*/
.fa-facebook {
    background:#1877f2;
} 
 
.fa-linkedin {
    background:#0a66c2;
}
 
.fa-twitter {
    background: #1da1f2;
}
 
.fa-instagram {
    background: #c32aa3;
}
 
.fa-youtube {
    background: #ff0000;
}


<!--/*Colores de Marca*/
.fa-facebook {
    background:#3f3f3f;
} 
 
.fa-linkedin {
    background:#3f3f3f;
}
 
.fa-twitter {
    background: #3f3f3f;
}
 
.fa-instagram {
    background: #3f3f3f;
}
 
.fa-youtube {
    background: #3f3f3f;
}
 
/*Agregar estilos adicionales a iconos*/
.redes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
 
.redes i {
    border-radius: 40%;
    color: #fff;
    width: 30px;
    height: 30px;
    margin: 1px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
 
.redes a {
    text-decoration: none;
}
 
.redes i:hover {
    -ms-transform: scale(1.1); 
    -webkit-transform: scale(1.1); 
    transform: scale(1.1); 
    opacity: .4;
}




img{
    width: 100%;
    margin: 5px auto;
    
}

.row{
    display: flex;
    padding: 5px;
    flex-wrap: wrap;
}
.column{
    flex:  25%;
    padding: 5px;
}
.column img{
    margin-top: 5px;
    
}

@media (max-width: 800px){
    .column{
        flex:  50%;
    }
}

@media (max-width: 600px){
    .column{
        flex:  100%;
    }
}


/* Estilo de la galería de miniaturas */
.miniatura {
    width: 100%;
    height: auto;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s;
}

.miniatura:hover {
    transform: scale(1.05); /* Efecto zoom ligero */
}

/* Estilo del Lightbox (contenedor oculto) */
.lightbox {
    position: fixed;
    top: 7%;
    left: 0;
    width: 100%;
    height: 99%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none; /* Oculto y no clickeable */
    transition: opacity 0.4s;
    object-fit: cover;
    
    overflow: hidden;
}

/* Mostrar lightbox cuando se hace click (target) */
.lightbox:target {
    opacity: 5;
    pointer-events: auto;
    object-fit: cover;
    overflow: hidden;
}

.lightbox img {
    max-width: 60%;
    max-height: auto;
    border: 10px solid white;
    overflow: hidden;
    
    
}

.overflow-scroll {
    overflow: scroll;
}

/* Botón cerrar */
.cerrar {
    position: absolute;
    top: 37%;
    right: 17%;
    width: 30px;
    color: rgb(251, 251, 251);
    border-radius: 30px;
    display: flex;
    background-color: #6e6d66;
    vertical-align: 30%;
    font-size: 22px;
    text-decoration: none;
    justify-content: center;
    overflow: hidden;
    z-index: 10; /* Asegura que esté por encima de la imagen */
}

@media (max-width: 580px) {
  .lightbox img {
    overflow: hidden;
    display: none !important; /* !important asegura que no se sobrescriba */
  }

  .cerrar {
    overflow: hidden;
    display: none !important; /* !important asegura que no se sobrescriba */
  }
  .lightbox:target {
    display: none !important; /* !important asegura que no se sobrescriba */  
  }
}

a {
    text-decoration: none;
}

#mensaje-aviso {
            position: fixed;
            top: 320px;
            left: 50%;
            transform: translateX(-50%);
            background-color: #333;
            color: white;
            padding: 15px 25px;
            border-radius: 5px;
            z-index: 1000;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }


