header{
    display: flex;
    background-color: #2c3e50;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}
nav{
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
nav a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 1.1rem;
    font-weight: 500; 
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}
nav a:hover{
    color: #3498db;
    border-bottom-color: #3498db;
}
nav a.activo{
    color: #3498db;
    border-bottom-color: #3498db;
}
.perfil{
    margin-top: 10px;
    text-align: center;
    padding: 2rem;
}
.perfil img{
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #3498db;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.perfil h1{
    margin: 1rem 0 0.5rem;
    color: #2c3e50;
}
.perfil h2{
    margin: 1.2rem;
    font-weight: normal;
    color: #3498db;
}
.perfil p{
    color: #666;
    max-width: 400px;
    margin: auto;
}

section{
    background-color: rgb(255, 255, 255);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}
section:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

section h3{
    color: #2c3e50;
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 1rem;
    border-left: 4px solid #3498db;
    border-radius: 0 10px 10px 0 ;
    padding-left: 12px;
    text-transform:capitalize;
}
section ul{
    list-style: none;
    padding-left: 0;
}

section li{
    padding: 6px 0;
    border-bottom: 1px dashed #ecf0f1;
}
section li:last-child{
    border-bottom: none;
}
.contacto li{
    display: flex;
    align-items:center;
    gap: 8px;
}
.habilidades li{
    display: inline-block;
    background-color: #e9ecef;
    border-radius: 20px;
    padding: 5px 12px;
    border: none;
    font-size: 0.9rem;
}


footer{
    background-color: #2c3e50;
    color: #151f27;
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
    font-size: 0.85rem;
    border-top: 3px solid #3498db;
}
footer p{
    margin: 0.3rem 0;
}
footer:hover{
    background-color: #1e2b36;
    transition: background-color 0.3s;
}
.herramientas{
    margin-top: 12px;
}
.herramientas h1{
    color: #2c3e50;
    font-size: 1.8rem;
    border-bottom: 3px solid #3498db;
    display: inline-block; /* Agrega una linea abajo junto border botom */
    padding-bottom: 5px;
}
.herramientas h2{
    color: #34495e;
    font-size: 1.6rem;
    margin-top: 0;
    border-left: 3px solid #3498db;
    padding-left: 12px;
}
.skill{
    margin-bottom: 1rem;
}
.skill p{
    margin: 0 0 5px 0;
    font-weight: bold;
    color: #2c3e50;
}
progress{
    width: 100%;
    height: 12px;
    border-radius: 10px;
    overflow: hidden;
}
::-webkit-progress-bar{
    background-color: #ecf0f1;
    border-radius: 10px;
}
::-webkit-progress-value{
    background-color: #3498db;
    border-radius: 10px;
}
.proyectos h2{
    color: #2c3e50;
    font-size: 1.8rem;
    border-bottom: 3px solid #3498db;
    display: inline-block; /* Agrega una linea abajo junto border botom */
    padding-bottom: 5px;
}
.formacion{
    margin: 1rem 0 0.5rem;
    color: #2c3e50;
}

