/*Fuente o tipografia a utilizar en el sitio web*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital@0;1&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

/*SECCION  I N I C I O */

html {
    scroll-behavior: smooth;
}

#inicio {
    background: linear-gradient(0, rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(../imagenes/fondo-inicio.jpg);
    background-size: cover;
    background-position: center center;
    height: 100vh;
}

#inicio .contenido header {
    background-color: rgba(0,0,0,0.8);
    position: fixed;
    width: 100%;
    z-index: 100;
    top: 0;
}

#inicio .contenido header .contenido-header {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

#inicio .contenido header .contenido-header h1 {
    text-align: center;
    color: #ff5080;
}

#inicio .contenido header .contenido-header nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

#inicio .contenido header .contenido-header nav ul li a {
    text-decoration: none;
    color: #fff;
    margin: 0 14px;
    font-weight: 400;
    transition: .5s;
}

#inicio .contenido header .contenido-header nav ul a:hover {
    color: #ff5080;
}

#inicio .contenido header .contenido-header .redes a {
    text-decoration: none;
    color: #fff;
    display: inline-block;
    margin-left: 10px;
    transition: .5s;
}

#inicio .contenido header .contenido-header .redes a:hover {
    color: #ff5080;
}

#inicio .contenido header .contenido-header .seleccionado{
    color: #ff5080;
}

#inicio .contenido .presentacion {
    max-width: 1100px;
    height: 100vh;
    margin: auto;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#inicio .contenido .presentacion .bienvenida {
    font-size: 16px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 5px;
}

#inicio .contenido .presentacion h2 {
    font-size: 55px;
    margin-bottom: 25px;
    text-align: center;
}

#inicio .contenido .presentacion h2 span {
    color: #ff5080;
}

#inicio .contenido .presentacion .descripcion {
    /* max-width: 1000px;*/
    margin: 25px auto;
    font-size: 18px;
    text-align: center;
}

#inicio .contenido .presentacion .descripcion {
    font-size: 18px;
    line-height: 1.9;
}

#inicio .contenido .presentacion a {
    text-decoration: none;
    display: inline-block;
    margin: 25px;
    padding: 20px 25px;
    border: 2px solid #fff;
    border-radius: 50px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    transition: .5s;
}

#inicio .contenido .presentacion a:hover {
    background-color: #ff5080;
    border: 1px solid #ff5080;
}

#icono-nav {
    color:#fff;
    display: none;
}

.seleccionado {
    color: #ff5080 !important;
    font-weight: bold;
}

section.activa {
    box-shadow: 0px 0px 15px rgba(255, 80, 128, 0.8);
    transition: box-shadow 0.5s ease-in-out;
}

/*SECCION  S O B R E  M I */

.sobremi p {
    text-align: justify;
}

#sobremi {
    max-width: 1100px;
    margin: auto;
    padding: 100px 15px;
    color: #111135;
    display: flex;
}

#sobremi .contenedor-foto {
    max-width: 400px;
    margin-right: 80px;
    border-radius: 20px;
    overflow: hidden;
}

#sobremi .contenedor-foto img {
    padding: 0px;
    width: 100%;
    border-radius: 20px;
    display: block;
    background-color: #f3f3f3;
}

#sobremi .sobremi{
    margin: 0 40px;
}

#sobremi .sobremi .titulo-seccion{
    font-size: 22px;
    text-transform: uppercase;
    color: #111135;
    text-decoration: underline;
    text-decoration-color: #d3d3d3;
    text-decoration-thickness: 5px;
}

#sobremi .sobremi h2 {
    font-size: 34px;
    font-weight: bold;
    margin: 20px 0;
    letter-spacing: 2px;
}

#sobremi .sobremi h2 span {
    color: #ff5080;
}

#sobremi .sobremi h3 {
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

#sobremi .sobremi p {
    font-size: 14px;
    line-height: 25px; /*25px*/
    color: #565656;
    margin-bottom: 12px;
}

#sobremi .sobremi a {
    display: inline-block;
    text-decoration: none;
    color: #000;
    border-radius: 30px;
    padding: 10px 20px;
    border: 1px solid #000;
    margin-top: 30px;
    transition: .5s;
}

