/* Estilos reutilizables para los textos */
@font-face {
    font-family: 'Gill Sans';
    src: url('/OBSANO-UNSIS-UANL/public/data/Gill Sans.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

.section-title {
    color: #4caf50;
    font-size: 2rem;
    margin-bottom: 20px;
}


/* Estilo para los títulos dentro de 'Líneas de Investigación' */
#research-lines .section-title {
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Borde negro alrededor de las letras */
  }
  
  /* Estilo para los párrafos dentro de 'Líneas de Investigación' */
  #research-lines .section-paragraph {
    color: white;
    font-size: 18px;
    line-height: 1.6;
    font-family: 'Gill Sans', sans-serif;
    text-align: justify;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); /* Borde negro alrededor de las letras */
  }
  
  /* Estilo para la lista dentro de 'Líneas de Investigación' */
  #research-lines ul {
    color: white;
    font-size: 18px;
    list-style-position: inside;
    margin-left: 20px;
    padding-left: 10px;
  }
  
  #research-lines ul li {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7); /* Borde negro alrededor de las letras */
  }

.section-paragraph {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    font-family: 'Gill Sans', sans-serif;
    text-align: justify;
}

/* Estilos para botones */
button {
    background-color: #388e3c;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #33691e;
    transform: scale(1.05);
}

.prev {
    left: 10px;
  }
  
  .next {
    right: 10px;
  }

/* Ocultar secciones por defecto */
.hidden {
    display: none;
}

/* Estilos para la sección */
.section-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.section-text {
    flex: 1;
    max-width: 50%;
}

.section-image {
    flex: 1;
    max-width: 50%;
    text-align: center;
}

.section-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    max-height: 600px;
}

/* Animación para el carrusel */
@keyframes slideInFromRight {
    from {
      transform: translateX(100%);
    }
    to {
      transform: translateX(0);
    }
  }

  .carousel-item {
    animation: slideInFromRight 0.5s ease-in-out;
  }
  
  /* Responsive */
  @media screen and (max-width: 768px) {
    .section-content {
      flex-direction: column;
      align-items: center;
    }
  
    .section-text, .section-image {
      max-width: 100%;
    }
  }
  
  /* Efecto hover en imágenes (aplicable si ya existe) */
  .carousel-img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  
/* Animación para la imagen de la sección 'Líneas de Investigación' */
@keyframes slideInFromBottom {
    from {
      transform: translateY(20px); /* Empuja la imagen hacia abajo */
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  

/* Animaciones de desplazamiento */
@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Aplicar animaciones */
.slide-out-left {
    animation: slideOutLeft 0.5s forwards;
}

.slide-in-right {
    animation: slideInRight 0.5s forwards;
}

.slide-out-right {
    animation: slideOutRight 0.5s forwards;
}

.slide-in-left {
    animation: slideInLeft 0.5s forwards;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .section-content {
        flex-direction: column;
        align-items: center;
    }

    .section-text, .section-image {
        max-width: 100%;
    }
}

/* Efecto hover en imágenes */
img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Asegurar que las secciones no sean tapadas por el navbar */
.interactive-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
    position: relative;
    scroll-margin-top: 100px; /* Ajuste de margen superior en el scroll */
}

/* Animación para la imagen */
@keyframes fadeInImage {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  .section-image img {
    opacity: 0; /* Inicialmente invisible */
    animation: fadeInImage 2s ease-out forwards; /* Aparece en 2 segundos */
  }

/* Estilo para la imagen de líneas de investigación */
#research-lines .section-image img {
    opacity: 0; /* Inicialmente invisible */
    animation: slideInFromBottom 1.5s ease-out forwards; /* Desliza la imagen desde abajo */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Mantener el hover */
  }
  
  #research-lines .section-image img:hover {
    transform: scale(1.05); /* Aumenta el tamaño al pasar el cursor */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* Añade sombra */
  }


  /* Estilos generales para la sección */
