html {
    scroll-behavior: smooth;
}

body {
    background-color: #000000;
    color: #B0BEC5;
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin: 0;
    padding: 0;
}

/*INICIO*/
.header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.menu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #FF007F;
    background-color: #111111;
    padding: 10px 40px;
    flex-wrap: wrap;
}

.titulo {
    color: #FF007F;
    font-size: 1.5rem;
    margin: 0;
}

.nav-bg {
    width: auto;
}

.navegacion-principal {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.navegacion-principal a {
    color: #B0BEC5;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    padding: 0.8rem;
    transition: all 0.3s ease-in-out;
    white-space: nowrap;
}

.navegacion-principal a:hover {
    background-color: #FF007F;
    border-radius: 10px;
    transform: translateY(-3px);
}

.navegacion-principal a i {
    margin-right: 8px; 
    font-size: 1rem;
    color: #FF007F; 
    transition: color 0.3s ease-in-out;
}

.navegacion-principal a:hover i {
    color: #B0BEC5; 
}

.home {
    position: relative;
    background: url(images/Fondo.jpg) no-repeat center center fixed;
    background-size: cover;
    min-height: 50vh;
    margin-bottom: 2rem;
    color: #B0BEC5;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
    padding: 50px;
    box-sizing: border-box;
}

.home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 0, 0, 0.810); 
    z-index: 1;
}

.contenido-home {
    text-align: center; 
    z-index: 2;
    padding: 20px;
    flex: 1 1 300px;
}

.nombre {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #FF007F;
}

.contenido-home p {
    font-size: 1.5rem;
    margin: 10px 0;
}

.imagen-home {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    flex: 1 1 300px;
    padding: 20px;
}

.imagen-home img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    max-width: 100%;
    border-radius: 50%;
    border: 3px solid #FF007F;
    transition: transform 0.4s ease-in-out;
    cursor: pointer;
    }
    
.imagen-home img:hover {
    transform: scale(1.05); 
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.6); 
}

.imagen-home img.loaded {
    animation: pulse 1.5s ease-in-out;
}

@media screen and (max-width: 1024px) {
    .menu-container {
        padding: 10px 20px;
    }
    
    .navegacion-principal {
        gap: 5px;
    }
    
    .navegacion-principal a {
        font-size: 1.1rem;
        padding: 0.6rem;
    }
    
    .contenido-home p {
        font-size: 1.3rem;
    }
}

@media screen and (max-width: 768px) {
    .menu-container {
        flex-direction: column;
        padding: 10px;
    }
    
    .titulo {
        margin-bottom: 10px;
    }
    
    .navegacion-principal a {
        font-size: 1rem;
        padding: 0.5rem;
    }
    
    .home {
        padding: 30px 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .contenido-home {
        margin-left: 0;
        max-width: 100%;
        order: 2;
    }
    
    .imagen-home {
        order: 1;
        margin-bottom: 20px;
        margin-right: 0;
    }
    
    .imagen-home img {
        width: 200px;
        height: 200px;
    }
}

@media screen and (max-width: 480px) {
    .navegacion-principal {
        flex-direction: column;
        align-items: center;
    }
    
    .navegacion-principal a {
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }
    
    .contenido-home p {
        font-size: 1.1rem;
    }
    
    .imagen-home img {
        width: 150px;
        height: 150px;
    }
    
    .nombre {
        font-size: 1.5rem;
    }
}
/*---*/

 
/*SOBRE MI*/
.about-me, .skills, .portfolio, .contact{                          
    background-color: #1a1a1a;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    max-width: 900px;
    margin: 40px auto;
    border: 2px solid #FF007F;
    text-align: center;
}

.about-me h2, .skills h2, .portfolio h2, .contact h2 {              
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #6EA8DA, #A678C2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    display: inline-block;
}

.mi-foto {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    flex: 1 1 300px;
    padding: 20px;
}

.mi-foto img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    max-width: 100%;
    border-radius: 50%;
    border: 3px solid #B0BEC5;
    transition: transform 0.4s ease-in-out;
    cursor: pointer;
    }
    
.mi-foto img:hover {
    transform: scale(1.05); 
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.6); 
}

.mi-foto img.load {
    animation: pulse 1.5s ease-in-out;
}

.dato h3, .interes h3, .formacion h3, .superior h3 {
    font-size: 1.8rem;
    text-align: center;
    padding: 10px;
    color: white;
    background: linear-gradient(45deg, #FF007F, #00FFFF);
    border-radius: 10px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.930);
}

.informacion-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap; 
}

.dato, .interes {
    background-color: #222;
    border-radius: 10px;
    color: #B0BEC5;
    padding: 30px;
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.5);
    text-align: center;
    max-width: 48%; 
    margin: 20px auto;
    transition: transform 0.3s ease-in-out;
}


.formacion, .superior {
    margin: 20px;
    padding: 30px;
    background: #222;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    transition: transform 0.3s ease-in-out;
}

.dato:hover, .interes:hover {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.7);
    transform: scale(1.05);

}