#sobremi .sobremi a:hover {
    background-color: #ff5080;
    color: #fff;
    border: 1px solid #ff5080;
}

/*SECCION S E R V I C I O S */

#servicios {
    padding: 100px 15px;
    text-align: center;
    background-color: #f3f3f3;
}

#servicios .titulo-seccion {
    font-size: 22px;
    text-transform: uppercase;
    color: #111135;
    text-decoration: underline;
    text-decoration-color: #d3d3d3;
    text-decoration-thickness: 5px;
}

#servicios .fila {
    display: flex;
    justify-content: space-between;
    max-width: 1100px;
    margin: 30px auto;
}

#servicios .fila .servicio {
    max-width: 350px;
    background-color: #fff;
    padding: 30px;
    margin: 0 5px;
    border-right: 5px;
    transition: .5s;
}

#servicios .fila .servicio:hover {
    box-shadow: 5px 5px 10px #565656, -5px -5px 10px #8a8a8a;
}

#servicios .fila .servicio h4 {
    font-size: 22px;
    margin-bottom: 25px;
}

#servicios .fila .servicio .icono {
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #d3d3d3;
    padding: 20px;
    margin-bottom: 25px;
}

#servicios .fila .servicio hr {
    width: 30%;
    margin: auto;
    color : #000;
    margin-bottom: 25px;
}

#servicios .fila .servicio ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

#servicios .fila .servicio p {
    font-size: 14px;
    line-height: 22px;
}

/*S K I L L S */
/*Estrellas FRONTEND*/
/*Condicionar la animacion de cada seccion de estrellas con la funcion de java script, 
para que cuando el usuario al navegar durante la pagina haciendo scroll y llegue a la seccion de habilidades,
se activen las animaciones de las estrellas de cada seccion de habilidades, 
esta animacion reiniciara sin importar que su acceso a "Habiliades / skills" durante el scroll sea repetido, de arriba hacia abajo o viceversa.*/

.starsFrontend {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 23px;
}

.starF {
    font-size: 40px;
    color: white;
    transition: color 0s ease-in-out;
}

.starF.filled {
    color: #ff5080;
}

