body {
    background-image: url("/img/fondo.png");
    margin: 0;
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    padding-top: 20px;
    padding-right: 20px;
    padding-bottom: 0px;
    padding-left: 20px;
}

.acercaDelLibro {
    background-color: transparent;
    margin-top: 5px;
    padding-left: 5px;
    width: 80%;
    text-align: left;
    position: relative;
    /* border-left: 2px solid #dd7251; */
    /* Borde marrón oscuro */
    /*border-radius: 10px;*/
    padding-top: 5px;
    font-size: 1.3rem;
}

.espacio {
    width: 200px;
    /* igual al ancho aproximado del menú */
}

.titulo {
    font-size: 1.7rem;
    font-weight: bold;
    color: #3f812e;
}

.logo {
    text-align: center;
    flex: 1;
    margin-top: 15px;
}

.logo img {
    height: 71px;

}

.menu {
    display: flex;
    gap: 20px;
}

.menu a {
    text-decoration: none;
    font-size: 1.2rem;
    color: #3f812e;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding: 10px;
    border-radius: 10px;
}

.menu a:hover {
    background-color: rgba(241, 219, 110, 0.8);
    /* Fondo similar a los botones */
    color: #3f812e;
    /* Cambia el color del texto a blanco al hacer hover */
}

.txtEntrada {
    font-size: 1.5rem;
    text-align: center;
    max-width: 80%;
    margin: 10px auto;
    padding: 0px;
    background-color: transparent;
    border-radius: 10px;
}

.txtCondiciones {
    font-size: 1rem;
    text-align: center;
    max-width: 80%;
    margin: 5px auto;
    padding: 5px;
    background-color: transparent;
    border-radius: 10px;
}

.txtLibro {
    font-size: 1.8rem;
    text-align: left;
    width: 80%;
    margin: 0px;
    padding: 0px;
    background-color: transparent;
    /*border-radius: 10px;
    border-left: 2px solid #dd7251; */
}

.contenido {
    /* width: 40%; */
    display: flex;
    justify-content: center;
    /* margin: 5px auto;
    padding: 5px; */
    align-items: center;
}

.columna {
    display: flex;
    flex-direction: column;
}

.botones {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;

}

.botones button {
    min-width: 190px;
    padding: 10px 15px;
    font-size: 1.2rem;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    border-radius: 10px;
    background-color: rgba(241, 219, 110, 0.5);
    /* Color de fondo original */
    border: none;
    transition: background-color 0.3s ease;
    color: #000;
    /* Color de texto para mejor contraste, ajustable */
}

.botones button:hover {
    background-color: rgba(241, 219, 110, 1);
    /* Hover como antes */
}

.contacto {
    text-align: right;
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.contacto p {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.5;
}

.librosPublicados {
    background-color: transparent;
    margin-top: 20px;
    padding-left: 50px;
    width: 70%;
    text-align: left;
    position: relative;
    border: 2px solid #5d4037;
    /* Borde marrón oscuro */
    border-radius: 10px;
    padding-top: 30px;
    font-size: 1.5rem;
}

/* Título fuera del borde */
.librosPublicados h2 {
    font-size: 1.6rem;
    font-weight: bold;
    color: #3f812e;
    position: absolute;
    top: -20px;
    /* Coloca el título fuera del borde */
    left: 20px;
    margin: 0;
    background-image: url("/img/fondo.png");
    /* Fondo transparente */
}

.librosPublicados a {
    font-size: 1.5rem;
    text-decoration: none;
    color: #dd7251;
    font-weight: bold;
    transition: color 0.3s ease;
}

.librosPublicados a:hover {
    color: rgb(233, 159, 20);
}

.descargas {
    color: #000;
    text-decoration: none;
}

.donativos {
    width: 70%;
    text-align: center;
}

.correo {
    font-size: 1.2rem;
    text-decoration: none;
    color: #080808;
    width: 80%;
}

.correo a:hover {
    color: #c04722
}