* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    line-height: 1.3em;
}
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}
.logo img {
    height: 40px;
    filter: grayscale(100%);
    transition: filter 0.3s ease; 
}
.logo img:hover {
    filter: grayscale(0%);
}
.nav-links {
    display: flex;
    list-style: none;
}
.nav-links li {
    margin: 0 15px;
}
.nav-links a {
    text-decoration: none;
    color: black;
    font-size: 16px;
}
.nav-links a:hover {
color: #4769ff; /* Cambia el color al pasar el cursor */
}
.extra-link img {
    height: 30px;
}
.isbn {
    color: rgb(104, 104, 104);
}
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        text-align: center;
        padding: 10px 0;
    }
    .menu-toggle {
        display: block;
    }
}
/* Contenedor Cabeza Logo */
.cabeza-logo {
display: flex;
justify-content: center;  /* Centra horizontalmente */
align-items: center;  /* Centra verticalmente */
height: 40vh;  /* 30% de la altura de la ventana */
margin-top: 60px;
}

/* Cabeza Logo */
.cabeza-logo img {
height: 25vh;  /* Altura fija */
width: auto;  /* Mantiene la proporción */
max-width: 100%;  /* Evita que se salga en pantallas pequeñas */

}
.revista-de {
color:rgb(167, 167, 167);
text-align: center;
font-family: Arial, sans-serif;
font-size: 3vw;
letter-spacing: 0.1em;
font-weight: 100;
}
@media (min-width: 900px) {
.revista-de {
font-size: 2vw;
}
}
/* Texto introductorio */
.fondo-texto-intro{
background-color: #f5f5f5;  /* Gris muy claro */
}
.texto-intro {

padding: 40px;
text-align: justify;
max-width: 800px;  /* Ancho máximo para mejor lectura */
margin: 20px auto;  /* Centrado y con margen */
/border-radius: 5px; /* Esquinas ligeramente redondeadas */
color:#666;
}
/* Imagen de ancho completo */
.imagen-full {
width: 100%;  /* Ocupa todo el ancho */
height: 200px;  /* Altura fija */
overflow: hidden;  /* Evita que la imagen se desborde */
}

.imagen-full img {
width: 100%;
height: 100%;
object-fit: cover;  /* Recorta la imagen sin deformarla */
}
/* Banner Parallax */
.banner {
position: relative;
background: url('img/pleca_parallax.jpg') center/cover fixed;
height: 200px;
/width: 100%;
display: flex;
align-items: center;
justify-content: center;
}

.banner-overlay {
position: absolute;
background: rgba(255, 255, 255, 0.9);
color: white;
padding: 10px;
text-align: center;
}
.banner-overlay img{
height: 200px;
}

/* Índice de artículos */
.container-indice {
    max-width: 800px;
    margin: auto;
    margin-top: 50px;
}

.item {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 15px;
    /align-items: center;
    background: white;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.item img {
    margin-top: 10px;
}

.pdf-icon {
    width: 40px;
    height: 40px;
}
.itemcover .cover {
    /width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    /margin-left: 30px;
}
.itemcover {
    display: grid;
    grid-template-columns: 90px 150px 1fr;
    gap: 15px;
    align-items: center;
    background: white;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}
.content h3 {
    margin: 0;
    font-size: 20px;
    color: #366fb9;
    font-family: Georgia, 'Times New Roman', Times, serif;
    line-height: 1.4em;
}
.content a {
    text-decoration: none;
}
.autor{
    font-weight: bold;
    margin: 10px 0 10px 0;
    font-size: 16px;
    color: #333;
}

.content p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}
.seccion{
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 2em;
	line-height: 1em;
    color: lightgray;
    margin: 30px 0px 20px 120px;

}

/* Responsivo */
@media (max-width: 600px) {
    .itemcover {
        grid-template-columns: 40px 120px 1fr;
        padding: 10px;
    }
    .item {
        grid-template-columns: 40px 1fr;
    }
    .pdf-icon {
        width: 35px;
        height: 35px;
    }
    .content h3 {
        font-size: 16px;
    }
    .content p {
        font-size: 13px;
    }
}


/* Directorio */

.dirinstituto {
    margin: 0;
    font-size: 20px;
    color: #366fb9;
    font-family: Georgia, 'Times New Roman', Times, serif;
    line-height: 1.4em;
}
.dirnombre {
    margin: 5px 0;
    font-size: 16px;
    color: #000000;
}
.dircargo {
    margin: 0px 0;
    font-size: 14px;
    color: #666;
}
.seccion-menu{
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 2em;
    color: #366fb9;
}
.content h3 {
    margin: 0;
    font-size: 20px;
    color: #366fb9;
    font-family: Georgia, 'Times New Roman', Times, serif;
    line-height: 1.4em;
}




.subtitle {
    font-size: 24px;
    /font-weight: bold;
    color: #aaaaaa;
    margin: 20px 0 10px;
    text-align: center;
}

.issue {
    display: grid;
    grid-template-columns: 60px 1fr;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.number-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: normal;
    border-radius: 12px;
    color: white;
}

/* Colores según época */
.epoca-1 { background-color: #8cd1e2; } /* Primera Época */
.epoca-2 { background-color: #97a793; } /* Época Arbitrada */
.epoca-3 { background-color: #cebb67; } /* Otra época */
.epoca-4 { background-color: #a0a4e5; } /* Otra época */

.antcontent h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.antcontent p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

.antcontent a {
    text-decoration: none;
}

/* Responsivo */
@media (max-width: 500px) {
    .issue {
        grid-template-columns: 50px 1fr;
    }
    .number-box {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    .antcontent h3 {
        font-size: 16px;
    }
    .antcontent p {
        font-size: 12px;
    }
}

/* Pie logos */

xfooter {
    text-align: center; /* Centra elementos inline como imágenes */
    padding: 40px 0; /* Espaciado opcional */
}

xfooter img {
    display: block;
    margin: auto;
    max-width: 100%; /* Para que no se desborde en pantallas pequeñas */
    height: auto;
}

/* 2. Usando flexbox

Otra forma es con flexbox en el footer: */

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
}