@keyframes fillStarsF {
    0% { color: white; }
    100% { color: #ff5080; }
}

.starF:nth-child(1) {
    animation: fillStarsF 4s forwards;
}

.starF:nth-child(2) {
    animation: fillStarsF 5s forwards;
}

.starF:nth-child(3) {
    animation: fillStarsF 6s forwards;
}

.starF:nth-child(4) {
    animation: fillStarsF 7s forwards;
}

.starF:nth-child(5) {
    color: white;
}

/*Estrellas BACKEND*/

.starsBackend {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.starB {
    font-size: 40px;
    color: white;
    transition: color 0s ease-in-out;
}

.starB.filled {
    color: #ff5080;
}

@keyframes fillStarsB {
    0% { color: white; }
    100% { color: #ff5080; }
}

.starB:nth-child(1) {
    animation: fillStarsB 4s forwards;
}

.starB:nth-child(2) {
    animation: fillStarsB 5s forwards;
}

.starB:nth-child(3) {
    animation: fillStarsB 6s forwards;
}

.starB:nth-child(4) {
    color: white;
}

.starB:nth-child(5) {
    color: white;
}

/*Estrellas BASE DE DATOS*/

.starsBD {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 17px;
}

.starbd {
    font-size: 40px;
    color: white;
    transition: color 0s ease-in-out;
}

.starbd.filled {
    color: #ff5080;
}

@keyframes fillStarsbd {
    0% { color: white; }
    100% { color: #ff5080; }
}

.starbd:nth-child(1) {
    animation: fillStarsbd 4s forwards;
}

.starbd:nth-child(2) {
    animation: fillStarsbd 5s forwards;
}

.starbd:nth-child(3) {
    animation: fillStarsbd 6s forwards;
}

.starbd:nth-child(4) {
    color: white;
}

.starbd:nth-child(5) {
    color: white;
}

/*Estrellas DISEÑO*/

.starsDesign {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

.starDs {
    font-size: 40px;
    color: white;
    transition: color 0s ease-in-out;
}

.starDs.filled {
    color: #ff5080;
}

@keyframes fillStarsDs {
    0% { color: white; }
    100% { color: #ff5080; }
}

.starDs:nth-child(1) {
    animation: fillStarsDs 4s forwards;
}

.starDs:nth-child(2) {
    animation: fillStarsDs 5s forwards;
}

.starDs:nth-child(3) {
    animation: fillStarsDs 6s forwards;
}

.starDs:nth-child(4) {
    animation: fillStarsDs 7s forwards;
}

.starDs:nth-child(5) {
    color: white;
}

/*Estrellas OFIMATICA*/

.starsOF {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.starof {
    font-size: 40px;
    color: white;
    transition: color 0s ease-in-out;
}

.starof.filled {
    color: #ff5080;
}

@keyframes fillStarsof {
    0% { color: white; }
    100% { color: #ff5080; }
}

.starof:nth-child(1) {
    animation: fillStarsof 4s forwards;
}

.starof:nth-child(2) {
    animation: fillStarsof 5s forwards;
}

.starof:nth-child(3) {
    animation: fillStarsof 6s forwards;
}

.starof:nth-child(4) {
    animation: fillStarsof 7s forwards;
}

.starof:nth-child(5) {
    color: white;
}

/*Estrellas ADMINISTRACION DE PROYECTOS*/

.starsAP {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.starAp {
    font-size: 40px;
    color: white;
    transition: color 0s ease-in-out;
}

.starAp.filled {
    color: #ff5080;
}

@keyframes fillStarsAp {
    0% { color: white; }
    100% { color: #ff5080; }
}

.starAp:nth-child(1) {
    animation: fillStarsAp 4s forwards;
}

.starAp:nth-child(2) {
    animation: fillStarsAp 5s forwards;
}

.starAp:nth-child(3) {
    animation: fillStarsAp 6s forwards;
}

.starAp:nth-child(4) {
    color: white;
}

.starAp:nth-child(5) {
    color: white;
}

/*Estrellas ANALISIS DE DATOS*/

.starsAD {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.starAd {
    font-size: 40px;
    color: white;
    transition: color 0s ease-in-out;
}

.starAd.filled {
    color: #ff5080;
}

@keyframes fillStarsAd {
    0% { color: white; }
    100% { color: #ff5080; }
}

.starAd:nth-child(1) {
    animation: fillStarsAd 4s forwards;
}

.starAd:nth-child(2) {
    animation: fillStarsAd 5s forwards;
}

.starAd:nth-child(3) {
    animation: fillStarsAd 6s forwards;
}

.starAd:nth-child(4) {
    color: white;
}

.starAd:nth-child(5) {
    color: white;
}

/*Estilo de la seccion de SKILLS*/

.skills {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap; /* Permite ajuste en pantallas pequeñas */
    
}

.category {
    flex: 1;
    min-width: 250px; /* Evita que se reduzcan demasiado */
    text-align: center;
}

/* Ajustes generales de las estrellas */

.skills {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* Ajustes generales de las estrellas */

.starF, .starB, .starbd, .starDs .starsOF, .starsAP, .starsAD {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Permite ajuste en pantallas pequeñas */
}

.skills .category h4,
.skills .category .skill .nombre-skill,
.skills .category .skill .starsFrontend .starF,
.skills .category .skill .starsBackend .starB,
.skills .category .skill .starsBD .starbd,
.skills .category .skill .starsDesign .starDs,
.skills .category .skill .skill i {
    color: white;
}

/*Iconos svg estrellas*/

img[src="iconos/word.svg"],
img[src="iconos/excel.svg"],
img[src="iconos/powerPoint.svg"],
img[src="iconos/multisim.svg"], 
img[src="iconos/matlab.svg"],
img[src="iconos/javascript.svg"] {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1); /* This makes the image white */
}

img[src="iconos/notion.svg"] {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1);
}

img[src="iconos/autodesk.svg"] {
    width: 23px;
    height: 23px;
    filter: brightness(0) invert(1);
}

/* Estilo de los iconos de habilidades */

.skill {
    font-size: 30px;
}

.skill i.fi-brands-illustrator,
.skill i.fi-brands-photoshop,
.skill i.fi-brands-photoshop-lightroom,
.skill i.fi-brands-premiere,
.skill i.fi-brands-after-effects,
.skill i.fi-brands-xd,
.skill i.fi-brands-animate {
    font-size: 25px; /* Tamaño especial */
}

.nombre-skill {
    margin-top: 10px;
    font-size: 15px;
}

/*Termina estrellas*/

.skills-section {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0, 0, 0, .7)), url(imagenes/fondo-skills.jpg);
    height: 100vh;
    background-size: cover;
    background-position: center center;
    padding: 60px 0;
    text-align: center;
}

.skills-section h3 {
    margin-bottom: 40px !important;
}

.skills-section .skill {
    max-width: 600px;
    margin: 25px auto;
}

.skills-section h3 {
    font-size: 22px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 20px;
} 

/*SECCION P O R T A F O L I O */

#portafolio {
    max-width: 1800px;
    padding: 100px 15px;
    margin: auto;
}

#portafolio .titulo-seccion {
    text-align: center;
    font-size: 22px;
    text-transform: uppercase;
    color: #111135;
    text-decoration: underline;
    text-decoration-color: #d3d3d3;
    text-decoration-thickness: 5px;
}

#portafolio .wrapper{
    max-width: 11000px;
    padding: 20px 10px;
    margin: 0 60px 35px;
    overflow: hidden;
}

#portafolio .wrapper .card {
    height: auto;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

#portafolio .wrapper .card:hover{
    transform: translateY(-10px);
}

#portafolio .card .card-image {
    position: relative;
}

#portafolio .card .card-image img {
    width: 100%;
    padding: 10px;
    border-radius: 22px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

#portafolio .card .card-image .card-tag {
    position: absolute;
    left: 25px;
    top: 25px;
    color: #fff ; 
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 5px 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: transparent;        /* Sin relleno */
    border: 2px solid white;
}

#portafolio .card .card-content {
    flex: 1;
    display: flex;
    flex-direction:column;
    padding: 10px 25px 25px;
}

#portafolio .card .card-content .card-title {
    color: #111111;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

#portafolio .card .card-content .card-text {
    color: #747474;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

#portafolio .card .card-content .card-footer{
    display: flex;
    align-items: center;
    padding-top: 15px;
    margin-top: auto;
    justify-content: space-between;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

#portafolio .card .card-footer .card-profile {
    display: flex;
    align-items: center;
}

#portafolio .card .card-profile img {
    width: 35px;
    height: 35px;
    margin-right: 10px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#portafolio .card .card-profile .card-profile-info {
    display: flex;
    flex-direction: column;
}

