* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.header {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-bottom: 2px solid #eaeaea;
}

.header h1 {
    font-size: 2rem;
    color: #333;
}

.header p {
    font-size: 1.2rem;
    color: #555;
}

.section {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: auto;
}

.texto {
    padding: 3rem 1rem;
    max-width: 50em;
    margin: auto;
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #222;
}

.logo {
    width: 10rem;
}
.services {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.service {
    background-color: #fff;
    padding: 2rem;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    width: 30%;
}

.service h3 {
    margin-bottom: 1rem;
    color: #333;
}

.service p {
    color: #555;
}

.books-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.book {
    background-color: #fff;
    padding: 1rem;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    width: 30%;
    text-align: center;
    margin-bottom: 2rem;
}

.book img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    margin-top: 1rem;
    border-radius: 5px;
}

.content-links {
    display: flex;
    justify-content: space-around;
}

.content-links a {
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
}

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

.social-links a {
    margin: 0 1rem;
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
}

.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

*/

/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.header {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-bottom: 2px solid #eaeaea;
}

.header .logo {
    width: 150px;
    margin-bottom: 1rem;
}

.header h1 {
    font-size: 2rem;
    color: #333;
}

.header p {
    font-size: 1.1rem;
    color: #555;
}

/* Sección */
.section {
    padding: 3rem 1rem;
    max-width: 1200px;
    margin: auto;
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #222;
}

.services {
    display: flex;
    justify-content: space-around;
    text-align: center;
    gap: 1.5rem;
}

.service {
    background-color: #fff;
    padding: 2rem;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    width: 30%;
}

.service h3 {
    margin-bottom: 1rem;
    color: #333;
}

.service p {
    color: #555;
}

/* Galería de libros */
.books-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 1.5rem;
}

.book {
    background-color: #fff;
    padding: 1rem;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    width: 30%;
    text-align: center;
}

.book img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    margin-top: 1rem;
    border-radius: 5px;
}

/* Redes Sociales */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-icon {
    font-size: 1.5rem;
    color: #333;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #0073b1; /* Ejemplo para LinkedIn */
}

/* Pie de página */
.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

/* Estilos Responsive */
@media (max-width: 768px) {
    .services, .books-gallery {
        flex-direction: column;
        align-items: center;
    }

    .service, .book {
        width: 80%;
    }

    .header h1 {
        font-size: 1.8rem;
    }

    .header p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.5rem;
    }

    .header p {
        font-size: 0.9rem;
    }

    .service, .book {
        width: 90%;
    }

    h2 {
        font-size: 1.8rem;
    }

    .social-icon {
        font-size: 1.2rem;
    }
}