/* ESTILOS GENERALES */
/* Header*/
header{
    background-color:rgb(177, 216, 169);
}

#logocatedra{
text-align: center;
}

#logofauba{
text-align: center;
}

html {
  scroll-behavior: smooth;
}

p{
  color:#000000;
  line-height: 30px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

li{
  color:#000000;
  line-height: 30px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

body {
  margin: 15px;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  color: #333;
  width:100%;
}

.carousel-item img {
  height: 800px;
  object-fit: cover;
}


footer{
  text-align: center;
  line-height: ;
  background-color:rgb(177, 216, 169);
  padding: 30px;
}


/*SECCIONES*/
section {
  margin: 60px; /* agrega margen alrededor de cada sección */

  padding: 30px;
}

/*BARRA DE NAVEGACIÓN*/
/* Fondo de la barra */
.navbar {
  background-color: #004080 !important; /* Azul oscuro */
  padding: 0.8rem 1rem;
  width: 100%;
  margin: 0;
  border: 0;
  box-sizing: border-box;
}

/* Estilo de los links */
.navbar-nav .nav-link {
  color: #e0e0e0 !important;
  margin-left: 1rem;
  transition: color 0.3s, background-color 0.3s;
}
/* Hover en links */
.navbar-nav .nav-link:hover {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  padding: 0.3rem 0.6rem;
}
/* Link activo */
.navbar-nav .nav-link.active {
  color: #ffffff !important;
  font-weight: bold;
}
/* Botón hamburguesa */
.navbar-toggler {
  border: none;
}
.navbar-toggler-icon {
  filter: invert(1); /* blanco sobre fondo oscuro */
}
.navbar .container-fluid {
  padding-left: 1rem;
  padding-right: 1rem;
  max-width: 100% !important;
}

/*Fijar el menú arriba (sticky)*/
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
}

h1{
  text-align: center;
  padding: 50px;
}

h2 {
  text-align: left;
  position: relative; /* necesario para posicionar el pseudo-elemento */
  display: inline-block; /* para que el ancho se ajuste al texto */
  cursor: pointer; /* opcional, para mostrar que es interactivo */
  margin: 50px;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px; /* grosor del subrayado */
  width: 0;
  background-color: #000; /* color del subrayado */
  transition: width 0.6s ease; /* animación suave */
}

h2:hover::after {
  width: 100%;
}

/*Imágenes*/
.img-fluid {
  width: 100%;
  max-width: 800px;
  height: auto;
}

@media (max-width: 768px) {
  .img-fluid {
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .img-fluid {
    max-width: 200px;
  }
}



/* O  B  J  E  T  I  V  O  S  */
#experiencia{
  padding: 50PX;
}

#seccionobjetivos{
    color:rgb(0, 0, 0);
    font-family: ;
    font-size: ;
    font-weight: ;
    text-align:left;
}

/*L   Í   N   E   A   S   D   E   I   N   V   E   S   T   I   G   A   C   I   Ó   N*/
#seccionlineas{
    color:rgb(0, 0, 0);
    font-family: ;
    font-size: ;
    font-weight: ;
    text-align:left;
}

.col{
  padding: 50px;
}

/*S   E   R   V   C   I   O   S   A   T   E   R   C   E   R   O   S*/
#servicios{
    color:rgb(0, 0, 0);
    font-family: ;
    font-size: ;
    font-weight: ;
    text-align:left;
}

/* Lista personalizada */
.custom-list {
  list-style-type: disc;
  padding-left: 1.5rem;
}

.custom-list li {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

/*I   N   T   E   G   R   A   N   T   E   S*/
#integrantes{
    color:rgb(0, 0, 0);
    font-family: ;
    font-size: ;
    font-weight: ;
    text-align:left;
}

.integrantes-list {
  text-align: center;
}

.integrantes-list ul.grupo {
  list-style-type: none;
  padding: 0;
  margin-top: 1.5rem;
}

/* Opcional: quitar margen al primer grupo */
.integrantes-list ul.grupo:first-child {
  margin-top: 0;
}


/*C   O   N   T   A   C   T   O*/
#contacto{
    color:rgb(0, 0, 0);
    font-family: ;
    font-size: ;
    font-weight: ;
    text-align:left;
}

/* Mapa responsive */
.map-responsive {
  position: relative;
  overflow: hidden;
  padding-bottom: 56.25%; /* Proporción 16:9 */
  height: 0;
  border-radius: 8px; /* opcional: esquinas redondeadas */
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

















/* Animación de fade out */
body.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Animación de fade in al cargar la página */
body {
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.fade-in {
  opacity: 1;
}