#portafolio .card .card-profile .card-profile-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #202020;
}

#portafolio .card .card-profile .card-profile-role {
    font-size: 0.875rem;
    color: #7a7a7a;
}

#portafolio .card .card-footer .card-button {
color: #fff;
padding: 10px 20px;
border-radius: 30px;
font-size: 0.81rem;
font-weight: 600;
text-decoration: none;
background: linear-gradient(135deg, #ff5080 0%, #ff76a3 100%);
box-shadow: 0 8px 15px rgba(99, 102, 241, 0.2);
transition: all 0.3s ease;
}

#portafolio .card .card-footer .card-button:hover{
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(99, 102, 241, 0.3);
}

#portafolio .wrapper .swiper-pagination-bullet {
height: 15px;
width: 15px;
overflow: hidden;
opacity: 1;
background: #b3b3b3;
}

#portafolio .wrapper .swiper-pagination-bullet-active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #ff5080;
    transform: scaleX(0);
    transform-origin: left center;
    animation: autoplay-loading 3.5s linear forwards;
}

#portafolio .container:hover .wrapper .swiper-pagination-bullet-active::before {
    animation-play-state: paused;
}

@keyframes autoplay-loading {
    100%{
        transform: scaleX(1);
    }
}

#portafolio .wrapper :where(.swiper-button-prev, .swiper-button-next) {
    color: #202020;
    margin-top: -35px;
    transition: all 0.3 ease;
}

#portafolio .wrapper :where(.swiper-button-prev, .swiper-button-next):hover {
    color: #ff5080;
}

