:root {
  --cassiopeia-color-primary: #3e65a0;
  --cassiopeia-color-link: #e7a72d;
  --cassiopeia-color-hover: #1F3A68;
}

:root {
  --cassiopeia-font-family-body: "Roboto", sans-serif;
  --cassiopeia-font-family-headings: "League Spartan", sans-serif;
  --cassiopeia-font-weight-headings: 700;
  --cassiopeia-font-weight-normal: 400;
}

/* Estilos globales */
body {
  font-family: 'Roboto', sans-serif;
}

/* Estilos para títulos usando League Spartan */
h1 {
  font-family: 'League Spartan', sans-serif;
  font-size: 2.5rem; /* Cambiado a rem */
  font-weight: 700;
}

h2 {
  font-family: 'League Spartan', sans-serif;
  font-size: 1.5rem; /* Cambiado a rem */
  font-weight: 700;
}

h3 {
  font-family: 'League Spartan', sans-serif;
  font-size: 1.25rem; /* Cambiado a rem */
  font-weight: 700;
}

h4, h5, h6 {
  font-family: 'League Spartan', sans-serif;
  font-size: 1rem; /* Cambiado a rem */
  font-weight: 700;
}

/* Estilos para el cuerpo del texto usando Roboto */
p {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6em;
}

/* Media Queries para dispositivos móviles */
@media screen and (max-width: 600px) {
  h1 {
    font-size: 2.25rem; /* Tamaño ajustado para móviles */
  }

  h2 {
    font-size: 1.5rem; /* Tamaño ajustado para móviles */
  }

  h3 {
    font-size: 1rem; /* Tamaño ajustado para móviles */
  }

  h4, h5, h6 {
    font-size: 0.75rem; /* Tamaño ajustado para móviles */
  }
}

/* Estilos para citas */
blockquote {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6em;
}

/* Estilos para leyendas y texto auxiliar */
figcaption, .text-aux {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 400;
}

/* Ajustes adicionales para responsividad y SEO pueden ser necesarios */

.container-header {
  background-color: #3E65A0;
  background-image: none;
}

.container-header .mod-menu {
  color: #f6f6f6;
}
.container-header .mod-menu a {
  -webkit-border-radius: 0 0 3px 3px;
  -moz-border-radius: 0 0 3px 3px;
  border-radius: 0 0 3px 3px;
  padding: 3px 12px;
  color: #e7a72d;
}
  
.container-topbar {
  background: #FFFFFF;
}

  .navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}
  
.logo-Pos {
  float: left;
}
  
/* Footer */
.container-footer {
 background-image: none;
 background-color: #3e65a0;
}

.page-header {
 color: #3e65a0;
 margin-bottom: 1rem;
}
.page-header h1::after {
 content: '';
 height: 12px;
 background-color: #eb4296;
 width: 5rem;
 display: block;
 margin-top: -1rem;
}

.module-card-wrap {
  max-width: 70%;
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
}
.module-card {
  background: #fff;
  border: 1px solid #f1f1f1;
  box-shadow: 1px 1px 2px rgba(0,0,0,0.05);
  min-width: 100%;
  padding: 10px;
  margin-bottom: 5%;
  display: flex;
  flex-direction: column;
}
.module-card-title {
  font-size: 120%; 
  font-weight: 700;
}
.module-card-meta {
  display: flex;
}
.module-card-category, .module-card-author {
  flex: 1;
}
.module-card-author {
  text-align: right;
}
.module-card-bottom {
  display: flex;
  flex-direction: column;
  flex-grow: 1;

/* a flex: 1 also works here, but is buggy on IE11 */
  
}
.module-card-img {
  margin: 20px 0;
  align-self: center;
  width: 100%;
  height: auto;
}
.module-card-button {
  background: #3e65a0;
  color: white;
  border: none;
  margin-top: auto;
  padding: 10px;
}
@media screen and (min-width: 600px) {
  .module-card {
    width: 48%;
    margin: 0 auto 2%;
    min-width: 0;
  }
}

.container-header .metismenu>li>a:hover:after, .container-header .metismenu>li>button:hover:before, .container-header .metismenu>li.active>a:after, .container-header .metismenu>li.active>button:before {
    background: #e7a72d;
    left: 0;
    right: 0;
    height: 6px;
    opacity: 1;
}

.footer .grid-child {
    display: block; /* Coloca las columnas una debajo de la otra */
    padding: 2.5rem 0.5em;
    text-align: center; /* Centra el texto horizontalmente */
    line-height: 1.5;
}

.footer .grid-child .row {
    display: flex;
    justify-content: center; /* Centra el texto horizontalmente dentro de la fila */
    align-items: center; /* Centra el texto verticalmente dentro de la fila */
    height: 100px; /* Ajusta el valor según el tamaño que desees para la fila */
}
/* Estilos personalizados para el módulo */
.mi-modulo-personalizado h1 {
    font-size: 1.6rem;
    letter-spacing: 0;
    line-height: 2rem;
    margin-right: 8rem;
    margin-bottom: 2.5rem;
    font-weight: 600;
}

.mi-modulo-personalizado h2 { 
    font-weight: 300;
    font-size: 1.5rem;
    letter-spacing: 0;
    line-height: 2rem;
    background: #f6f6f6;
    padding: 1rem;
    margin-right: 0;
    border-radius: 0.6rem; /* Bordes redondeados */
    text-align: center;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto al pasar el mouse */
.mi-modulo-personalizado h2:hover {
    background: #e0e0e0; /* Color de fondo más oscuro */
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.15); /* Sombra suave */
}

