body {
    background: #1e1e1e;
    font-family: 'Montserrat', Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #fff;
    line-height: 1.6;
}

.div-dowload {
    text-align: center;
}

.container {
    margin: 0;
    padding: 0;
    position: relative;
}

/* Header y navegación */
header {
    padding: 15px 0;
    background: #1e1e1e;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Añadir un espacio para compensar el header fijo */
body {
    padding-top: 70px;
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    color: #1de9b6;
    font-size: 24px;
    font-weight: 700;
}

.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li {
    margin-left: 20px;
}

.menu a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
}

.menu a:hover {
    color: #1de9b6;
}

/* Secciones */
section {

    /* position: relative; */
    /* background: #1e1e1e; */
    margin-bottom: 30px;
    margin: auto;

}

.section1 {
    padding: 60px 30px;
    width: 100%;
}

.section2 {
    padding: 60px 30px;
    background-color: #2b2929;
    width: 100%;
}

.section-icon {
    width: 50px;
    height: 50px;
    background: #1de9b6;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    color: #1e1e1e;
    font-size: 20px;
}

/* Perfil */
.profile-section {
    text-align: center;
    background: #2b2929;
    padding-top: 40px;
    width: 100%;
    padding: 60px 20px;
}

.profile {
    text-align: center;
    margin-bottom: 32px;
}

.profile-image-container {
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
    position: relative;
    border-radius: 50%;
    background: #1de9b6;
    padding: 5px;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #1e1e1e;
    object-fit: cover;
    object-position: 50% bottom;

}

.profile-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 15px 0 5px;
    text-transform: uppercase;
}

.profile-title {
    font-size: 1.1rem;
    color: #b2dfdb;
    margin-bottom: 20px;
}

.social-links {
    margin: 20px 0;
}

.social-links a {
    color: #fff;
    margin: 0 8px;
    font-size: 18px;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.social-links a:hover {
    color: #1de9b6;
    background: rgba(29, 233, 182, 0.1);
}

/* Títulos de sección */
h2.section-title {
    text-align: center;
    margin: 0 0 30px;
    font-size: 2rem;
    letter-spacing: 1px;
    color: #fff;
    text-transform: uppercase;
    position: relative;
}

h2.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #1de9b6;
    margin: 15px auto 0;
}

/* About */




.about {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;

    /* margin-left: auto; */
    /* margin-right: auto; */
}

.details {
    display: flex;

    justify-content: space-between;
    margin-bottom: 40px;
    gap: 20px;
}

.personal-details,
.interests {
    width: 48%;
    background: #252525;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.personal-details h3,
.interests h3 {
    color: #1de9b6;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.personal-details ul,
.interests ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.personal-details li {
    margin-bottom: 15px;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.personal-details span {
    color: #1de9b6;
    font-weight: 600;
    margin-right: 10px;
    min-width: 100px;
}

.interests ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.interests li {
    width: calc(50% - 10px);
    margin-bottom: 15px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.interests li i {
    color: #1de9b6;
    margin-right: 10px;
    font-size: 18px;
    width: 25px;
    text-align: center;
}

.download-btn {
    display: inline-block;
    margin: 0 auto;
    background: #1de9b6;
    color: #1e1e1e;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
    text-align: center;
}

.download-btn i {
    margin-right: 8px;
}

.download-btn:hover {
    background: #00bfa3;
}

/* Skills */

.skills {
    width: 100%;
    background-color: #2b2929;
}

.skills-section {
    display: flex;
    justify-content: space-between;
    gap: 20px;

}


.skills-list {
    width: calc(50% - 10px);
    background: #252525;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.skills-list h3 {
    color: #1de9b6;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.skills-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skills-list li {
    color: #fff;
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.skills-list li::before {
    content: '•';
    color: #1de9b6;
    position: absolute;
    left: 0;
    font-size: 20px;
    line-height: 1;
}


.portfolio-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.portfolio-card {
    display: flex;
    background: #252525;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-image {
    flex: 0 0 40%;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-content {
    flex: 1;
    padding: 25px;
}

.portfolio-content h3 {
    color: #1de9b6;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.portfolio-content p {
    margin-bottom: 20px;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.portfolio-tags span {
    background: rgba(29, 233, 182, 0.1);
    color: #1de9b6;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.portfolio-btn {
    display: inline-block;
    background: #1de9b6;
    color: #1e1e1e;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.portfolio-btn:hover {
    background: #00bfa3;
}

/* Contact */
.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.contact-info,
.contact-form {
    width: calc(50% - 15px);
    background: #252525;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h3,
.contact-form h3 {
    color: #1de9b6;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info li i {
    color: #1de9b6;
    margin-right: 15px;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 90%;
    padding: 12px 15px;
    background: #1e1e1e;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background: #1de9b6;
    color: #1e1e1e;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-btn:hover {
    background: #00bfa3;
}

/* Responsive */
@media (max-width: 768px) {
    .menu {
        display: none;
    }



    .details,
    .skills-section {
        flex-direction: column;
    }

    .interests,
    .personal-details {
        width: 80%;
        white-space: normal;
        overflow: scroll;
    }

    .skills-list {
        width: 80%;
    }

    .interests li {
        width: 80%;
    }

    .portfolio-card {
        flex-direction: column;
    }

    .portfolio-image {
        flex: 0 0 200px;
    }

    .contact-container {
        flex-direction: column;
    }

    .contact-info,
    .contact-form {
        width: 80%;
    }
}