@media (max-width: 768px) {

    #portafolio .wrapper {
        margin: 0 10px 25px;
    }

    #portafolio .wrapper :where(.swiper-button-prev, .swiper-button-next) {
        display: none;
    }
}

/* SECCIÓN C O N T A C T O */

#contacto {
    padding: 100px 15px;
}

#contacto .titulo-seccion {
    margin-bottom: 20px;
    text-align: center;
    font-size: 22px;
    text-transform: uppercase;
    color: #111135;
    text-decoration: underline;
    text-decoration-color: #d3d3d3;
    text-decoration-thickness: 5px;
}

#contacto .contenedor-form {
    max-width: 1100px;
    margin: auto;
}

#contacto .contenedor-form .fila {
    margin-bottom: 15px;
}

#contacto .contenedor-form .mitad {
    display: flex;
    justify-content: space-between;
}

#contacto .contenedor-form input,
#contacto .contenedor-form textarea {
    padding: 20px;
    border-radius: 20px;
    border: none;
    border: 1px solid #919191;
}

#contacto .contenedor-form .mitad input {
    width: 48%;
}

#contacto .contenedor-form .input-full {
    width: 100%;
}

#contacto .btn-enviar {
    display: block;
    margin: auto;
    cursor: pointer;
    transition: .5s;
    padding: 10px 15px;
    font-size: 18px;
    font-weight: bold;
}

#contacto .btn-enviar:hover {
    background-color: #ff5080;
    color: #fff;
    border: 1px solid #ff5080;
}

#contacto .subtitulo-contenedor {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

#contacto .subtitulo-seccion {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

#contacto .descripcion-seccion {
    font-size: 14px;
    color: #ff5080;
}

#contacto .separador {
    border: none;
    border-top: 1.5px solid #333;
    margin: 30px 0;
}

/*SECCION F O O T E R */

footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

footer a {
    text-decoration: none;
    color: #fff;
    display: inline-block;
    margin: 5px;
    font-size: 26px;
}

/*SECCION RESPONSIVE*/

@media screen and (max-width: 900px) {
    .redes {
        position: absolute;
        top: 10px; 
        right: 70px; 
        display: flex;
        gap: 10px; 
        z-index: 99;
    }

    #inicio {
        height: auto;
        padding-top: 60px;
    }

    .redes a {
        margin: 0 10px;
        font-size: 20px;
    }

    nav {
        display: none;
    }

    nav.responsive {
        display: block;
        background-color: rgba(0, 0, 0, 0.8);
        width: 100%;
        position: absolute;
        top: 48px;
        left: 0;
        padding: 10px 0;
        z-index: 100;
    }

    nav.responsive ul {
        display: block !important;
        text-align: center;
    }

    nav.responsive ul li {
        margin: 5px 0;
    }

    #icono-nav {
        display: block;
        position: absolute;
        right: 16px;
        top: 16px; 
        color: #ff5080;
        font-size: 24px;
        z-index: 101;
    }

    #inicio {
        padding-top: 60px;
        overflow-x: hidden;
    }

    #inicio .contenido {
        padding-top: 0px;
    }

    #inicio .contenido .presentacion h2 {
        font-size: 28px;
    }

    #sobremi {
        padding: 50px 0;
        display: block;
    }

    #sobremi .contenedor-foto {
        max-width: 200px;
        margin: auto;
    }

    #sobremi .contenedor-foto img {
        padding: 8px;
    }

    #sobremi .sobremi .titulo-seccion {
        text-align: center;
    }

    #sobremi .sobremi h2 {
        font-size: 25px;
        text-align: center;
    }

    #servicios {
        padding: 50px 15px;
    }

    #servicios .fila {
        display: block;
    }

    #servicios .fila .servicio {
        margin: 10px auto;
    }


    .contenedor-skills {
        padding: 50px 20px;
    }

    #portafolio {
        padding: 50px 0;
    }

    #portafolio .fila {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #portafolio .fila .proyecto {
        margin: 10px auto;
        max-width: 100%;
    }

    #contacto {
        padding: 35px 15px;
    }

    #contacto .contenedor-form .mitad {
        margin-bottom: 15px;
        display: block;
    }

    #contacto .contenedor-form .mitad input {
        width: 100%;
        margin-bottom: 15px;
    }
}