#collaborators {
    text-align: center;
    padding: 50px 20px;
    background-color: #f1f1f1; /* Fondo gris para toda la sección */
    margin: 0 auto;
    border-radius: 10px; /* Opcional, para redondear las esquinas de la sección */
}
#collaborators .section-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%; /* Asegura que ocupe todo el ancho disponible */

}

#collaborators .section-title {
    color: #388e3c;
    margin-bottom: 20px;
    font-size: 2rem;
}

/* Contenedor para el carrusel con fondo blanco */
.carousel-wrapper {
    background-color: white; /* Fondo blanco para el carrusel */
    border-radius: 10px; /* Bordes redondeados */
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Sombra suave para destacar el carrusel */
    width: 100%; /* Asegura que ocupe el ancho del contenedor */
    max-width: 1000px; /* Limita el ancho máximo del carrusel */
    margin: 0 auto;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: visible;
    max-height: 800px;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.carousel-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #388e3c; /* Borde sólido alrededor del círculo */
    margin-bottom: 20px;
    
}

.carousel-img:hover {
    transform: scale(1.2); /* Aumenta el tamaño sin ser cortada */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10; /* Asegura que la imagen quede por encima de otros elementos */
}

.carousel h3 {
    font-size: 1.5rem;
    color: #388e3c;
    margin-bottom: 10px;
}

.carousel p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin: 0 40px;
}

button {
    background-color: #388e3c;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

button:hover {
    background-color: #33691e;
    transform: scale(1.05);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;

/* Responsive */
@media screen and (max-width: 768px) {
    .section-content {
        flex-direction: column;
        align-items: center;
    }

    .section-text, .section-image {
        max-width: 100%;
    }
}
}
/*botón login*/
.admin-login {
    text-align: center;
    margin-top: 40px;
    padding: 15px;
}

.admin-login p {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    font-weight: normal;
    font-weight: bold;
}

.admin-button {
    display: inline-block;
    background-color: #388e3c;
    color: white;
    padding: 10px 20px;
    font-size: 16px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
}

.admin-button:hover {
    background-color: #33691e;
    color: #232255;
    transform: scale(1.05);
}


#contexto {
    background-image: url('/OBSANO-UNSIS-UANL/public/img/seccion9.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
        background-attachment: fixed; /* Efecto de fondo fijo */
        animation: fadeInImage 2s ease-out forwards;


}


#contexto::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    z-index: 1; /* Coloca el blur detrás del contenido */
}

#contexto .section-content {
    position: relative;
    z-index: 2; /* Asegura que el contenido esté por encima de la imagen borrosa */
}

#contexto .section-text{
    background-color: rgba(6, 41, 13, 0.726); /* Fondo semitransparente negro */
    padding: 20px; /* Espaciado alrededor del texto */
    border-radius: 10px; /* Esquinas redondeadas opcionales */
}

#contexto .section-paragraph {
    color: rgba(255, 255, 255, 0.932); /* Cambia el color del texto a blanco */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Sombra de texto para mejor contraste */
}

#contexto h2 {
    font-size: 2em; /* Tamaño grande para el encabezado */
    font-family: 'Gill Sans', sans-serif;
    margin-bottom: 25px; /* Espaciado debajo del encabezado */
    text-align: center; /* Centrar el texto */
    color: rgba(255, 255, 255, 0.932); /* Cambia el color del texto a blanco */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Sombra de texto para mejor contraste */

}

/* Estilos específicos para la sección 'Conceptos' */
#conceptos .section-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

#conceptos .row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

#conceptos .subtema {
    flex: 1;
    max-width: 30%;
}

#conceptos .subtema-title {
    font-size: 1.5rem;
    color: #388e3c;
    margin-bottom: 15px;
}

#conceptos .subtema-paragraph {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

#conceptos .image {
    flex: 1;
    max-width: 35%;
    text-align: center;
}

#conceptos .image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    max-height: 250px;
}

