* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: Arial, sans-serif;
    background-color: #fff;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

.text-content {
    max-width: 600px;
    padding-right: 20px;
}

.name {
    font-size: 1.2rem;
    color: #333;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.title {
    font-size: 3rem;
    font-weight: bold;
    color: #111;
    line-height: 1.2;
}

.description {
    font-size: 0.9rem;
    color: #888;
    margin-top: 20px;
    line-height: 1.6;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.image-content {
    max-width: 400px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.image-content img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Añade una sombra suave */
    max-height: 500px; /* Limita la altura máxima para que no sea demasiado grande en pantallas grandes */
}

/* Sección de Redacción */
.about-section {
    max-width: 800px;
    width: 100%;
    text-align: center;
    margin-top: 40px;
    padding: 20px;
}

.about-section p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* Sección de Redes Sociales con Iconos de Contorno Gris */
.social-media {
    max-width: 800px;
    width: 100%;
    text-align: center;
    margin-top: 40px;
    padding: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    text-decoration: none;
    color: transparent; /* Color del relleno transparente */
    font-size: 1.8rem;
    transition: color 0.3s ease, border 0.3s ease;
    border: 2px solid #888; /* Borde gris alrededor del icono */
    border-radius: 50%; /* Hacer el borde circular */
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-link i {
    color: #888; /* Color gris para el contorno del icono */
}

.social-link:hover {
    color: #555; /* Cambia el color del borde y el icono en hover */
    border-color: #555;
}

.social-link:hover i {
    color: #555; /* Cambia también el color del ícono en hover */
}

/* Botón para volver a la página de inicio */
.back-to-home {
    width: 100%;
    text-align: center;
    margin-top: 40px;
    padding: 20px;
}

.home-button {
    text-decoration: none;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.home-button:hover {
    background-color: #555;
}

/* Responsividad */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .text-content {
        padding-right: 0;
        max-width: 100%;
    }

    .title {
        font-size: 2.5rem;
    }

    .name {
        font-size: 1rem;
    }

    .description {
        font-size: 0.8rem;
    }

    .image-content {
        margin-top: 20px;
        max-width: 80%; /* Reduce la anchura de la imagen para adaptarse mejor en pantallas pequeñas */
    }

    .about-section, .social-media {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }

    .name {
        font-size: 0.9rem;
    }

    .description {
        font-size: 0.7rem;
    }

    .about-section p {
        font-size: 0.9rem;
    }

    .social-link {
        font-size: 1.5rem;
    }

    .image-content {
        max-width: 90%; /* Ajusta el ancho de la imagen para que se adapte a pantallas muy pequeñas */
    }
}
