*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

body{
    background:#f5f5f5;
    color:#333;
    line-height:1.6;
}

.container{
    max-width:1200px;
    margin:40px auto;
    background:white;
    display:grid;
    grid-template-columns:320px 1fr;
    box-shadow:0 5px 20px rgba(0,0,0,0.1);
}

.sidebar{
    background:#2d3748;
    color:white;
    padding:40px 30px;
}

.sidebar h1{
    font-size:2rem;
    margin-bottom:10px;
}

.sidebar h2{
    font-size:1rem;
    font-weight:400;
    color:#cbd5e0;
    margin-bottom:40px;
}

.profile-photo-container{
    width:170px;
    height:170px;
    margin:25px auto;
    border-radius:50%;
    overflow:hidden;
    border:4px solid #ffffff;
    box-shadow:0 4px 12px rgba(0,0,0,.3);
}

.profile-photo{
    width:100%;
    height:100%;
    object-fit:cover;

    /* Ajusta el zoom aquí */
    transform:scale(1.40);

    /* Cambia el punto desde el que hace el zoom */
    object-position:center 20%;

    transition:0.3s;
}

.contact{
    margin-top:30px;
}

.contact h3,
.languages h3{
    margin-bottom:15px;
    text-transform:uppercase;
    letter-spacing:1px;
}

.contact p,
.languages li{
    margin-bottom:10px;
    font-size:0.95rem;
}

.languages ul{
    list-style:none;
}

.main{
    padding:40px;
}

.section{
    margin-bottom:40px;
}

.section h2{
    color:#2d3748;
    margin-bottom:15px;
    border-bottom:2px solid #e2e8f0;
    padding-bottom:8px;
}

.profile p{
    margin-bottom:15px;
}

.education-item{
    margin-bottom:20px;
}

.education-item h4{
    color:#2d3748;
}

.education-item span{
    color:#666;
    font-size:0.9rem;
}

.skills ul{
    padding-left:20px;
}

.skills li{
    margin-bottom:10px;
}

.contact a{
    color:#ffffff;
    text-decoration:underline;
    text-underline-offset:3px;
    transition:.3s;
}

.contact a:visited{
    color:#ffffff;
}

.contact a:hover{
    color:#63b3ed;
}

.contact a:active{
    color:#63b3ed;
}

@media(max-width:900px){

    .container{
        grid-template-columns:1fr;
    }

    .sidebar{
        text-align:center;
    }

}