/* Estilo para el título de la sección 'Conceptos' */
#conceptos .section-title {
    font-size: 2.5rem;
    color: #4caf50;
    text-align: center;
    margin-bottom: 0px;
}

/* Imagen redonda, pequeña y con efecto hover */
.concept-image {
    width: 300px; /* Tamaño pequeño */
    height: 100px;
    border-radius: 50%; /* Hace la imagen completamente redonda */
    display: block;
    margin: 0 auto 20px; /* Centrada y con separación */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Estilos para la sección Dimensiones */
.dimension-section {
    background-image: url('../img/seccion7.jpg'); /* Imagen de fondo */
    background-size: cover; /* Cubrir toda la sección */
    background-position: center; /* Centrar la imagen */
    background-attachment: fixed; /* Efecto de fondo fijo */
    color: white; /* Texto en blanco para mejor contraste */
    text-align: center; /* Centrar el contenido */
    padding: 80px 20px; /* Espaciado alrededor del contenido */

}


/* Título de la sección */
.dimension-title {
    font-size: 2.5em;
    margin-bottom: 20px;
}

/* Lista de dimensiones */
.dimension-list {
    list-style: none;
    padding: 0;
    
}

.dimension-list li {
    margin-bottom: 15px;
    font-size: 1.3em;
    text-align: justify;
    margin-left: 30px;
}
#dimensiones .section-paragraph {
    font-size: 1.3em;
    color: white;
}

#dimensiones .section-content {
    margin: 0 auto; /* Eliminamos el margen superior e inferior y centramos los lados */
    padding: 20px; /* Mantén el padding si lo necesitas */
    max-width: 80%; /* Limita el ancho máximo a 80% del contenedor principal */
}

/* Contenido centrado */
.dimension-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(3, 29, 9, 0.712); /* Capa oscura para mejorar legibilidad */
    padding: 40px;
    border-radius: 10px; /* Bordes redondeados */
}

/* Estilos generales para la sección de normatividad */
.normativity-section {
    background-color: white;
    padding: 40px 20px;
}

/* Contenedor principal de la sección */
.normativity-section .section-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px; /* Aumentamos el ancho máximo del contenedor */
    margin: 0 auto;
}

/* Estilos para la imagen y su contenedor */
.normativity-section .image-container {
    flex: 0 0 45%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.normativity-section .section-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0px;
    min-width: 450px; /* Añadí un ancho mínimo */
}

/* Contenedor del texto */
.normativity-section .text-container {
    flex: 1;
}

/* Título de la sección */
.normativity-section .section-title {
    font-size: 2.5rem;
    color: #4caf50;
    margin-bottom: 15px;
    text-align: left; /* Alinea el título a la izquierda */
}

/* Párrafos y lista */
.normativity-section .section-paragraph {
    font-size: 1.1rem;
    color: black;
    line-height: 1.6;
    margin-bottom: 20px;
}

.normativity-section .normativity-list {
    list-style: none;
    padding-left: 0;
}

.normativity-section .normativity-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    margin-left: 40px;
    text-align: justify;
    list-style: disc; /* Esto muestra los puntos de la lista */

}

body{
    font-family: 'Gill Sans', sans-serif;
}


/*Estilos para el login*/

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 80px);
    gap: 40px;
}
.login-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    max-width: 400px;
    width: 100%;
}
.login-box h2 {
    margin-bottom: 20px;
    color: #388e3c;
    text-align: center;
}
.login-box input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.login-box button {
    background-color: #388e3c;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}
.login-box button:hover {
    background-color: #33691e;
}
.login-box p {
    margin-top: 10px;
}
.login-box a {
    color: #388e3c;
    text-decoration: none;
}
.login-box a:hover {
    text-decoration: underline;
}
.login-image-container {
    text-align: center;
    margin-left: 100px;
}
.login-image {
    width: 100%;
    max-width: 300px;
    display: block;
    margin: 0 auto;
}
.welcome-text {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #103012;
    text-align: center;
}