/* Estilos generales */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #f0f2f5;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
}

/* Contenedor principal de la tarjeta de perfil */
.profile-container {
    margin: 100px auto;
    display: flex;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
    transition: box-shadow 0.3s ease;
}

.profile-container:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Sección de la imagen de perfil */
.image-section {
    flex-shrink: 0;
    margin-right: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 0px solid #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
}

/* Sección de contenido (texto e iconos) */
.content-section {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.header {
    margin-top: 20px;
}

.header h1 {
    font-size: 2em;
    margin: 0;
    color: #2c3e50;
}

.header p {
    margin: 5px 0 0;
    color: #7f8c8d;
    font-size: 1em;
}

/* Botón "Read my blog" */
.blog-button {
    display: inline-flex;
    align-items: center;
    background-color: #34495e;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 20px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.blog-button:hover {
    background-color: #2c3e50;
    transform: translateY(-2px);
}

.blog-button .fas {
    margin-right: 10px;
    font-size: 1em;
}

/* Texto de la sección "About me" */
.about-me {
    margin-bottom: 20px;
    font-size: 1em;
    line-height: 1.6;
    color: #555;
}

/* Títulos de sección (WORK, EDUCATION) */
.section-title {
    font-size: 0.8em;
    color: #bdc3c7;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 5px;
    letter-spacing: 1px;
    border-bottom: 1px solid #ecf0f1;
    padding-bottom: 5px;
}

.section-content {
    margin-bottom: 20px;
    color: #555;
}

/* Enlaces de redes sociales */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ecf0f1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #7f8c8d;
    font-size: 1.2em;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.social-link:hover {
    background-color: #3498db;
    color: #fff;
}

/* Media query para pantallas pequeñas (móviles) */
@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        text-align: center;
    }

    .image-section {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .content-section {
        align-items: center;
    }

    .header, .about-me, .section-title, .section-content {
        text-align: center;
    }
}