@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


@font-face {
    font-family: 'Nexa';
    src: url(../fonts/Nexa-ExtraLight.ttf);
}


@font-face {
    font-family: 'Nexa-Bold';
    src: url(../fonts/Nexa-Heavy.ttf);
}



.portada{
    position: relative;
    height: 90vh;
    background-image: url(../img2/Banner-Formaciones.webp);
    background-position: center;
    background-size: cover;
    
}

.portada img{
    position: absolute;
    object-fit: cover;
    max-height: 90vh;
}


.logo_formaciones{
    z-index: 2;
    width: 55%;
    bottom: 25%;
    right: 200px;
    transform: translateY(-50%);
}

.portada h2{
    font-size: 50px;
    font-weight: 500;
    position: absolute;
    bottom: 25%;
    right: 200px;
    color: white; /* Ajusta el color según tus necesidades */
    z-index: 3; /* Asegúrate que esté por encima de las imágenes */
}

.portada_content{
    position: absolute;

}

.figuras{
    position: relative;
    display: flex;
    margin-top: 50px;
    height: 300px;
}

.figura_2{
    position: absolute;
    width: 60%;
    height: 200px;
    background: #4972af63;
    right: 0;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}


.figura_3{
    position: absolute;
    width: 70%;
    height: 200px;
    background: #4972af63;
    left: 0;
    bottom: 0;
    clip-path: polygon(0 0, 80% 0, 100% 100%, 0 100%);
}



.frase{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    height: 350px;
    text-align: center;
    padding: 0 450px;
}

.frase h1{
    font-family: 'Poppins';
    font-size: 40px;
    font-weight: 350;
}

.frase h1 span{
    color: #156296;
    font-weight: 500;
}

.frase h2{
    font-family: 'Poppins';
    font-size: 40px;
    font-weight: 300;
    text-align: right;
}


.figura{
    position: relative;
    display: flex;
    margin-top: 10px;
    height: 200px;
    align-items: center;
}

.figura_raya{
    position: absolute;
    width: 70%;
    height:2px;
    background: #000;
    z-index: 1;
}

.figura_1{
    position: absolute;
    width: 70%;
    height: 90%;
    background: #4972af63;
    right: 0;
    clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
}

.Liderazgo{
    /* background:#eeee; */
    width: 100%;
}


.mini_baner{
    background:#4972af;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: polygon(100% 0, 3% 0, 0 20%, 0 100%, 100% 100%);
}

.mini_baner2{
    background:#4972af;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: polygon(95% 0, 0 0, 0 100%, 100% 100%, 100% 20%);
}

.mini_baner h2,.mini_baner2 h2{
    font-size: 60px;
    font-family: 'Nexa-Bold';
    color: white;
    text-align: center;
    font-weight: 100;
}

.mini_baner h2 span,.mini_baner2 h2 span{
    font-weight: 300;
}

.Liderazgo h3{
    font-size: 35px;
    font-family: 'poppins';
    padding-left: 250px;
    margin-top: 50px;
    color: #156296;
}


.Liderazgo h4{
    font-size: 25px;
    font-family: 'poppins';
    padding-left: 300px;
    margin-top: 20px;
}

.lista{
    margin-top: 20px;
    padding: 0 400px;
    list-style: none;
    margin-bottom: 50px;
}

.lista_item{
    font-size: 16px;
    position: relative;
    margin-bottom: 1rem;
    font-family: 'poppins';
}

.lista_item::before{
    content: "";
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-30%);
    width: 8px;
    height: 100%;
    background-image: url(../img2/circulo.webp);
    background-size:contain;
    background-repeat: no-repeat;
}


#b1{
    background-image: url(../img2/CYF_01.webp);
    background-position: center center;
    background-size: cover;
    margin-top: 100px;
}

#b2{
    background-image: url(../img2/CYF-02.webp);
    background-position: center center;
    background-size: cover;
}

#b3{
    background-image: url(../img2/CYF-03.webp);
    background-position: center center;
    background-size: cover;
}

#b4{
    background-image: url(../img2/CYF-04.webp);
    background-position: center center;
    background-size: cover;
}
#b5{
    background-image: url(../img2/CYF-05.webp);
    background-position: center center;
    background-size: cover;
}
#b6{
    background-image: url(../img2/CYF-06.webp);
    background-position: center center;
    background-size: cover;
}
#b7{
    background-image: url(../img2/CYF-07.webp);
    background-position: center center;
    background-size: cover;
}

#b8{
    background-image: url(../img2/CYF-08.webp);
    background-position: center center;
    background-size: cover;
}



@media (max-width:1580px) {

    .portada h2{
        font-size: 35px;
    }

    .figuras{
        height: 250px;
    }

    .figura{
        height: 150px;
    }

    .figura_2{
        height: 150px;
    }

    .figura_3{
        height: 150px;
    }

    .figura_1{
        height: 150px;
    }

    .frase{
        height: 280px;
        padding: 0 300px;
    }

    .frase h1
    {
        font-size: 30px;
    }

    .frase h2{
        font-size: 30px;
    }


    .mini_baner,.mini_baner2{
        height: 300px;
    }


    .mini_baner h2,.mini_baner2 h2{
        font-size: 50px;
    }

    .Liderazgo h3{
        font-size: 30px;
    }

    .Liderazgo h4{
        font-size: 20px;
    }
    .lista_item{
        font-size: 15px;
    }

}




@media (max-width:470px){

    .logo_formaciones{
        width: 80%;
        bottom: 45%;
        right: 60px;
    }

    .portada h2{
        bottom: 35%;
        right: 50%;
        transform: translateX(50%);
        font-size: 25px;
    }

    .figuras{
        height: 150px;
        margin-top: 40px;
    }

    .figura{
        margin-top: 0;
    }

    .figura_2,.figura_3{
        height: 100px;
        width: 70%;
    }
    .figura_1{
        height: 100px;
        width: 80%;
    }

    .frase{
        height: 200px;
        padding: 0 30px;
    }

    .frase h2,.frase h1{
        font-size: 20px;
    }

    .mini_baner,.mini_baner2{
        height: 200px;
    }

    .mini_baner h2,.mini_baner2 h2{
        font-size: 30px;
    }

    .Liderazgo h3{
        font-size: 20px;
        padding-left: 50px;
    }

    .Liderazgo h4{
        font-size: 16px;
        padding-left: 50px;
    }

    .lista_item{
        font-size: 12px;
    }

    #b1{
        margin-top: 30px;
    }

    .mini_baner{
        clip-path: polygon(100% 0, 8% 0, 0 20%, 0 100%, 100% 100%);
    }

    .mini_baner2{
        clip-path: polygon(92% 0, 0 0, 0 100%, 100% 100%, 100% 20%);
    }

    .lista{
        padding: 0 40px 0px 100px;
    }

    .lista_item::before{
        transform: translateY(-20%);
    }
    












}



