/*Estilos de mi portafolio*/
/*fonts*/

.bbh-bartle-regular {
    font-family: "BBH Bartle", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/*nav bar*/
.mono {
    height: 60px;
    width: auto;
}

.navbar-nav .nav-item {
    height: 100%;
}

.navbar-nav .nav-link {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 20px;
    text-transform: uppercase;
    color: #000;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background-color: #E4067C;
    color: #fff;
}


.navbar-nav .nav-link.active {
    background-color: #E4067C;
    color: #fff;
}


/*Portada*/
.portada {
    background-image: url(../imagenes/portada.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
}

.link-portada {
    display: block;
    width: 100%;
    height: 100%;
}

.portada h1 {
    display: none;
}

.portada {
    cursor: pointer;
}

@media (max-width: 768px) {
    .portada {
        min-height: 50px;
        background-position: center top;
    }
}

/*yo*/
.yo {
    background-image: url(../imagenes/papel.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 50px;
}

.yo img {
    width: 100%;
    height: auto;
    display: block;
}


.soydi {
    width: 80%;
    height: auto;
    display: block;
}

.soyj {
    padding-top: 65px;
}

/*yo*/
.descripcion {
    text-align: center;
    padding: 18%;
    font-size: 20px;
    color: rgb(225, 7, 7);
    background-color: #ffb0da;
    font-weight: bold;
}

@media (max-width: 768px) {
    .yo .col-6 {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }

    .yo img {
        max-width: 80%;
        margin: 0 auto;
    }
}

/*Resume*/
.container-cards {
    padding: 40px;
    color: white;
    height: 100%;
    background-color: #cae2ae;
}

.container-cards h2 {
    font-size: 70px;
    font-weight: bold;
}

.container-cards h4 {
    font-size: 30px;
}

@media (max-width: 768px) {
    .container-cards {
        padding: 2rem 1.5rem;
    }

    .container-cards h2 {
        text-align: center;
        font-size: 35px;
    }

    .card-educacion,
    .card-experiencia,
    .card-idiomas,
    .card-skills,
    .card-programas {
        text-align: center;
    }

    .card-skills ul {
        padding-left: 0;
        list-style: none;
    }
}


/* Cards */
.card-educacion {
    background-color: #5D7B3D;
    border-radius: 20px;
    padding: 50px;
    color: #F2B84B;
    height: 100%;
}

.card-experiencia {
    background-color: #F2B84B;
    border-radius: 20px;
    padding: 50px;
    color: #5D7B3D;
    height: 100%;
}

.card-idiomas {
    background-color: #A3BFD9;
    border-radius: 20px;
    padding: 50px;
    color: #F1E7C2;
    height: 100%;
}

.card-skills {
    background-color: #ffb0da;
    border-radius: 20px;
    padding: 50px;
    color: #5D7B3D;
    height: 100%;
}

.card-programas {
    background-color: #ff0000;
    border-radius: 20px;
    padding: 50px;
    color: #F2B84B;
    height: 100%;
}

/*Pagina de proyectos*/

.proyectos {
    padding: 120px 0;
    background-color: #ffb0da;
    color: #5D7B3D;
}

.titulo-proyectos {
    text-align: center;
    font-size: 80px;
    margin-bottom: 80px;
    font-weight: bold;
}


.carousel-proyectos {
    max-width: 450px;
    margin: 0 auto;
}


.carousel-proyectos img {
    border-radius: 20px;
    transition: transform 0.4s ease;
}


.carousel-proyectos img:hover {
    transform: scale(1.03);
    cursor: pointer;
}

@media (max-width: 576px) {
    .titulo-extras h2 {
        font-size: 38px;
    }
}

/*Pagina de hobbys*/

.extras {
    padding: 250px 0;
    background-color: #687551;
    color: #ffb0da;
}

.titulo-extras {
    display: flex;
    justify-content: center;
    align-items: center;
}

.titulo-extras h2 {
    font-size: 100px;
    font-weight: bold;
}

.extras-boxes {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.rectangulo {
    height: 120px;
    background-color: #fff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.rectangulo p {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
}

.rectangulo:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.rect1 {
    background-color: #ff5252;
    color: #5D7B3D;
}

.rect2 {
    background-color: #F2B84B;
    color: #E4067C;
}

@media (max-width: 576px) {
    .proyectos h2 {
        font-size: 38px;
    }
}

/**/
.contacto {
    text-align: center;
    background-color: red;
    padding: 20%;

}

footer {
    background-color: #E4067C;
    text-align: center;
    color: white;
    padding: 1%;
    padding-bottom: 1%;
}

footer h2 {
    font-size: 30px;
    padding-bottom: 1%;
}

footer img {
    height: 90px;
    width: auto;
    padding: 10px;
    padding-bottom: 2%;
}

@media (max-width: 768px) {
    footer a {
        margin: 0.5rem;
    }

    footer img {
        width: 50px;
        height: auto;
    }

    footer p {
        font-size: 10px;
    }
}

/*RAIZ*/

.section-introraiz {
    text-align: center;
    padding: 10%;
}

.section-imgraiz {
    text-align: center;
    justify-content: center;
}

.section-pfraiz {
    text-align: center;
    justify-content: center;
}

.section-pfraiz img {
    width: 250px;
    height: auto;
}

.section-pfraiz h2 {
    padding: 50px;
}

.logo2 {
    justify-content: center;
    background-color: #360D19;
    padding: 10%;
}

.logos {
    justify-content: center;
}

.logo1 {
    background-color: #687551;
    padding: 10%;
}

.logo3 {
    background-color: #F1E7C2;
    padding: 10%;
}

.section-usoraiz {
    justify-content: center;
    size: 50px;
    padding: 5%;
}

.colors {
    justify-content: center;

}

.color1 {
    background-color: #687551;
    color: white;
    padding: 100px 0;
}

.color2 {
    background-color: #F1E7C2;
    padding: 100px 0;
}

.color3 {
    background-color: #360D19;
    color: white;
    padding: 100px 0;
}


.section-colorraiz h2 {
    padding: 50px;
}

.section-usoraiz img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 576px) {

    .logos img,
    .section-usoraiz img {
        width: 100%;
        height: auto;
    }

    .logo1,
    .logo3 {
        padding: 2rem;
    }
}

/*pantera*/

.imagenes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 3rem;
}

.imagenes-grid img,
.imagenes-rosa-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pp2 {
    grid-column: span 2;
}

.imagenes-rosa {
    background-color: #f8bfde;
    padding: 4rem 2rem;
    color: white;
}

.imagenes-rosa p{
    text-align: center;
    color:white;
    font-weight: bold;
    font-size: 15px;
}
.contenido-rosa {
    max-width: 1100px;
    margin: 0 auto;
}

.contenido-rosa p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #3a0f23;
}

.imagenes-rosa-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .imagenes-grid {
        grid-template-columns: 1fr;
    }

    .pp2 {
        grid-column: span 1;
    }

    .imagenes-rosa-grid {
        grid-template-columns: 1fr;
    }
}

