*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Poppins', sans-serif;
    background-color: #0f172a;
    color: #e2e8f0;
    line-height: 1.6;
    padding-top: 120px;
}

/*Navbar*/

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 1rem 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(6, 182, 212, 0.2);
}

.navbar .left h2{
    color: aliceblue;
}

.navbar .center ul{
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.navbar .center a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.navbar .center a::after{
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #06b6d4;
    transition: width 0.3s ease;
}

.navbar .center a:hover{
    color: #06b6d4
}

.navbar .center a:hover::after {
    width: 100%;
}

.navbar .right ul{
    list-style-type: none;
    display: flex;
    gap: 1.5rem;
}

.navbar .right a{
    color: #e2e8f0;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid #64748b;
}

.navbar .right a:hover{
    border-color: #06b6d4;
    color: #06b6d4;
    background-color: rgba(6, 182, 212, 0.1);
    transform: translate(-2px);
}


/*Presentation*/

.presentation{
    min-height: 70vh;
    display: flex;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.presentation-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.presentation img{
    width: 300PX;
    height: 300px;
    object-fit: cover;
    border-radius: 150%;
}

.presentation-description {
    color: #cbd5e1;
    line-height: 1.6;
}

.presentation-links{
    margin-top: 50px;
    text-decoration: none;
    list-style: none;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.presentation-links a {
    color: #06b6d4;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border: 1px solid #06b6d4;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.presentation-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/*Proyectos*/

.projects{
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.project-card {
    border: 1px solid #06b6d4;
    padding: 2rem;
    border-radius: 12px;
    background: rgba(6, 182, 212, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-card h3 {
    font-size: 1.5rem;
    color: #f1f5f9;
}

.project-card p {
    color: #cbd5e1;
}

.project-techs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-card a{
    text-decoration: none;
    color: #ffffff;
}

.tech {
    background-color: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.projects-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.projects-footer{
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.btn-ver-mas {
    text-decoration: none;
    background-color: rgba(6, 182, 212, 0.1);
    color: #ffffff;
    padding: 0.50rem 0.75rem;
    font-size: 1rem;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.btn-ver-mas:hover{
    text-decoration: none;
    background-color: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
    padding: 0.50rem 0.75rem;
    font-size: 1rem;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

/*Tecnologías*/

.skills{
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.tech-grid {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.tech-card {
    border: 1px solid #06b6d4;
    padding: 2rem;
    border-radius: 12px;
    background: rgba(6, 182, 212, 0.05);
}

.tech-card h3 {
    color: #06b6d4;
    margin-bottom: 1rem;
}

.tech-card ul {
    list-style: none;
}

.tech-card li {
    color: #cbd5e1;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(6, 182, 212, 0.1);
}

.languages {
    border: 1px solid #06b6d4;
    padding: 2rem;
    border-radius: 12px;
    background: rgba(6, 182, 212, 0.05);
    text-align: center;
}

.languages h2 {
    color: #06b6d4;
    margin-bottom: 1rem;
}

.languages p {
    margin-top: 1rem;
    color: #cbd5e1;
    margin: 0.5rem 0;
}

/*Certificados*/

.certificates{
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.certificates-grid {
    display: grid;
    margin-top: 1.5rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.certificates-card {
    border: 1px solid #06b6d4;
    padding: 2rem;
    border-radius: 12px;
    background: rgba(6, 182, 212, 0.05);
    text-decoration: none;
}

.certificates-card a{
    display: inline-block;
    text-align: center;
    text-decoration: none;
    background-color: rgba(13, 226, 180, 0.1);
    color: #ffffff;
    padding: 0.20rem 0.50rem;
    font-size: 1rem;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.certificates-card a:hover{
    text-decoration: none;
    background-color: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
    padding: 0.20rem 0.50rem;
    font-size: 1rem;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.certificates-card h3 {
    color: #f1f5f9;
    margin-bottom: 1rem;
}

.certificates-card p {
    color: #cbd5e1;
    margin: 0.5rem 0;
}

.certificates-date {
    color: #94a3b8;
    font-size: 0.9rem;
}

.certificates-footer{
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.certificate-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin: 1rem 0;
}


@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }

    .navbar {
        padding: 0.75rem;
        flex-wrap: wrap;
    }

    .navbar .left h2 {
        font-size: 1rem;
        width: 100%;
    }

    .navbar .center ul {
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .navbar .center a {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

    .navbar .right {
        display: none;
    }

    .presentation {
        flex-direction: column;
        padding: 1rem;
        padding-top: 2rem;
    }

    .presentation img {
        width: 150px;
        height: 150px;
    }

    .presentation-content h1 {
        font-size: 1.8rem;
    }

    .presentation-description {
        font-size: 0.95rem;
    }

    .presentation-links {
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .presentation-links a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .project-card h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .navbar .center ul {
        gap: 0.25rem;
    }

    .navbar .center a {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }

    .presentation-content h1 {
        font-size: 1.5rem;
    }

    .presentation-links a {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .projects h2 {
        font-size: 1.5rem;
    }

    .skills h2 {
        font-size: 1.5rem;
    }
}