
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
    box-sizing: border-box;
    margin:0;
    padding: 0;
}
.contenido {
    margin-top: 5px; /* ajusta según la altura total de top-bar + menú */
    padding: 20px;
  }
.portada_publicaciones{ 
    background-image: url('../img/publicaciones.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 900px;
    height: 450px;
    margin: 0 auto;
}
.logo_asociacion_page { 
    width: 100px;
    height: 100px;
}
.titulo_publicaciones { 
    color:#003752;
    font-size: 40px;
    font-weight: 200;
    text-align: center;
    margin-bottom: 80px;
    margin-top: 40px;
}
.Titulo_libro { 
    color:#003752;
    font-size: 20px;
    font-weight: 200;
    text-align:justify;
    margin-bottom: 30px;
}
.content_libros{ 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap:4rem;
}
.foto_libro img {
    width: 400px;
    height: 400px;
    border-radius: 12px;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.foto_libro img:hover {
    transform: scale(1.03);
    /* box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3); */
}
.container_libros {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 1000px;
    gap:4rem;
}
.descripcion_libro { 
    text-align: justify;
    font-size: 16px;
    color:#858585;
}
.file-download {
    text-align: center;
    margin-top: 20px;
}
.download-btn-right {
    display: inline-block;
    background-color: #ECB409;
    color: #003752;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    float:right;
}
.download-btn-left {
    display: inline-block;
    background-color: #ECB409;
    color: #003752;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: bold;
        font-size: 16px;
        text-decoration: none;
        border: 2px solid transparent;
        transition: all 0.3s ease;
        float:left;
}
.download-btn-left i, .download-btn-right i {
    margin-right: 8px;
}
.download-btn-left:hover, .download-btn-right:hover  {
    background-color: transparent;
    border: 2px solid #ECB409;
    color: #ECB409;
    text-decoration:none;
}
.separador_libro { 
    display: none;
}
@media screen and (max-width : 750px){
    .portada_publicaciones{ 
        width: 100%;
        height: auto;
        aspect-ratio: 2/1;
    }
    .content_libros{ 
        display: flex;
        flex-direction:column;
        justify-content: center;
        align-items: center;
    }
    .container_libros{
        display: flex;
        flex-direction: column-reverse; /* Imagen primero, texto después */
        justify-content: center;
        align-items: center;
        width: 95%;
        padding: 15px;
        gap: 2rem;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        margin: 15px auto;
        background-color: #fff;
        border-radius: 8px;
    }
    .container_libros:nth-child(even){
        background-color:#f1f3f5;
    }
    .texto_libro{
        padding:10px;
        /* margin:5px; */
        width:100%;
    }
    .foto_libro img{ 
        width: 100%;
        height: auto;
        max-width: 400px;
        margin-bottom: 15px;
    }
    .descripcion_libro { 
        display: flex;
        justify-content: center;
        align-items: center;
        width: 95%;
        padding: 15px;
        margin: 15px auto;
    }
    .file-pdf-left,
    .file-pdf-right {
        text-align: center;
    }
    .redes { 
        display: flex;
        flex-direction:row;
        justify-content: center;
        align-items: center; 
        gap:2em;
        margin-top: 5px;
        margin-bottom: 20px;
    }
}
@media (max-width: 480px) {
    .portada_publicaciones {
        height: 200px;
      }
}

@media screen and (max-width: 991px) and (min-width: 751px) {

    .portada_publicaciones{ 
        width: 100%;
        height: auto;
        aspect-ratio: 2/1;
    }
    .content_libros{ 
        display: flex;
        flex-direction:column;
        justify-content: center;
        align-items: center;
    }
    .container_libros{
        display: flex;
        flex-direction: column-reverse; /* Imagen primero, texto después */
        justify-content: center;
        align-items: center;
        width: 95%;
        padding: 15px;
        gap: 2rem;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
        margin: 15px auto;
        background-color: #fff;
        border-radius: 8px;
    }
    .container_libros:nth-child(even){
        background-color:#f1f3f5;
    }
    .texto_libro{
        padding:10px;
        /* margin:5px; */
        width:100%;
    }
    .foto_libro img{ 
        width: 100%;
        height: auto;
        max-width: 400px;
        margin-bottom: 15px;
    }
    .descripcion_libro { 
        display: flex;
        justify-content: center;
        align-items: center;
        width: 95%;
        padding: 15px;
        margin: 15px auto;
    }
    .file-pdf-left,
    .file-pdf-right {
        text-align: center;
    }
    .redes { 
        display: flex;
        flex-direction:row;
        justify-content: center;
        align-items: center; 
        gap:2em;
        margin-top: 5px;
        margin-bottom: 20px;
    }
}
