:root {
    --primary-bg: #16a085; /* Fondo del contenedor del título */
    --primary-text: white; /* Color de texto principal */
    --secondary-text: #828282; /* Color del texto de la cita */
    --navbar-bg: rgb(255, 255, 255); /* Color de la barra de navegación */
    --title-font-size: 4em; /* Tamaño de fuente del título */
    --subtitle-font-size: 20px; /* Tamaño de fuente del subtítulo */
    --quote-font-size: 1.2em; /* Tamaño de fuente de la cita */
}


@font-face {
    font-family: "MathItalic";
    src: url("fonts/math_italic.woff2") format("woff2"),
         url("fonts/math_italic.woff") format("woff"),
         url("fonts/math_italic.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}


body {
    font-family: "MathItalic", sans-serif;
}



h1, h2 {
    font-family: 'Quicksand', sans-serif;
}


body {
    font-family: 'Quicksand', sans-serif;
    font-size: 95%;
    color: #012;
    background-color: #FFF;
}

.title-container {
    background-color: var(--primary-bg);
    text-align: center;
    padding-top: 5px;
    padding-bottom: 100px;
    width: 100%;
    margin-top: 55px;
    box-sizing: border-box;
}

.title-container h1 {
    color: var(--primary-text);
    font-size: var(--title-font-size);
    display: block;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}
.title-container h2 {
    color: var(--primary-text);
    font-size: var(--subtitle-font-size);
    margin: 10px 0;
}

.quote {
    text-align: center;
    font-size: var(--quote-font-size);
    margin-top: 40px;
    margin-bottom: 70px;
    color: var(--secondary-text);
    letter-spacing: 3px;
}


/* Barra de navegación */
.navbar {
    overflow: sticky;
    background-color: var(--navbar-bg);
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0; 
    min-height: 50px; /* Controlar la altura mínima */
    display: flex;
    align-items: center; /* Alinear contenido verticalmente */
    justify-content: space-between; /* Asegura que los elementos se distribuyan correctamente */
}

.navbar-brand {
    font-weight: bold;
}

/* Navbar en pantallas grandes */
.navbar.navbar-expand-lg {
    background-color: var(--navbar-bg) !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Estilos para los enlaces de la barra de navegación */
.navbar-nav .nav-link {
    float: left; /* Hacer que los enlaces floten a la izquierda */
    display: block; /* Mostrar como bloque */
    color: #0796ce; /* Color de texto personalizado */
    text-align: center; /* Centrar el texto */
    font-size: 17px; /* Tamaño de fuente */
    font-weight: 600; /* Aumenta el peso de la letra para que sea más notoria */
    padding: 10px 15px !important;
    line-height: 1;
}

/* Contenedor de la barra de navegación (agregar media query para pantallas pequeñas) */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column; /* Cambiar la dirección de los elementos en pantallas pequeñas */
        padding: 10px; /* Ajustar el padding para dispositivos móviles */
    }

    .navbar-nav {
        width: 100%; /* Asegura que los enlaces ocupen todo el ancho disponible */
        display: flex;
        flex-direction: column; /* Organiza los enlaces verticalmente */
        align-items: center; /* Centra los enlaces */
    }

    .navbar-nav .nav-link {
        padding: 8px 0; /* Ajusta el padding para que los enlaces sean más fáciles de tocar en pantallas pequeñas */
        font-size: 16px; /* Ajusta el tamaño de la fuente */
    }
}

/* Cuando la barra de navegación esté abierta en pantallas móviles */
@media (max-width: 768px) {
    .navbar-nav.show {
        display: block;
        width: 100%;
        text-align: center;
    }
}




.title-container h1 {
    color: var(--primary-text);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}






.container {
    max-width: 1000px;
    margin: 60px auto;
}

h1.page-title {

    font-size: 2em;
}



.reflection-quote{
    text-align: left;
    font-size: var(--quote-font-size);
    margin-top: 40px;
    margin-bottom: 70px;
    color: var(--secondary-text);
    letter-spacing: 3px;
}





.card-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    background-color: #f4f4f4;
    border-radius: 10px;
    padding: 20px;
    width: 250px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.card h3 {
    color: #333;
    margin-bottom: 10px;
}

.card p {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.card-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}

.card-link:hover {
    text-decoration: underline;
}

.highlight {
    background-color: #cce7ff;
    color: #012; 
    font-weight: bold;
    padding: 0 4px; 
    border-radius: 3px; /
}


p {
    line-height: 32px;
    margin-bottom: 10px; 
}
ol li {
    margin-bottom: 15px; /* Ajusta el valor según el espacio que necesites */
}

.alerta {
    background-color: #f8d7da;
    color: #721c24;
    padding: 20px;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    margin: 20px 0;
}

.alerta a {
    color: #721c24;
    text-decoration: underline;
}

.alerta a:hover {
    color: #f44336;
}

.alerta h2 {
    color: #721c24;
    font-size: 20px;
    margin-bottom: 15px;
}

.mensaje-bienvenida {
    font-size: 18px;
    font-weight: bold;
    color: #006cdf;
}

.btn-inscripcion {
    background-color: #1aa78a;
    color: white;
    font-size: 18px;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
}
.mensaje-leyenda {
    font-size: 16px;
    color: #555555;
    margin-top: 10px;
    font-style: italic;
}
html {
    scroll-behavior: smooth;
}




/* Estilo general para la sección Ciencia y Sociedad */
#ciencia-sociedad {
    background-color: #f9f9f9;
    padding: 60px 0;
}

#ciencia-sociedad h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
}

#ciencia-sociedad p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
}

#ciencia-sociedad .row {
    margin-top: 40px;
}

#ciencia-sociedad .col-md-4 {
    margin-bottom: 30px;
}

#ciencia-sociedad h4 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #1abc9c;
    margin-bottom: 20px;
}

#ciencia-sociedad .col-md-4 p {
    font-size: 1rem;
    color: #333;
}

.text-center {
    text-align: center;
}



.btn-participar {
    background-color: #1abc9c;
    color: white;
    font-size: 18px;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-participar:hover {
    background-color: #16a085;
}



.ruta-flujo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 20px;
  }
  
  .paso {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .card {
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    width: 250px;
    height: 300px; /* Altura fija para mantener las tarjetas del mismo tamaño */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Asegura que el contenido se distribuya de manera uniforme */
  }
  
  .circulo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #007bff;
    color: white;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    font-size: 16px;
  }
  
  .flecha {
    font-size: 2rem;
    color: #007bff;
    margin-top: 15px;
  }
  
  .flecha:last-child {
    display: none; /* Ocultar la última flecha */
  }
  
  .card .card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Para mantener el contenido de la tarjeta distribuido uniformemente */
  }
  
  .card h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  
  .card p {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  
  @media (max-width: 768px) {
    .ruta-flujo {
      flex-direction: column;
    }
    .flecha {
      margin: 10px 0;
    }
  }
  


  .task-title {
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.task-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.task-list li {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

.task-list input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}






.full-text {
    display: none;
}

.show-more, .show-less {
    background: none;
    border: none;
    color: blue;
    cursor: pointer;
    text-decoration: underline;
    font-size: 1em;
    padding: 0;
}

.show-more:hover, .show-less:hover {
    color: darkblue;
}
