/*CLASES DE INVESTIGACION*/

.font-fraunces {
    font-family: 'Fraunces', serif;
    font-weight: 600; /* Semibold */
}
.font-family{
    font-family: Arial, Helvetica, sans-serif;
}
/*fuentes para texto*/
/* Aplicar Poppins SemiBold */
.poppins-semi {
    font-family: 'Poppins', sans-serif;
    font-weight: 600; /* SemiBold */
}
.font-blue{
    color: #061440;
}

.font-white{
    color: #f8f8f8;
}

/* Aplicar Lato Light */
.lato-light {
    font-family: 'Lato', sans-serif;
    font-weight: 300; /* Light */
}
.lato-light p {
    font-family: 'Lato', sans-serif;
    font-weight: 300; /* Light */
}
/*colores predeterminados*/
.fondorojo{
    background-color: #A60512;
}
.fondoblanco{
    background-color: #ffffff;
}
.fondoazul{
    background-color: #021E73;
}


/*fotter*/
.custom-button {
    text-decoration: none;
    width: 100%; /* Se ajusta automáticamente al contenedor */
    height: 200px; /* Define una altura fija */
    border: 2px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
  }
  
  .custom-button:hover {
    border-color: #007bff;
    box-shadow: 0 0 10px #007bff;
  }
  
  .button-image {
    width: 100%;
    height: 70%;
    object-fit: cover;
  }
  
  .button-text {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin-top: 8px;
    color: #000;
  }
  .footer-icon {
    font-size: 30px; /* Tamaño del ícono */
    margin-right: 10px; /* Espacio entre ícono y texto */
  }
  
  .footer-text {
    font-size: 20px; /* Tamaño del texto */
    font-weight: bold; /* Negrita */
  }
/*Estilos para el encabezado y pie de pagina*/

.navbar {
    background-color: #f8f9fa;
}
.navbar-brand {
    font-weight: bold;
    color: #1a237e; /* Azul marino */
}
.navbar-nav .nav-link {
    color: #1a237e; /* Azul marino */
}
.navbar-nav .nav-link:hover {
    color: #0d47a1; /* Azul más oscuro al pasar el cursor */
}
.btn-custom {
    background-color: #1a237e; /* Azul marino */
    color: #fff;
}
.btn-custom:hover {
    background-color: #0d47a1; /* Azul más oscuro al pasar el cursor */
}
.custom-header-height {
height: 200px; /* Ajusta este valor según tus necesidades */
}
.footer {
background: linear-gradient(45deg, #011232, #00369a); /* Degradado de colores */
color: #ffffff;
text-align: center;
padding: 20px 0;
}

.footer-title {
    font-size: 24px;
    margin-bottom: 10px;
    text-align: left;
    padding-left: 20px;
}

.footer-divider {
    border: none;
    height: 1px;
    background-color: #ffffff;
    margin: 20px auto;
    width: 80%;
}

.footer-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.circle-button {
    display: inline-block;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #ffffff;
    margin: 20px;
}

.circle-button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Media Query para pantallas de hasta 600px de ancho */
@media (max-width: 600px) {
    .footer-buttons {
        justify-content: space-around;
    }
    .circle-button {
        /*flex: 0 0 calc(50% - 20px); /* Dos botones por fila */
        width: 100px;
         height: 100px;
        flex: 0 0 auto; /* Evita que el tamaño del botón cambie en diseños flexibles */
    }
    
}


.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.social-icon {
    color: #ffffff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    text-decoration: none;
}

.footer-domain {
    margin-top: 10px;
    font-size: 14px;
}  
/*titulos de pagina*/
.full-width-title-container {
    width: 100%; /* Ocupa todo el ancho de la página */
    background: linear-gradient(to right, #002f87, #0044aa); /* Degradado azul */
    color: white; /* Texto en blanco */
    text-align: center; /* Centra el texto horizontalmente */
    padding: 20px 0; /* Espaciado vertical */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra sutil */
  }
  
  
  
  .full-width-title {
    font-size: 28px; /* Tamaño del título principal */
    font-weight: bold; /* Texto en negrita */
    margin: 0; /* Quita márgenes del título */
    line-height: 1.5; /* Espaciado entre líneas */
  }
  .acerca-de {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-left: 80px;
    padding-right: 80px;
    gap: 20px;
}
.texto {
    flex: 1;
    min-width: 280px;
    padding-left: 100px;
    padding: 80px;
    padding-right: 0px;
    text-align: justify;
}

/* Estilos para el contenedor de la imagen */
.imagen-acerca-de {
    flex: 1;
    min-width: 280px;
    display: flex;
    justify-content: center;
    padding: 30px;
}

/* Estilos para la imagen */
.imagen-acerca-de img {
    max-width: 50%;
    height: auto;
    border-radius: 8px;
}
/*cuadro semitransparente*/
.activity-section {
    background-color: rgba(0, 0, 0, 0.734); /* Fondo oscuro semitransparente */
    border: 2px solid #fff; /* Borde blanco */
    border-radius: 10px; /* Bordes redondeados */
    }

/*Seccion laboratorios*/
/*cuadros para los laboratorios*/
.card {
    border-radius: 12px; /* Bordes redondeados */
  }
  
  .card-title {
    font-size: 24px;
    font-weight: bold;
  }
  
  .card-text {
    font-size: 16px;
    color: #555; /* Color de texto secundario */
    line-height: 1.6;
  }
  
  .carousel-inner img {
    height: 300px; /* Ajusta la altura de las imágenes */
    object-fit: cover; /* Asegura que las imágenes se ajusten sin distorsionarse */
    border-radius: 0 0 12px 12px; /* Esquinas redondeadas en la parte inferior */
  }
  .video-card {
    width: 100%; /* El contenedor ocupa todo el ancho */
    height: 400px; /* Define una altura fija para el cuadro */
  
    border-radius: 12px; /* Bordes redondeados */
    overflow: hidden; /* Asegura que el video no se desborde */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .video-frame {
    width: 100%; /* El video ocupa todo el ancho del cuadro */
    height: 100%; /* El video ocupa todo el alto del cuadro */
    border: none; /* Elimina bordes predeterminados */
  }
   /* Estilos para el botón "Volver arriba" */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #007bff; /* Color de fondo azul */
    color: white;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
    font-size: 40px;
}

/* Mostrar el botón cuando se hace scroll */
.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Efecto hover */
.back-to-top:hover {
    background-color: #0056b3; /* Color de fondo azul más oscuro */}