.container-pantera {
    text-align: center;
    padding: 10%;
}


/*monkey*/
.container-mono {
    text-align: center;
    padding: 10%;
}

.pic {
    width: 100%;
    padding: 2rem 0;
}

.pic .row {
    display: flex;
    gap: 1rem;
    margin: 0;
}

.pic img {
    width: 100%;
    height: auto;
    display: block;
    visibility: visible;
    position: relative;
    object-fit: cover;
}


@media (max-width: 768px) {
    .pic .row {
        flex-direction: column;
    }

    .pic .col-6 {
        flex: 0 0 100%;
    }
}


/*fotografía*/


.galeria {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 40px;
}

.galeria img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    border-radius: 12px;
}

.container-foto {
    text-align: center;
    padding-top: 10%;
}



.galeria img.show {
    opacity: 1;
    transform: translateY(0);
}


/*dibujo*/

.container-dibujos {
    text-align: center;
    padding-top: 10%;
}


.pic h1 {
    text-align: center;
    padding: 10%;
}


.pic {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem;
    padding: 2rem;
}

.pic img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.pic img {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.pic img.show {
    opacity: 1;
    transform: translateY(0);
}


@media (max-width: 768px) {
    .pic {
        grid-template-columns: 1fr;
    }
}


/* CONTacto */
.container-contact {
    background-color: #cae2ae;
    padding: 15%;
    font-size: 3rem;
}

.container-contact .incon h1 {
    font-size: 70px;
}

.container-contact .incon p {
    font-size: 20px;
}

/* row */
.container-contact .row {
    display: flex;
    align-items: center;
}

/* col text*/
.incon {
    text-align: center;
    padding: 2rem;
}

.incon h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #E4067C;
    font-weight: bold;
}

.incon p {
    font-size: 1rem;
    color: #E4067C;
    font-weight: bold;
}

/* col iconos */
.imgcon {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 2rem;
    max-width: 300px;
    margin: 0 auto;
}

/* iconos */
.imgcon img {
    width: 100px;
    height: auto;
}

@media (max-width: 768px) {
    .container-contact {
        padding: 3rem 1.5rem;
        text-align: center;
    }

    .incon h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .imgcon {
        flex-wrap: wrap;
        margin-top: 2rem;
        gap: 1.5rem;
    }

    .imgcon img {
        width: 45px;
    }
}