body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: linear-gradient(135deg, #00D4FF, #3B38FF, #8F2EFF);
    color: white;
    min-height: 100vh;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: 400% 400%;
    animation: gradientAnimation 15s ease infinite;
}

@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 800px;
    width: 100%;
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 400;
    opacity: 0.9;
}

.tagline {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-style: italic;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.section-title {
    font-size: 1.5rem;
    margin: 2rem 0 1.5rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.portfolio-btn {
    background-color: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1.2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.portfolio-btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

@keyframes button-pulse {
            0% { box-shadow: 0 0 0 0 rgba(59,56,255,0.4); }
            70% { box-shadow: 0 0 0 10px rgba(59,56,255,0); }
            100% { box-shadow: 0 0 0 0 rgba(59,56,255,0); }
        }

/* Efecto de brillo para portfolio-btn */
        .portfolio-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: all 0.5s ease;
        }


.portfolio-btn:hover::before {
            left: 100%;
        }

.btn-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}
 .portfolio-btn:hover .btn-icon {
            transform: scale(1.1); /* Pequeño rebote del icono */
        }
        .portfolio-btn:hover .btn-icon {
            transform: scale(1.1); /* Pequeño rebote del icono */
        }

.contact-section {
    margin-top: 3rem;
    text-align: center;
}

.contact-link {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    margin: 0.5rem 0;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #00D4FF; /* Cambia el color al pasar el cursor */
}

.section-title-contact {
    color: white; /* Asegura que el color no cambie */
}

@media (max-width: 600px) {
    body {
        padding: 1rem;
    }
    .container {
        padding: 1.5rem;
    }
    h1 {
        font-size: 2rem;
    }
    .button-grid {
        grid-template-columns: 1fr;
    }
}
