/* Importar una fuente de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');

/* Estilos Generales */
body {
    font-family: 'Lato', sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    color: #333;
}

.resume-container {
    display: flex;
    width: 900px;
    max-width: 100%;
    margin: 30px auto;
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    position: relative; /* Clave para posicionar la imagen de perfil */
}

/* Columna Izquierda */
.left-column {
    background-color: #2c3e50; /* Un azul oscuro/grisáceo */
    color: #fff;
    padding: 40px;
    width: 35%;
    padding-top: 180px; /* Espacio para la foto */
}

.profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 8px solid #fff;
    position: absolute;
    top: 40px;
    left: calc(35% - 100px); /* Centra la imagen en la línea divisoria */
    z-index: 10;
}

.left-column h2 {
    color: #fff;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #3498db;
    padding-bottom: 5px;
}

.contact ul, .skills ul {
    list-style-type: none;
    padding: 0;
}

.contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact i {
    margin-right: 15px;
    color: #3498db; /* Color de acento para los iconos */
    width: 20px;
    text-align: center;
}

.about p, .skills li {
    line-height: 1.6;
    font-size: 0.95em;
}

.skills li {
    margin-bottom: 10px;
}

/* Columna Derecha */
.right-column {
    width: 65%;
    padding: 40px;
}

.right-column header {
    margin-bottom: 40px;
    text-align: center;
}

.right-column h1 {
    margin: 0;
    font-size: 2.8em;
    color: #2c3e50;
    font-weight: 700;
}

.right-column header p {
    margin: 5px 0 0;
    font-size: 1.2em;
    color: #3498db;
}

.right-column h2 {
    text-transform: uppercase;
    color: #3498db;
    font-size: 1.4em;
    border-bottom: 2px solid #2c3e50;
    padding-bottom: 5px;
    margin-bottom: 20px;
}

.job, .education-item {
    margin-bottom: 25px;
}

.job-header, .item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 5px;
}

.right-column h3, .right-column h4 {
    margin: 0;
    font-size: 1.1em;
    color: #2c3e50;
    font-weight: 700;
}

.date {
    font-weight: bold;
    color: #555;
    font-size: 0.9em;
    white-space: nowrap; /* Evita que la fecha se parta */
}

.company, .institution {
    margin: 0;
    font-style: italic;
    color: #555;
}

section {
    margin-bottom: 40px;
}