/* ******** */
/* PORTFOLIO */
/* ******** */
.portfolio {
    position: relative;
    z-index: 100;
    color: #ffffff;
    background-color: #171819;
}
.titulo-seccion {
    padding-top: 2rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 5rem;
    width: fit-content;
    letter-spacing: 8px;
    color: transparent; 
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.5);
    position: relative;
    transform: translateX(100px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-bottom: 4rem;
}
.portfolio .fila {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}
.portfolio .fila .col {
    position: relative;
    height: fit-content;
    cursor: pointer;
    transition: transform .3s;
}
.portfolio .fila .col .info {
    position: initial;
    top: 50%;
    left: -60px;
    width: 100%;
    transition: left .8s;
}
.portfolio .fila .col .info .titulo-proyecto {
    font-size: 40px;
    color: #ffffff !important; 
}
.portfolio .fila .col .info .descripcion-proyecto {
    color: #b12028 !important;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.portfolio .fila .col .img-proyecto {
    width: 85%;
}
.portfolio .fila .col:hover {
    transform: rotateX(10deg) rotateY(15deg) rotateZ(1deg);
}
.portfolio .fila .col:hover .info {
    left: 0;
}

/* ******** */
/* SOBRE MI */
/* ******** */
.sobre-mi {
    position: relative;
    z-index: 100;
    height: 50vh;
    background-color: #fbfbfb;
    padding-bottom: 50px; /* añadido para móvil */
}
.sobre-mi .negro {
    -webkit-text-stroke: 2px #888888;
}
.sobre-mi h3 {
    color: #333;
    font-size: 40px;
    max-width: 1100px;
    margin: 0 auto 40px auto;
    text-align: center; /* agregado para móviles */
}
.sobre-mi .linea {
    display: inline-block;
    width: 50px;
    background-color: #b12028;
    height: 7px;
}
.sobre-mi .descripcion {
    max-width: 1100px;
    margin: auto;
    font-size: 20px;
    line-height: 30px;
    font-weight: normal;
    padding: 0 20px;
    text-align: center; /* agregado para móviles */
}
.sobre-mi .descripcion a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
    position: relative;
    transition: .5s;
}
.sobre-mi .descripcion a .efecto {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 0;
    background-color: #b12028;
    border-bottom: 3px solid #b12028;
    transition: .5s;
}
.sobre-mi .descripcion a:hover .efecto {
    height: 100%;
    z-index: -1;
}
.sobre-mi .descripcion a:hover {
    color: #fff;
}

/* ******** */
/* HABILIDADES */
/* ******** */
.habilidades {
    position: relative;
    background-color: #171819;
    height: 100vh;
    text-align: left; /* por defecto */
}
.habilidades .fila {
    display: flex;
    max-width: 1200px;
    margin: auto;
}
.habilidades .fila .menu {
    max-width: 470px;
    width: 100%;
}
.habilidades .fila .menu li {
    color: #f5ce3e;
    font-size: 35px;
    list-style: none;
    font-weight: bold;
    margin: 20px 0;
    cursor: pointer;
    transition: .5s;
}
.habilidades .fila .menu li:hover,
.habilidades .fila .menu li.selected {
    color: #b12028 !important;
}
.habilidades .fila .info .fila-detalle {
    display: flex;
    justify-content: space-between;
    height: 250px;
}
.habilidades .fila .info .fila-detalle .col-detalle {
    width: 47%;
}
.habilidades .fila .info .fila-detalle .col-detalle i {
    font-size: 40px;
    color: #595959;
    margin-bottom: 10px;
}
.habilidades .fila .info .fila-detalle .col-detalle h4 {
    color: #f5ce3e;
    font-size: 24px;
    margin-bottom: 15px;
}
.habilidades .fila .info .fila-detalle .col-detalle p {
    color: #fff;
    font-size: 15px;
    margin-bottom: 15px;
}
#info1 {
    display: block;
}
#info2, #info3, #info4 {
    display: none;
}

/* ******** */
/* RESPONSIVE */
/* ******** */
@media screen and (max-width: 1200px) {
    .titulo-seccion {
        font-size: 8rem;
    }
}

@media screen and (max-width: 900px) {
    .titulo-seccion {
        font-size: 4rem;
    }

    .home .contenido {
        left: 0;
        width: 100%;
    }
    .home .redes,
    .home .descripcion,
    .sobre-mi .descripcion {
        text-align: center;
    }
    .home .contenido h1 {
        font-size: 100px;
        text-align: center;
        line-height: 90px;
    }
    .sobre-mi {
        height: auto;
        padding-bottom: 50px;
    }
    .sobre-mi h3 {
        font-size: 50px;
        text-align: center;
    }
    .sobre-mi .descripcion {
        font-size: 25px;
        line-height: normal;
    }

    .portfolio .fila {
        display: block;
    }
    .portfolio .fila .col {
        width: 90%;
        margin: auto;
    }

    .habilidades {
        height: auto !important;
        text-align: center;
    }
    .habilidades .fila {
        display: block;
    }
    .habilidades .fila .info .fila-detalle {
        display: block;
        height: auto;
    }
    .habilidades .fila .menu {
        max-width: 100%;
    }
    .habilidades .fila .menu li {
        font-size: 20px;
        margin: 5px 0;
        text-align: center;
    }
    .habilidades .fila .info .fila-detalle .col-detalle {
        width: 60%;
        margin: auto;
        padding-bottom: 40px;
    }

    .testimonios .fila {
        display: block;
    }
    .testimonios .fila .titulo {
        position: relative;
        width: 100%;
        font-size: 40px;
        text-align: center;
    }
    .testimonios .fila .cliente {
        width: 20%;
        margin: auto;
    }
    .testimonios .fila .opinion {
        width: 100%;
        color: #fff;
        text-align: center;
        padding: 0 20px;
    }
}