.formacion:hover, .superior:hover {
    box-shadow: 0 0 20px #B39DDB;
    transform: scale(1.05);
}

.dato ul, .interes ul, .formacion ul, .superior ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.dato li, .interes li, .formacion li, .superior li {            
    font-size: 1.2rem;
    padding: 8px;
    border-left: 7px solid #FF007F;
    background-color: rgba(255, 0, 127, 0.1);
    margin-bottom: 10px;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.dato li:hover, .interes li:hover, .formacion li:hover, .superior li:hover{
    background-color: rgba(0, 255, 255, 0.2);
    border-left: 5px solid #0033FF;
}

.dato i, .interes i, .formacion i, .superior i{
    font-size: 1.5rem;
    margin-right: 10px;
    color: #B39DDB;
    transition: color 0.3s ease-in-out;
}

.dato i:hover, .interes i:hover, .formacion i:hover, .superior i:hover {
    color: #00FFFF;
}

.container {
    max-width: 600px;
    margin: 50px auto;
}

.interes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    justify-content: center;
}

.interes-card {
    background: #333;
    padding: 5px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.2);
    text-align: center;
    cursor: pointer;
    width: 120px;
}

.interes-card:hover {
    background: #444;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.7);
}

.iconos-interes{
    margin-top: 10px;
    margin-left: 10px;
}

.interes-card p {
    font-size: 0.9rem;
    color: #B0BEC5;
    font-weight: bold;
}

.seminarios {
    margin: 15px 0 0 50px;
    padding: 0;
    position: relative;
}

