@import url('https://fonts.googleapis.com/css2?family=Saira+Condensed:wght@500&display=swap');
/*SECCION PRINCIPAL*/
.princ{
    height: 93.5vh;
    width: 100%;
    /*border: solid red;*/
    background-image: url(../img/top-slider.jpg);
    background-position: center;
    background-size: cover;
    font-family: 'Saira Condensed', sans-serif;
}
.princf{
    /*border: solid blue;*/
    height: 82.5vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.princf div{
    width: 80%;
    /*border: solid teal;*/
}
.princf .mensaje{
    /*border: orange solid;*/
    height: 60%;
}
.princf .mensaje .mensajef{
    /*border: violet solid;*/
    width: 50%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
}
.princf .mensaje .mensajef .c{
    /*border: solid red;*/
    width: 100%;
    height: 30%;
    display: flex;
    align-items: flex-end;
}
.princf .mensaje .mensajef .c h3{
    color: white;
    font-size: 3vw;
    line-height: 4vw;

}
.princf .mensaje .mensajef .t{
    /*border: solid pink;*/
    height: 35%;
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
}
.princf .mensaje .mensajef .t h2 {
    line-height: 6vw;
    font-size: 8vw;
    color: white;
    letter-spacing: .4vw;
    /*border: black solid;*/
    
}
.princf .mensaje .mensajef .t h2 span{
    font-size: 1.2vw;
}
.princf .mensaje .mensajef .bts{
    /*border: solid red;*/
    height: 20%;
}
.princf .mensaje .mensajef .bts a{
    color: black;
    background: orange;
    text-decoration: none;
    padding: .5vw;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
    font-size: 1.3vw;
    transition: ease-out .4s;
}
.princf .mensaje .mensajef a:hover{
    color: orange;
    border: solid;
    transition: ease-in-out .4s;
    background: transparent;
}
.princf .ben{
    /*border: solid red;*/
    height: 40%;
    display: flex;
    justify-content: center;
}
.princf .ben .benf{
    width: 85%;
    height: 70%;
    /*border: solid springgreen;*/
    display: flex;
}
.card:nth-child(1){
    margin-right: 1.25%;
}
.card:nth-child(3){
    margin-left: 1.25%;
}
.princf .ben .benf .card{
    width: 32.5%;
    /*border: solid darkcyan;*/
    display: flex;
    background: rgba(0, 0, 0, .7);
    
}
.princf .ben .benf .card .icon{
    color: orange;
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5vw;
}
.princf .ben .benf .card .desc{
    color: white;
    width: 70%;
    display: flex;
    align-items: center;
    padding: 6% 5%;
    font-size: 1.8vw;
}
/*SECCION CURSOS POPULARES*/
.popular{
    height: 89vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.popular .popularf{
    /*border: solid red;*/
    width: 80%;
    height: 80%;
    font-family: 'Saira Condensed', sans-serif;
}
.ps{
    
    height: 12%;
    display: flex;
    align-items: center;

}
.ps h1{
    border-bottom: solid .3vw;
    font-family: 'Saira Condensed', sans-serif;
}
.popular .popularf .pi{
    /*border: solid gray;*/
    height: 88%;
    display: flex;
    align-items: center;
    
}
.popular .popularf .pi .pif{
    /*border: solid steelblue;*/
    height: 90%;
    width: 100%;
    display: grid;
    align-items: center;
    grid-template-columns: 22.75% 22.75% 22.75% 22.75%;
    grid-gap: 3%;
    
}
.popular .popularf .pi .pif a{
    height: 57vh;
    text-decoration: none;
    color: black;
    
}
.popular .popularf .pi .pif a .tar{
    /*border: solid rebeccapurple;*/
    height: 100%;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .7);
    transition: .3s ease-in-out;
    position: relative;
    

}
.popular .popularf .pi .pif a .tar:hover{
    transform: translateY(-.6vw);
    transition: .3s ease-in-out;
}
.tar .img{
    height: 60%;
    /*border: solid red;*/
}
.tar .img img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.tar .desc{
    height: 25%;
    /*border: solid green;*/
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4%;
    text-align: center;
}
.tar .co{
    display: flex;
    justify-content: center;
    align-items: center;
}
.tar .co .cost{
    width: 80%;
    height: 15%;
    border-top: solid orange 2px;
    display: flex;
    align-items: center;
    font-size: 1.2vw;
}
.tar .co .cost div{
    height: 100%;
    padding: 2.5%;
}
.tar .co .cost .fecha{
    width: 50%;
    /*border: solid red;*/
    display: flex;
    align-items: center;
    justify-content: start;

    
}
.tar .co .cost .precio{
    /*border: blue solid;*/
    width: 50%;
    color: orange;
    display: flex;
    align-items: center;
    justify-content: end;
}

.tlogo{

    width: 5vw;
    height: 5vw;
    position: absolute;
    top: 47%;
    left: 35%;
    
}
.tlogo img{
    width: 100%;
}




/*PARALLAX*/
.parallax{
    height: 25vh;
    background-image: url(../img/1.jpg);
    background-size: cover;
    background-position: bottom;
}
/*CATEGORIAS*/
.categorias{
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    
    
}
.categorias .categoriasf{
    /*border: solid salmon;*/
    width: 80%;
    height: 75%;
    
}
.categoriasf .categorias-cards{
    /*border: solid springgreen;*/
    height: 68%;
    display: grid;
    grid-template-columns: 22% 22% 22% 22% ;
    grid-gap: 4%;
    margin-top: 2.5%;
}
.categorias .categoriasf .categorias-cards a{
    transition: ease-in-out .3s;
    text-decoration: none;
}
.categorias .categoriasf .categorias-cards a:hover{
    transition: ease-in-out .3s;
    transform: scale(1.1);

}
.categorias .categoriasf .categorias-cards a .categoria{
    height: 100%;
    /*border: solid red;*/
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .7);
}
.categorias .categoriasf .categorias-cards a #salud{
    background-image: url(../img/medicina-preventiva.jpg);
    background-size: cover;
}
.categorias .categoriasf .categorias-cards a #idiomas{
    background-image: url(../img/idiomas.jpg);
    background-size: cover;
}
.categorias .categoriasf .categorias-cards a #administracion{
    background-image: url(../img/admin.jpg);
    background-size: cover;
}
.categorias .categoriasf .categorias-cards a #tecnologia{
    background-image: url(../img/tecnology.jpg);
    background-size: cover;
}
.categorias .categoriasf .categorias-cards a .categoria .categoriaf{
    background-color: rgba(0, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.categorias .categoriasf .categorias-cards a .categoria .categoriaf h2{
    font-family: 'Saira Condensed', sans-serif;
}


@media(max-width:1024px)
{
    .princ{
        height: 100vh;
    }
    .princf{
        /*border: solid green;*/
        height: 100%;
    }
    .princf div{
        width: 88%;
    }
    .princf .mensaje{
        /*border: solid red;*/
        height: 45%;
        margin-top: 15vh;
    }
    .princf .mensaje .mensajef{
        /*border: violet solid;*/
        width: 100%;
        align-items: center;
    }
    .princf .mensaje .mensajef .c{
        /*border: solid red;*/
        height: 25%;
        align-items: flex-end;
        justify-content: center;
    }
    .princf .mensaje .mensajef .c h3{
        font-size: 8vw;
        line-height: auto;
    }
    .princf .mensaje .mensajef .t{
        /*border: solid pink;*/
        padding-top: 6vw;
        justify-content: start;
        height: 35%;
        align-items: center;
    }
    .princf .mensaje .mensajef .t h2 {
        font-size: 18vw;
    }
    .princf .mensaje .mensajef .bts{
        /*border: solid red;*/
        height: 20%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .princf .mensaje .mensajef .bts a{
        padding: 2.5vw;
        font-size: 6vw;
    }
    .princf .ben{
        /*border: solid red;*/
        height: 55%;
        display: flex;
        justify-content: center;
    }
    .princf .ben .benf{
        width: 87%;
        height: 100%;
        /*border: solid springgreen;*/
        flex-direction: column;
    }
    .princf .ben .benf .card{
        width: 100%;
        height: 30%;
        margin-bottom: 2.7%;
    }
    .princf .ben .benf .card .icon{
        font-size: 17vw;
    }
    .princf .ben .benf .card .desc{
        align-items: center;
        padding: 6% 5%;
        font-size: 5vw;
    }
    /*SECCION CURSOS POPULARES*/
    .popular{
        height: fit-content;
    }
    .popular .popularf{
        /*border: solid red;*/
        width: 85%;
        height: fit-content;
    }

    .ps{
        /*border: solid indianred;*/
        justify-content: center;
    }
    .ps h1{
        border-bottom: solid 1vw;
    }
    .popular .popularf .pi{
        /*border: solid gray;*/
        margin-top: 2vh;
        justify-content: center;
        height: fit-content;
    }
    .popular .popularf .pi .pif{
        /*border: solid steelblue;*/
        height: fit-content;
        width: 88%;
        justify-content: center;
        grid-template-columns: 85%;
        grid-gap: 0;
        row-gap: 5vw;
        margin-bottom: 2.5vh;
    }
    .popular .popularf .pi .pif a{
        height: 50vh;
        text-decoration: none;
        color: black;
    }
    .tar .co .cost{
        font-size: 4.2vw;
    }
    .tlogo{
        width: 15vw;
        height: 15vw;
    }
    /*CATEGORIAS*/
    .categorias{
        height: fit-content;
    }
    .categorias .categoriasf{
        /*border: solid salmon;*/
        height: 100%;
    }
    .categoriasf .categorias-cards{
        /*border: solid springgreen;*/
        height: 100vh;
        display: grid;
        grid-template-columns: 85% ;
        margin-top: 2.5%;
        justify-content: center;
        margin-bottom: 5vw;
    }
    .categoriasf .categorias-cards a{
        text-decoration: none;
    }
    
   


}