
.habilidades-apartados {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 24px;
}
.habilidades-bloque {
    flex: 1 1 320px;
    background: #f7f8fa;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(35,42,52,0.06);
    padding: 28px 28px 18px 28px;
    min-width: 260px;
    margin-bottom: 12px;
}
.habilidades-bloque h3 {
    margin-top: 0;
    font-size: 1.18rem;
    color: #232a34;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}
.habilidades-bloque ul {
    margin: 0;
    padding-left: 18px;
    font-size: 1.04rem;
    color: #333;
    list-style: disc inside;
}
.habilidades-bloque ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}
.sidebar-photo {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 18px rgba(35,42,52,0.15);
    border: 4px solid #fff;
    background: #e0e0e0;
    display: block;
    margin: 0 auto 28px auto;
    aspect-ratio: 1/1;
    transition: box-shadow 0.3s;
}
.sidebar-photo:hover {
    box-shadow: 0 8px 32px rgba(35,42,52,0.18);
}

@media (max-width: 900px) {
    .sidebar-photo {
        width: 72px;
        height: 72px;
    }
}

@media (max-width: 600px) {
    .sidebar-photo {
        width: 48px;
        height: 48px;
    }
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f6f7fa;
    color: #232a34;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.sidebar-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 240px;
    background: #232a34;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 0 0 0;
    box-shadow: 2px 0 16px rgba(35,42,52,0.07);
    z-index: 10;
    min-height: 100vh;
    position: relative;
}
.sidebar-header {
    margin-bottom: 40px;
}
.sidebar-logo {
    font-size: 2.1rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
    background: #2e3642;
    border-radius: 12px;
    padding: 8px 24px;
    box-shadow: 0 2px 8px rgba(35,42,52,0.10);
}
.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}
.sidebar-nav .nav-btn {
    background: none;
    color: #cfd8dc;
    border: none;
    border-radius: 8px 0 0 8px;
    padding: 14px 24px 14px 32px;
    font-size: 1.08rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: background 0.22s, color 0.22s, box-shadow 0.22s;
    outline: none;
    position: relative;
}
.sidebar-nav .nav-btn .icon {
    font-size: 1.18rem;
    opacity: 0.82;
}
.sidebar-nav .nav-btn .nav-label {
    font-size: 1.08rem;
    letter-spacing: 0.2px;
}
.sidebar-nav .nav-btn:hover, .sidebar-nav .nav-btn.active {
    background: #fff;
    color: #232a34;
    box-shadow: 2px 2px 12px rgba(35,42,52,0.08);
}
.sidebar-nav .nav-btn.active .icon {
    color: #2e3642;
}

.main-interface {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: none;
}
.sidebar-header-mobile {
    display: none;
}

.main-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
    background: linear-gradient(120deg, #232a34 0%, #3a4250 100%);
    opacity: 0.10;
    pointer-events: none;
}

.main-interface {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    display: none;
}

header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
}

.main-nav .nav-btn {
    background: #f7f8fa;
    color: #232a34;
    border: none;
    border-radius: 22px;
    padding: 12px 32px;
    font-size: 1.13rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(35,42,52,0.10);
    transition: background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.18s;
    outline: none;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}
.main-nav .nav-btn:hover, .main-nav .nav-btn.active {
    background: #232a34;
    color: #fff;
    box-shadow: 0 6px 24px rgba(35,42,52,0.18);
    transform: translateY(-2px) scale(1.04);
}
.main-nav .nav-btn:active {
    transform: scale(0.98);
}

header h1 {
    margin: 0 0 10px 0;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.2s;
}

nav a:hover {
    color: #ffb300;
}

.section {
    padding: 48px 0 40px 0;
    background: #fff;
    margin-bottom: 36px;
    box-shadow: 0 4px 32px rgba(35,42,52,0.07), 0 1.5px 8px rgba(35,42,52,0.04);
    border-radius: 24px;
    position: relative;
    min-height: 220px;
    opacity: 1;
    transition: opacity 0.5s cubic-bezier(.4,0,.2,1), transform 0.5s cubic-bezier(.4,0,.2,1);
    max-width: 900px;
    margin-left: 48px;
}
.animated-section {
    opacity: 0;
    transform: translateX(60px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.7s cubic-bezier(.4,0,.2,1), transform 0.7s cubic-bezier(.4,0,.2,1);
}
.animated-section.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
    z-index: 2;
    box-shadow: 0 8px 32px rgba(35,42,52,0.10);
}

.container {
    width: 92%;
    max-width: 900px;
    margin: 0 auto;
}

#sobre-mi .profile {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.profile-photo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 6px 32px rgba(35,42,52,0.13);
    border: 5px solid #fff;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #888;
    margin: 0 32px 0 0;
    aspect-ratio: 1/1;
    transition: box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}
.profile-photo img.profile-photo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.profile-photo:hover {
    box-shadow: 0 12px 40px rgba(35,42,52,0.18);
}

#habilidades ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    padding-left: 20px;
    margin-top: 18px;
}

.job {
    margin-bottom: 30px;
    background: #f7f8fa;
    border-radius: 14px;
    padding: 18px 22px 12px 22px;
    box-shadow: 0 2px 8px rgba(35,42,52,0.04);
    border-left: 4px solid #232a34;
}

footer {
    background: #232a34;
    color: #fff;
    text-align: center;
    padding: 18px 0;
    font-size: 1rem;
    margin-top: 30px;
    box-shadow: 0 -2px 8px rgba(35,42,52,0.07);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

@media (max-width: 900px) {
    .profile-photo {
        width: 140px;
        height: 140px;
        margin: 0 0 24px 0;
    }
    .sidebar {
        width: 64px;
        padding: 24px 0 0 0;
    }
    .sidebar-logo {
        font-size: 1.3rem;
        padding: 6px 10px;
    }
    .sidebar-nav .nav-btn {
        padding: 12px 10px 12px 10px;
        font-size: 0.98rem;
        gap: 0;
        justify-content: center;
    }
    .sidebar-nav .nav-btn .nav-label {
        display: none;
    }
    .section {
        margin-left: 0;
    }
}

@media (max-width: 600px) {
    .profile-photo {
        width: 88px;
        height: 88px;
        margin: 0 0 18px 0;
    }
    .sidebar-layout {
        flex-direction: column;
    }
    .sidebar {
        display: none;
    }
    .sidebar-header-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #232a34;
        color: #fff;
        padding: 12px 0;
        box-shadow: 0 2px 8px rgba(35,42,52,0.10);
    }
    .main-interface {
        padding-top: 0;
    }
    .section {
        margin-left: 0;
        padding: 24px 0 16px 0;
    }
}