.seminarios::before {
    content: "";
    position: absolute;
    left: -25px;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(to bottom, #FF007F, #00FFFF);
    border-radius: 3px;
}

.seminarios li {
    font-size: 1rem;
    padding: 8px 15px;
    margin-bottom: 8px;
    background-color: rgba(176, 190, 197, 0.05);
    border-radius: 5px;
    border-left: none;
    position: relative;
    transition: all 0.3s ease;
    list-style-type: none;
}

.seminarios li::before {
    content: "▹";
    position: absolute;
    left: -20px;
    color: #FF007F;
    font-size: 1.2rem;
}

.seminarios li:hover {
    background-color: rgba(0, 255, 255, 0.1);
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(255, 0, 127, 0.2);
}

.boton {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FF007F; 
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease-in-out;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    margin-top: 30px;
  }

  .boton:hover {
    background-color: #D6006E;
    transform: scale(1.05);
  }

  .boton:active {
    transform: scale(0.95);
  }



@media (max-width: 1024px) {
    .about-me, .skills, .portfolio, .contact {
        padding: 40px;
        margin: 30px auto;
    }
    .formacion, .superior {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .informacion-container {
        flex-direction: column;
    }
    .dato, .interes {
        max-width: 100%;
        margin: 15px 0;
    }
    .skills ul {
        columns: 2;
        column-gap: 30px;
    }
    .seminarios {
        margin-left: 30px;
    }
    .seminarios::before {
        left: -15px;
    }
    .contenedor-campos {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 740px) and (min-height: 360px) {
    .interes-grid {
        grid-template-columns: repeat(2, minmax(110px, 1fr));
        gap: 12px;
    }
    .interes-card {
        width: 100%;
        padding: 8px 5px;
        box-sizing: border-box;
    }
    .interes-card p {
        font-size: 0.82rem;
    }
    .mi-foto img {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .mi-foto img {
        width: 180px;
        height: 180px;
    }
    .skills ul {
        columns: 1;
    }
    .seminarios {
        margin-left: 20px;
    }
    .seminarios li {
        padding: 8px 10px;
        font-size: 0.95rem;
    }
    .boton {
        width: 100%;
        padding: 12px;
    }
    .footer p {
        font-size: 0.9rem;
    }
}

@media (max-width: 360px) {
    .about-me h2, .skills h2, .portfolio h2, .contact h2 {
        font-size: 2rem;
    }
    .dato h3, .interes h3, .formacion h3, .superior h3 {
        font-size: 1.5rem;
        padding: 8px;
    }
    .interes-grid {
        grid-template-columns: 1fr;
    }
    .interes-card {
        max-width: 140px;
        margin: 0 auto;
    }
    .seminarios li::before {
        left: -15px;
        font-size: 1rem;
    }
    .nombre {
        font-size: 1.8rem;
    }
    .contenido-home p {
        font-size: 1.1rem;
    }
}
/*---*/

/*HABILIDADES*/
.skills-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 40px;
    justify-content: center;
}

.skill-group {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background: rgba(34, 34, 34, 0.8);
    border-radius: 15px;
    padding: 25px;
    border-top: 4px solid var(--accent-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.skill-group h3 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-group h3 i {
    font-size: 1.2em;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.skill-tag {
    background: rgba(176, 190, 197, 0.1);
    color: #B0BEC5;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 1rem;
    border: 1px solid var(--accent-color);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.skill-tag:hover {
    background: var(--accent-color);
    color: #111;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px color-mix(in srgb, var(--accent-color) 30%, transparent);
}

.skill-tag em {
    font-style: normal;
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 5px;
}

@media (max-width: 1024px) {
    .skills-cloud {
        gap: 20px;
    }
    .skill-group {
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .skills-cloud {
        flex-direction: column;
        align-items: center;
    }
    .skill-group {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .skill-tag {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    .skill-group h3 {
        font-size: 1.15rem;
    }
}

@media 
  (min-width: 360px) 
  and (max-width: 740px) 
  and (orientation: portrait) 
  and (-webkit-device-pixel-ratio: 4),
  (device-width: 360px) 
  and (device-height: 740px) {
  
    .skills-cloud {
        gap: 15px;
        padding: 0 10px;
        transform: scale(0.98); 
    }
    
    .skill-group {
        width: 95% !important;
        max-width: 95% !important;
        padding: 20px 15px !important;
        margin: 0 auto 10px !important;
    }
    
    .skill-tag {
        padding: 7px 12px !important;
        font-size: 0.81rem !important;
        white-space: nowrap; 
        display: inline-block;
        margin: 3px !important;
    }
    
    .skills-tags {
        justify-content: center !important;
        padding: 0 5px;
    }
    
    .skill-group h3 {
        font-size: 1.16rem !important;
        padding: 0 10px;
    }
    
}
@supports (-webkit-touch-callout: none) {
    .skill-tag {
        -webkit-transform: translateZ(0); 
    }
}

/*PORTAFOLIO*/
.portfolio {
    padding: 4rem 2rem;
    background: #111; 
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.portfolio h2 {
    color: #00FFFF;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.portfolio h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #00FFFF;
    margin: 0.5rem auto 0;
}

.project-card {
    width: 100%;
    max-width: 450px; 
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    background: #1a1a1a;
    margin: 0 auto;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.3);
}

.project-image {
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 85%;
    height: 75%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h3 {
    color: #00FFFF;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.project-tech span {
    display: inline-block;
    background: #00FFFF;
    color: #111;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.project-link {
    gap: 0.5rem;
    margin: 1rem 0;
}

/* Reemplaza estas clases en tu CSS */
.project-link a {
    display: inline-block;
    background: linear-gradient(135deg, #FF007F, #00FFFF);
    color: #111;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 255, 0.3);
    margin-top: 1rem;
}

.project-link a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 0, 127, 0.4);
    background: linear-gradient(135deg, #D6006E, #00D1D1);
}

.project-link a i {
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.project-link a:hover i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .project-card {
        max-width: 500px;
    }
    .project-image {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .project-card {
        max-width: 100%;
    }
    .project-image {
        height: 250px;
    }
    .project-overlay h3 {
        font-size: 1.5rem;
    }
} 



/*CONTACTO*/
.formulario-contacto {
    max-width: 400px;
    margin: 0 auto;
}

.formulario-contacto h2 {
    color: #00FFFF;
    text-align: center;
    margin-bottom: 1.8rem;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.grupo-campo {
    margin-bottom: 1.5rem;
    text-align: left;
}

.grupo-campo label {
    display: block;
    color: #B0BEC5;
    margin-bottom: 0.6rem;
    font-size: 1rem;
    font-weight: 500;
}

.contenedor-input {
    background: rgba(34, 34, 34, 0.8);
    border: 1px solid #444;
    border-radius: 8px;
    padding: 0 1rem;
    transition: all 0.3s ease;
}

.contenedor-input:hover {
    border-color: #00FFFF;
}

.contenedor-input input,
.contenedor-input textarea {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    padding: 0.9rem 0;
    font-size: 1rem;
    outline: none;
}

.contenedor-input textarea {
    height: 120px;
    resize: vertical;
    padding: 1rem 0;
}

.contenedor-input input::placeholder,
.contenedor-input textarea::placeholder {
    color: #666;
    opacity: 1;
}

.boton-enviar {
    width: 100%;
    background: linear-gradient(135deg, #FF007F, #00FFFF);
    color: #111;
    border: none;
    padding: 1rem;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.boton-enviar:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 0, 127, 0.4);
}


@media (max-width: 768px) {
    .contacto {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .contacto {
        padding: 20px;
    }
    .contacto h2 {
        font-size: 2rem;
    }
}
/*---*/

/* Estilos para el footer */
.footer {
    background: #111;
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00FFFF, transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 0 20px;
}

.social-footer {
    display: flex;
    gap: 1.5rem;
}

.social-footer a {
    color: #B0BEC5;
    font-size: 1.4rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border: 1px solid rgba(176, 190, 197, 0.2);
}

.social-footer a:hover {
    color: #00FFFF;
    transform: translateY(-3px);
    border-color: #00FFFF;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.footer-quote {
    color: #B0BEC5;
    font-style: italic;
    text-align: center;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.footer-quote::before,
.footer-quote::after {
    content: '"';
    color: #FF007F;
    font-size: 1.3rem;
}

.copyright {
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
}

#current-year {
    color: #00FFFF;
}

.footer::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    z-index: 0;
}











