/* Main Inicio */
main {
    width: 100dvw;
    height: auto;
}
/* Inicio Area Banner */
.portBanner{
    width: 100dvw;
    height: auto;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
}
.textBanner{
    width: 100%;
    height: auto;
    background: var(--color3);
    order: 2;
}
.textBanner h1{
    width: 90%;
    height: auto;
    margin: .5em auto;
    font-family: ubub;
    font-weight: 900;
    font-size: var(--title);
    line-height: .9em;
    color: var(--color2);
}
.textBanner p{
    width: 90%;
    height: auto;
    margin: auto;
    font-family: ubur;
    font-weight: 400;
    font-size: var(--parrafos);
    line-height: 1em;
    color: var(--color2);
}
.textBanner p span{
    width: 90%;
    height: auto;
    font-family: ubub;
    font-weight: 400;
    color: var(--color2);
}
.textBanner a{
    width: 100%;
    height: auto;
    text-decoration: none;
}
.textBanner div a{
    width: auto;
    height: auto;
}
.textBanner div a{
    width: 12em;
    height: 3em;
    background: var(--color4);
    color: var(--color2);
    text-decoration: none;
    font-family: ubub;
    font-weight: 600;
    font-size: var(--parrafos);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2em auto;
}
.banner{
    width: 100dvw;
    height: 13em;
    order: 1;
    background-image: url(../img/people.webp);
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.banner::after{
    content: "";
    width: 100dvw;
    height: 100%;
    position: absolute;
    background: var(--color2);
    opacity: .3;
}
/* Fin Area Banner */
/* Inicio Section Iconos */
.iconos{
    width: 100dvw;
    height: auto;
    margin: 2em 0;
}
.iconos h2{
    width: 90%;
    height: auto;
    font-family: ubur;
    font-weight: 600;
    font-size: var(--subtitle);
    text-align: center;
    margin: 0 auto 1em auto;
    color: var(--color2);
}
.portProduct{
    width: 100dvw;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em;
}
.product{
    width: auto;
    height: 5em;
    text-align: center;
    margin: auto;
}
.product picture{
    width: 100%;
    height: auto;
}
.product picture img{
    width: 3.5em;
    height: auto;
}
#img1 picture img{
    width: 3em;
    height: auto;
}
#img2 picture img{
    width: 4em;
    height: auto;
}
#img3 picture img{
    width: 3.3em;
    height: auto;
}
.product p{
    width: 100%;
    height: auto;
    font-family: ubur;
    font-weight: 400;
    font-size: var(--parrafos);
}
/* Fin Section Iconos */
/* Inicio Carrusel Productos */
aside{
    width: 100%;
    height: 35em;
    position: relative;
}
aside > h2{
    width: 100%; 
    height: auto;
    font-family: ubub;
    font-weight: 600;
    font-size: var(--subtitle);
    text-align: center;
    margin: 2em auto 1em auto;
    color: var(--color2);
}
#rowLeft,
#rowRight{
    display: none;
}
.sliderProducts{
    width: 100dvw;
    height: auto;
    position: absolute;
    top: 5em;
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory ;
    scroll-behavior: smooth;
    background: var(--color5);
    margin: 1em 0 2em 0;
}
.cardProduct{
    width: 16em;
    max-width: 16em;
    height: 24em;
    margin: 2em 0 2em 2em;;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    position: relative;
    flex: 1 0 17em;
    scroll-snap-align: start;
}
.cardProduct a{
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.imgCard{
    width: 16em;
    max-width: 16em;
    height: 20em;
}
.imgCard::after{
    content: "";
    width: 100%;
    height: 20em;
    position: absolute;
    background: var(--color2);
    opacity: .3;
}
.cardProduct h2{
    width: 100%; 
    height: auto;
    font-family: ubub;
    font-weight: 600;
    font-size: var(--subtitle);
    color: var(--color2);
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
}
#ImgLibranza{
    background-image: url(../img/libranza.webp);
    background-position: -4em 0;
    background-repeat: no-repeat;
    background-size: cover;
}
#ImgAsociado{
    background-image: url(../img/asociado.webp);
    background-position: -7em 0;
    background-repeat: no-repeat;
    background-size: cover;
}
#ImgAgro{
    background-image: url(../img/agro.webp);
    background-position: -8em 0;
    background-repeat: no-repeat;
    background-size: 200%;
}
#ImgEmprende{
    background-image: url(../img/emprende.webp);
    background-position: -12em 0;
    background-repeat: no-repeat;
    background-size: 243%;
}
#ImgVivienda{
    background-image: url(../img/vivien.webp);
    background-position: -8em 0;
    background-repeat: no-repeat;
    background-size: cover;
}
#ImgMilitar{
    background-image: url(../img/militar.webp);
    background-position: -11em 0;
    background-repeat: no-repeat;
    background-size: 234%;
}
#ImgPensionado{
    background-image: url(../img/pensionado.webp);
    background-position: -10em 0;
    background-repeat: no-repeat;
    background-size: cover;
}
#ImgEstudio{
    background-image: url(../img/educacion.webp);
    background-position: -3em 0;
    background-repeat: no-repeat;
    background-size: cover;
}
/* Fin Carrusel Productos */
/* Inicio Convenios */
.portConv{
    width: 100dvw;
    height: 43em;
}
.portConv > h2{
    width: 100%; 
    height: auto;
    font-family: ubub;
    font-weight: 600;
    font-size: var(--subtitle);
    text-align: center;
    margin: 2em auto 1em auto;
    color: var(--color2);
}
.contPortConv{
    width: 100dvw;
    height: auto;
    display: flex;
    flex-direction: column-reverse;
}
.portTextAli{
    width: 100%;
    height: auto;
    color: var(--color1);
    position: relative;
}
.contSlider{
    width: 100%;
    height: auto;
    position: absolute;
    /* top: 5em; */
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory ;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.contSlider::-webkit-scrollbar {
    display: none;
}
.cardConv{
    width: 100%;
    height: auto;
    background: var(--color2);
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    position: relative;
    flex: 1 0 100%;
    scroll-snap-align: start;
}
.cardConv h3{
    width: 95%; 
    height: auto;
    font-family: ubub;
    font-weight: 600;
    font-size: var(--parrafos);
    text-align: center;
    padding: 2em 0;
    margin: auto;
}
.cardConv p{
    width: 95%; 
    height: auto;
    font-family: ubur;
    font-weight: 200;
    font-size: var(--parrafos);
    line-height: 1.3em;
    text-align: center;
    margin: 0 auto 1em auto;
}
.cardConv strong{
    width: 95%; 
    height: auto;
    font-family: ubub;
    font-weight: 600;
    font-size: var(--parrafos);
    text-align: left;
    margin: 1em auto;
    display: block;
}
.cardConv ul{
    width: 95%; 
    height: auto;
    font-family: ubur;
    font-weight: 200;
    font-size: var(--parrafos);
    line-height: 1.3em;
    text-align: left;
    margin: 1em auto;
}
.btnRow{
    width: 4em;
    height: 4em;
    background: var(--color4);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: 50%;
    border: 0;
    position: absolute;
    z-index: 11;
}
#rowLeftConv{
    top: -2em;
    left: 1em;
    background-image: url(../img/flecha-2.webp);
    transform: rotate(180deg);
}
#rowRightConv{
    top: -2em;
    right: 1em;
    background-image: url(../img/flecha-2.webp);
}
.portImgAli{
    width: 100%;
    height: 13em;
    background: var(--color3);
    color: var(--color2);
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contSliderImg{
    width: 100%;
    height: 100%;
    position: absolute;
    /* top: 5em; */
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory ;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.contSliderImg::-webkit-scrollbar {
    display: none;
}
.imgConv{
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 80% 20%;
    position: relative;
    flex: 1 0 100%;
    scroll-snap-align: start;
    align-content: center;
}
.portImgAli picture{
    display: flex;
    justify-content: center;
    align-items: center;
}
.portImgAli img{
    width: 12em;
    height: auto;
    margin: auto;
}
.portImgAli p{
    width: auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: ubur;
    font-size: var(--parrafos);
}
.portImgAli p span{
    font-weight: 600;
}
/* Fin Convenios */
/* Main Fin */
@media only screen and (min-width:481px) and (max-width:768px){
/* Main Inicio */
/* Inicio Area Banner */
.portBanner{
    grid-template-columns: repeat(2, 1fr);
}
.textBanner{
    order: 1;
}
.textBanner h1 {
    margin: .1em auto .5em auto;
}
.textBanner div a {
    margin: 1em auto;
}
.banner {
    width: auto;
    height: auto;
    order: 2;
    background-position: -2em 0;
}
.banner::after{
    width: 100%;
    height: 100%;
}
/* Fin Area Banner */
/* Inicio Section Iconos */
.portProduct {
    grid-template-columns: repeat(3, 1fr);
}
/* Fin Section Iconos */
/* Inicio Carrusel Productos */
aside > h2 {
    margin: 2em auto 1em auto;
}
#rowLeft,
#rowRight{
    display: none;
}
/* Fin Carrusel Productos */
/* Inicio Convenios */
.portConv {
    height: auto;
}
.contPortConv {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.portTextAli {
    order: 1;
}
.cardConv h3 {
    text-align: left;
}
.cardConv p {
    text-align: left;
}
#rowRightConv {
    right: calc(-50dvw + 1em);
}
.portImgAli {
    height: 25.3em;
    order: 2;
}
/* Fin Convenios */
/* Main Fin */
}
@media only screen and (min-width:769px) and (max-width:1279px){
    /* Main Inicio */
/* Inicio Area Banner */
.portBanner{
    grid-template-columns: repeat(2, 1fr);
}
.textBanner{
    order: 1;
}
.textBanner h1 {
    margin: .1em auto .5em auto;
}
.textBanner div a {
    margin: 1.1em 0 2em 5%;
}
.banner {
    width: auto;
    height: auto;
    order: 2;
}
.banner::after{
    width: 100%;
    height: 100%;
}
/* Fin Area Banner */
/* Inicio Section Iconos */
.portProduct {
    width: 90dvw;
    display: flex;
    margin: auto;
}
.product {
    display: flex;
    flex-direction: column;
    justify-content: end;
}
/* Fin Section Iconos */
/* Inicio Carrusel Productos */
aside > h2 {
    margin: 4em auto 1em auto;
}
.sliderProducts {
    margin: 0;
}
/* Fin Carrusel Productos */
/* Inicio Convenios */
.portConv {
    height: auto;
}
.contPortConv {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.portTextAli {
    order: 1;
}
.cardConv h3 {
    text-align: left;
}
.cardConv p {
    text-align: left;
}
#rowRightConv {
    right: calc(-50dvw + 1em);
}
.portImgAli {
    height: auto;
    order: 2;
}
/* Fin Convenios */
/* Main Fin */
}
@media only screen and (min-width:1280px){
    /* Main Inicio */
    /* Inicio Area Banner */
    .portBanner{
        width: 95dvw;
        margin: auto;
        grid-template-columns: repeat(2, 1fr);
    }
    .textBanner{
        order: 1;
    }
    .textBanner h1 {
        margin: .5em auto;
        font-size: 5em;
    }
    .textBanner p {
        margin: 2em auto;
        font-size: 1.3em;
    }
    .textBanner div a {
        margin: 1.1em 0 2em 5%;
        cursor: pointer;
    }
    .textBanner div a:hover {
        background: var(--color2);
        color: var(--color4);
        cursor: pointer;
        transition: all .5s;
        animation: btnBorde .5s forwards ease-out;
    }
    .banner {
        width: auto;
        height: auto;
        order: 2;
    }
    .banner::after{
        width: 100%;
        height: 100%;
    }
    /* Fin Area Banner */
    /* Inicio Section Iconos */
    .portProduct {
        width: 50em;
        display: flex;
        margin: auto;
    }
    .product {
        display: flex;
        flex-direction: column;
        justify-content: end;
    }
    /* Fin Section Iconos */
    /* Inicio Carrusel Productos */
    aside > h2 {
        margin: 4em auto 1em auto;
    }
    #rowLeft,
    #rowRight{
        display: initial;
        width: 4em;
        height: 4em;
        background: var(--color2);
        background-position: 50% 50%;
        background-repeat: no-repeat;
        background-size: 50%;
        border: 0;
        position: absolute;
        top: 3em;
        z-index: 11;
    }
    #rowLeft{
        left: 5em;
        background-image: url(../img/flecha.webp);
        transform: rotate(180deg);
    }
    #rowRight{
        right: 5em;
        background-image: url(../img/flecha.webp);
    }
    #rowLeft:hover,
    #rowRight:hover{
        transition: all .3s;
        animation: aniBtnRow .3s forwards ease-out;
        cursor: pointer;
    }
    .sliderProducts{
        width: 95dvw;
        left: 2.5dvw;
        margin: 0;
    }
    .cardProduct a:hover .imgCard {
        height: 24em;
        transition: all 1s;
        animation: aniBorde 1s forwards ease-out;
    }
    .cardProduct a:hover .imgCard::after{
        height: 24em;
        transition: all 1s;
    }
    .cardProduct a:hover > h2 {
        color: var(--color1);
        bottom: .5em;
        font-size: 1.6rem;
        transition: all 1s;
    }
    .cardProduct a:hover #ImgLibranza{
        background-position: -7em 0;
        transition: all 1s;
    }
    .cardProduct a:hover #ImgAsociado{
        background-position: -10em 0;
        transition: all 1s;
    }
    .cardProduct a:hover #ImgAgro{
        background-position: -12em 0;
        transition: all 1s;
        background-size: 240%;
    }
    .cardProduct a:hover #ImgEmprende{
        background-position: -15em 0;
        transition: all 1s;
        background-size: 280%;
    }
    .cardProduct a:hover #ImgVivienda{
        background-position: -11em 0;
        transition: all 1s;
    }
    .cardProduct a:hover #ImgMilitar{
        background-position: -14em 0;
        transition: all 1s;
        background-size: 270%;
    }
    .cardProduct a:hover #ImgPensionado{
        background-position: -13em 0;
        transition: all 1s;
    }
    .cardProduct a:hover #ImgEstudio{
        background-position: -5em 0;
        transition: all 1s;
    }
    /* Fin Carrusel Productos */
    /* Inicio Convenios */
    .portConv {
        height: auto;
    }
    .contPortConv {
        width: 95%;
        margin: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .portTextAli {
        order: 1;
    }
    .cardConv h3 {
        width: 90%;
        text-align: left;
    }
    .cardConv p {
        width: 90%;
        text-align: left;
        margin: 0 auto 2em auto;
    }
    .portImgAli p span {
        font-weight: 900;
    }
    .cardConv strong {
        width: 90%;
    }
    .cardConv ul {
        width: 90%;
    }
    #rowLeftConv {
        top: unset;
        bottom: -2em;
        left: unset;
        right: 2em;
    }
    #rowRightConv {
        top: unset;
        bottom: -2em;
        right: -6em;
    }
    #rowLeftConv:hover,
    #rowRightConv:hover{
        cursor: pointer;
        transition: all .5s;
        animation: aniBtnRow .5s forwards ease-out;
    }
    .portImgAli {
        height: auto;
        order: 2;
    }
    .portImgAli img {
        width: 18em;
    }
    .portImgAli p {
        margin: 0 6%;
    }
    /* Fin Convenios */
    /* Main Fin */
}