*{
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: sans-serif;
}


@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --padding-container: 60px 0;
    --color-title: #001A49;
}

body {
    font-family: 'Poppins', sans-serif;
}

.contenedor{
    width: 1500px;
    background-color: #e5e5f7;
    padding: 30px;
    box-shadow: 0 2px 16px rgba(0, 0, 0,.1);
    border-radius: 20px;
    margin: 0 auto;
}

.tab_box{
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-bottom: 2px solid rgba(229,229,229);
    position: relative;
}

.content_box{
    padding: 20px;
}

.content_box .content{
    display: none;
    animation: moving .7s ease;
}

@Keyframes moving{
    from{transform: translateX(50px);opacity: 0;}
    to{transform: translateX(0px);opacity: 1;}
}


.content_box .content.active{
    display: block;
}

.content_box .content h2{
    margin-bottom: 10px; 
}

.tab_box .tab_btn{
    font-size: 25px;
    font-weight: 600;
    color: #001A49;
    background: none;
    border: none;
    padding: 18px;
    cursor: pointer;
}
.tab_box .tab_btn.active{
    color: #A22A3F;
}

.line{
    position: absolute;
    top: 62px;
    left: 30px;
    width: 90px;
    height: 5px;
    background-color: #A22A3F;
    border-radius: 10px;
    transition: all .3s ease-in-out;
}


.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    padding: var(--padding-container);
}

.hero {
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
    position: relative;
    display: grid;
    grid-template-rows: 100px 1fr;
    color: #fff;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, #0000008c 10%, #0000008c 100%), url('../images/caja.png');
    background-size: cover;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 95%, 0 80%);
    z-index: -1;
}



/*Cards*/
.container-card{
    width: 100%;
    display: flex;
    max-width: 1100px;
    margin: auto;
}
.title-cards{
    width: 100%;
    max-width: 1080px;
    margin: auto;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    color: #7a7a7a;
}
.card{
    width: 100%;
    margin: 20px;
    border-radius: 6px;
    overflow: hidden;
    background:#fff;
    box-shadow: 0px 1px 10px rgba(0,0,0,0.2);
    transition: all 400ms ease-out;
    cursor: default;
}
.card:hover{
    box-shadow: 5px 5px 20px rgba(0,0,0,0.4);
    transform: translateY(-3%);
}
.card .contenido-card{
    padding: 15px;
    text-align: center;
}
.card .contenido-card h3{
    margin-bottom: 15px;
    color: #7a7a7a;
}
.card .contenido-card p{
    line-height: 1.8;
    color: #6a6a6a;
    font-size: 14px;
    margin-bottom: 5px;
}
.card .contenido-card a{
    display: inline-block;
    padding: 10px;
    margin-top: 10px;
    text-decoration: none;
    color: #2fb4cc;
    border: 1px solid #2fb4cc;
    border-radius: 4px;
    transition: all 400ms ease;
    margin-bottom: 5px;
}
.card .contenido-card a:hover{
    background: #2fb4cc;
    color: #fff;
}
@media only screen and (min-width:320px) and (max-width:768px){
    .container-card{
        flex-wrap: wrap;
    }
    .card{
        margin: 15px;
    }
}
/*Fin-Cards*/


/* OTRO MENU AGREGADO*/

.menu-horizontal{
    list-style: none;
    display: flex;
    justify-content: space-around;
}
.menu-horizontal > li > a{
    display: block;
    padding: 8px 15px;
    color: white;
    text-decoration: none;
}
.menu-horizontal > li:hover{
    background-color: #0B6238;
}
.menu-vertical{
    position: absolute;
    display: none;
    list-style: none;
    width: 210px;
    background-color: rgba(0, 0, 0, .5);
}
.menu-horizontal li:hover .menu-vertical{
    display: block;
}
.menu-vertical li:hover{
    background-color: #A22A3F;
}

.menu-vertical li a{
    display: block;
    color: white;
    text-decoration: none;
    padding: 5px 5px 5px 5px;
}



/* Nav */

.nav {
    --padding-container: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav__title {
    border-bottom: 7px solid #FFFFFF;
}

.nav__link {
    margin-left: auto;
    padding: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 2em;
}

.nav__items {
    list-style: none;
}

.nav__links {
    color: #fff;
    text-decoration: none;
}

.nav__menu {
    margin-left: auto;
    cursor: pointer;
    display: none;
}

.nav__img {
    display: block;
    width: 30px;
}


.nav__close {
    display: var(--show, none);
}


/* Hero container */

.hero__container {
    max-width: 800px;
    --padding-container: 0;
    display: grid;
    grid-auto-rows: max-content;
    align-content: center;
    gap: 1em;
    padding-bottom: 100px;
    text-align: center;
}

.hero__title {
    font-size: 3rem;

}

.hero__paragraph {
    margin-bottom: 20px;
}

.cta {
    display: inline-block;
    background-color: #A22A3F;
    justify-self: center;
    color: #fff;
    text-decoration: none;
    padding: 13px 30px;
    border-radius: 32px;
}

/* About */

.about {
    text-align: center;
}

.subtitle {
    color: var(--color-title);
    font-size: 2rem;
    margin-bottom: 25px;
}


.about__paragraph {
    line-height: 1.7;
}

.about__main {
    padding-top: 20px;
    padding-bottom: 20px;
    display: grid;
    width: 100%;
    margin: 0 auto;
    gap: 1em;
    overflow: hidden;
    grid-template-columns: repeat(auto-fit, minmax(260px, auto));
}


.about__icons {
    display: grid;
    gap: 1em;
    justify-items: center;
    width: 260px;
    overflow: hidden;
    margin: 0 auto;
}

.about__icon {
    width: 90px;
}

/* Knowledge */

.knowledge {
    background-color: #eaeaea;
    /*background-image: radial-gradient(#ffffff 0.5px, transparent 0.5px), radial-gradient(#ffffff 0.5px, #ffffff 0.5px);*/
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    overflow: hidden;
}

.knowledge__container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    align-items: center;
}

.knowledge__picture{
    max-width: 600px;
}

.knowledge__paragraph{
    line-height: 1.7;
    margin-bottom: 15px;
}

.knowledge__img{
    width: 100%;
    display: block;
}

/* price */

.price{
    text-align: center;
}

.price__table{
    padding-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 2.5em;
    justify-content: space-evenly;
    align-items: center;
}

.price__element{
    background-color: rgba(0,103,123,0.7);
    text-align: center;
    border-radius: 10px;
    width: 360px;
    padding: 40px;
    --color-plan: #696871;
    --color-price: #1D293F;
    --bg-cta: #fff;
    --color-cta: #5454D4;
    --color-items: #696871;
}

.price__element--best{
    width: 370px;
    padding: 60px 40px;
    background-color: rgba(0,103,123,0.7);
    --color-plan: rgb(255 255 255 / 75%);
    --color-price: #1D293F;
    --bg-cta: #9F3919;
    --color-cta: #FFF;
    --color-items: #fff;
}


.price__name{
    color: var(--color-plan);
    margin-bottom: 15px;
    font-weight: 300;
}

.price__price{
    font-size: 2.5rem;
    color: var(--color-price);
}

.price__items{
    margin-top: 35px;
    display: grid;
    gap: 1em;
    font-weight: 300;
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: #1D293F;
}

.price__cta{
    display: block;
    padding: 20px 0;
    border-radius: 10px;
    text-decoration: none;
    background-color: #0B6238;
    font-weight: 600;
    color: white;
    box-shadow: 0 0 1px rgba(0, 0, 0, .5);
}




.price__element2{
    /*background-color: #e5e5f7;*/
    text-align: center;
    border-radius: 10px;
    width: 250px;
    padding: 5px;
    --color-plan: #696871;
    --color-price: #1D293F;
    --bg-cta: #fff;
    --color-cta: #5454D4;
    --color-items: #696871;
}


/* Testimony */
.testimony{
    background-color: #e5e5f7;
}

.testimony__container{
    display: grid;
    grid-template-columns: 50px 1fr 50px;
    gap: 1em;
    align-items: center;
}

.testimony__body{
    display: grid;
    grid-template-columns: 1fr max-content;
    justify-content: space-between;
    align-items: center;
    gap: 2em;
    grid-column: 2/3;
    grid-row: 1/2;
    opacity: 0;
    pointer-events: none;
}


.testimony__body--show{
    pointer-events: unset;
    opacity: 1;
    transition: opacity 1.5s ease-in-out;
}

.testimony__img{
    width: 350px;
    height: 200px;
    border-radius: 20%;
    object-fit: cover;
    object-position: 15%;
}

.testimony__texts{
    max-width: 700px;
}

.testimony__course{
    background-color: #A22A3F;
    color: #fff;
    display: inline-block;
    padding: 5px;
}
.testimony__course2{
    background-color: #0B6238;
    color: #fff;
    display: inline-block;
    padding: 5px;
}

.testimony__arrow{
    width: 90%;
    cursor: pointer;
}


.Footer{background:#e5e5f7;margin-top:3.5em;padding:0;text-align:center}
.footer-columna{color:#001A49;display:inline-block;text-align:left;vertical-align:top;width:490px; margin-left:30px}
.footer-columna2{color:#001A49;display:inline-block;text-align:left;vertical-align:top;width:400px}
.footer-columna3{color:#001A49;display:inline-block;text-align:left;vertical-align:top;width:auto; 
padding:0px 20px 10px 0px; text-align:center;height:200px}
.footer-titulo{padding-top:0.5em;font-family:"Lato";font-size:1.2rem}
.footer-titulo2{font-family:"Lato";font-size:1rem;color:yellow; margin-bottom:5px}
.footer-ul{list-style:none; padding:0 0 1em}
.footer-ul span{color:#001A49; font-weight: bold;}.footer-datos{margin:0 auto;width:900px}
.footer-derechos{border-top:1px solid #001A49;color:#001A49;text-align:center;padding:.8em 0;margin:0}


/* Card */

.card{
    background: #E5E5F7;
}

.card__copy{
    margin-top: 20px;
}

.card__container{
    width: 99%;
    margin: 0 auto;
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: repeat(4,1fr);
    gap: 20px;
    grid-template-areas: 
    ".      card1   .    "
    "card2  card1   card3"
    "card2  card4   card3"
    ".      card4   .   ";
}

.card__item{
    padding: 20px;
    background: #fff;
    border-top: 5px solid #A22A3F;
    box-shadow: 0 0 3px rgba(0, 0, 0, .5);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card__img{
    background: var(--color-primary);
    margin-top: 20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.card__title{
    margin: 20px 0;
    font-size: 1.5rem;
}

.card__paragraph{
    font-weight: 300;
    margin-bottom: 20px;
}

.card__item:nth-last-of-type(1){
    grid-area: card1;
}

.card__item:nth-last-of-type(2){
    grid-area: card2;
}

.card__item:nth-last-of-type(3){
    grid-area: card3;
}

.card__item:nth-last-of-type(4){
    grid-area: card4;
}
/* course */

.course{
    --color-title: #fff;
    --color-btn: #fff;
    --text-btn: #444cf7;
    color: var(--color-title);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(0, 1fr);
    /* align-items: center; */
}

.course__about{
    z-index: 100;
    align-self: center;
    width: 97%;
    margin: 0 auto;
    padding: 10px;
    box-shadow: 0 0 6px rgba(0, 0, 0, .5);
    background: var(--color-primary);
    grid-column: 1/4;
    grid-row: 2/-2;
    
}

.course__picture{
  
    margin:0;
    grid-column: 4/-1;
    grid-row: 2/-1;
}

.course__img{
    width: 90%;
    height: 90%;
    object-fit: cover;
}

.course__picture--right{
    grid-column: 1/4;
}

.course__about--left{
    grid-column: 3/-1;
}

.card__item:hover{
    background: #e5e5f7;
    transform: scale(1.0);
    transition:all .2s ease-in-out;
    -webkit-transform:scale(1.1);
}
/* MENU DE TARJETAS PRINCIPAL */
.price__element:hover{
    background: rgba(0,103,123,0.7);
    box-shadow: 5px 5px 20px rgba(0,0,0,0.4);
    transform: translateY(-3%);
    transition:all .5s ease-in-out; 
    background-position: 500px 0px;
    -webkit-transition-property: all;
    transition-property: all;
    transition-duration: 1s;
}

/* MENU DE CREDITOS */
.price__element2:hover{
    /*background: rgba(0,103,123,0.7); COLORES DE TARJETAS*/
    transform: scale(2.0);
    transition:all .2s ease-in-out;
    -webkit-transform:scale(1.5);
}

.price__features:hover{
    color: white
}
.price__table h3:hover{
    color: white;
}
.price__table h2:hover{
    color: white;
}

.btnVisitar{
border: 1px solid #2e518b; /*anchura, estilo y color borde*/
padding: 10px; /*espacio alrededor texto*/
background-color: #2e518b; /*color botón*/
color: #ffffff; /*color texto*/
text-decoration: none; /*decoración texto*/
text-transform: uppercase; /*capitalización texto*/
font-family: 'Helvetica', sans-serif; /*tipografía texto*/
border-radius: 50px; /*bordes redondos*/




}

/*WHATSAPP FLOTANTE*/
.whatsapp {
  position:fixed;
  width:60px;
  height:60px;
  bottom:20px;
  right:10px;
  background-color:#25d366;
  color:#FFF;
  border-radius:50px;
  text-align:center;
  font-size:30px;
  z-index:100;
}


.federaciones {
  position:fixed;
  width:40px;
  height:40px;
  bottom:280px;
  left:0px;
  background-color: #eaeaea;
  text-align:center;
  font-size:40px;
  z-index:100;
}

.federaciones:hover{
    width:60px;
    height:60px;    
    transition:all .5s ease-in-out;
    border-radius: 5px;
    border: 5px solid #0B6238;
}


.federaciones1 {
  position:fixed;
  width:40px;
  height:40px;
  bottom:240px;
  left:0px;

  background-color: #eaeaea;
  text-align:center;
  font-size:30px;
  z-index:100;

}

.federaciones1:hover {
   width:60px;
    height:60px;    
    transition:all .5s ease-in-out;
    border-radius: 5px;
    border: 5px solid #0B6238;
}

.federaciones2 {
  position:fixed;
  width:40px;
  height:40px;
  bottom:200px;
  left:0px;

  background-color: #eaeaea;
  text-align:center;
  font-size:30px;
  z-index:100;

}

.federaciones2:hover{
    width:60px;
    height:60px;    
    transition:all .5s ease-in-out;
    border-radius: 5px;
    border: 5px solid #0B6238;
}

.federaciones3 {
  position:fixed;
  width:40px;
  height:40px;
  bottom:160px;
  left:0px;
  background-color: #eaeaea;
  text-align:center;
  font-size:30px;
  z-index:100;
}
.federaciones3:hover {
   width:60px;
    height:60px;    
    transition:all .5s ease-in-out;
    border-radius: 5px;
    border: 5px solid #0B6238;
}

.federaciones4 {
  position:fixed;
  width:40px;
  height:40px;
  bottom:120px;
  left:0px;
 
  background-color: #eaeaea;
  text-align:center;
  font-size:30px;
  z-index:100;
}
.federaciones4:hover {
    width:60px;
    height:60px;    
    transition:all .5s ease-in-out;
    border-radius: 5px;
    border: 5px solid #0B6238;
}

.federaciones5 {
  position:fixed;
  width:40px;
  height:40px;
  bottom:80px;
  left:0px;
  background-color: #eaeaea;
  text-align:center;
  font-size:30px;
  z-index:100;
}

.federaciones5:hover {
   width:60px;
    height:60px;    
    transition:all .5s ease-in-out;
    border-radius: 5px;
    border: 5px solid #0B6238;
}


/*texto alineado*/
.textocontenedor1 {
  margin: 0 auto;
  width:  1100PX;
  height: 700PX;
  border: 5px solid #0B6238;
}

.texto_hijo1 {
  padding-left:30px ;
  padding-right: 30px;
  text-align: justify;
  color: #001A49;
}

/*texto alineado*/
.textocontenedor {
  margin: 0 auto;
}

.texto_hijo {
  padding-left:300px ;
  padding-right: 300px;
  text-align: justify;
  color: #001A49;
}


/*texto alineado*/
.contenedorstatus {
  margin: 0 auto;
  width:  1100PX;
  height: 1150PX;
  border: 5px solid #0B6238;
}

/*texto ahorradormenor*/
.ahorromenor {
  margin: 0 auto;
  width:  1100PX;
  height: 930PX;
  border: 5px solid #0B6238;
}

/*texto ahorradormenor*/
.ahorroinfantil {
  margin: 0 auto;
  width:  1100PX;
  height: 1050PX;
  border: 5px solid #0B6238;
}

/*texto ahorradormenor*/
.garantia_liquida {
  margin: 0 auto;
  width:  1100PX;
  height: 1050PX;
  border: 5px solid #0B6238;
}

/*texto ahorradormenor*/
.inversion_plazofijo {
  margin: 0 auto;
  width:  1100PX;
  height: 1530PX;
  border: 5px solid #0B6238;
}

/*texto ahorradormenor*/
.ahorromenor2 {
  margin: 0 auto;
  width:  1100PX;
  height: 180PX;
  border: 5px solid #0B6238;
}

/*texto alineado*/
.textocontenedor2 {
  margin: 0 auto;
  width:  1100PX;
  height: 1200PX;
  border: 5px solid #0B6238;
}

.texto_hijo2 {
  padding-left:30px ;
  padding-right: 30px;
  text-align: justify;
  color: #001A49;
}


/*texto ahorradormenor*/
.prestamo_empresarial {
  margin: 0 auto;
  width:  1100PX;
  height: 1020PX;
  border: 5px solid #0B6238;
}

/*texto ahorradormenor*/
.prestamo_hipotecarioemp {
  margin: 0 auto;
  width:  1000PX;
  height: 200PX;
}


/*texto alineado*/
.textocontenedor3 {
  margin: 0 auto;
  width:  1100PX;
  height: 200PX;
  border: 5px solid #0B6238;
}

.texto_hijo3 {
  padding-left:30px ;
  padding-right: 30px;
  text-align: justify;
  color: #001A49;
}



/*CONTENEDOR PARA EL MAPA*/
.contenedormaps {
  margin: 0 auto;
  width:  1300PX;
  height: 710PX;
  border: 5px solid #0B6238;
}



/*TBALA DE DATOS ESTATUS.HTML*/
tabladatos {
    border: solid 1px rgba(255, 255, 255, 0.2);
}

table {
    color: #fff;
    font-size: 8px;
    table-layout: fixed;
    border-collapse: collapse;
}

thead {
    background: #8A0829;
}

th {
    padding:5px ;
    font-weight: 800;
    text-transform: uppercase;
}

td {
    padding: 3px;
}


tbody tr {
    background: rgb(88, 91, 96);
    cursor: pointer;
}

tbody tr:hover {
    background: #0B6238;
}


/* Media queries */

@media (max-width:800px){
    .nav__menu{
        display: block;
    }

    .nav__link--menu{
        position: fixed;
        background-color: #000;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        z-index: 100;
        opacity: 0;
        pointer-events: none;
        transition: .7s opacity;
    }

    .nav__link--show{
        --show: block;
        opacity:1 ;
        pointer-events: unset;
    }

    .nav__close{
        position: absolute;
        top: 30px;
        right: 30px;
        width: 30px;
        cursor: pointer;
    }

    .hero__title{
        font-size: 2.5rem;
    }


    .about__main{
        gap: 2em;
    }

    .about__icons:last-of-type{
        grid-column: 1/-1;
    }


    .knowledge__container{
        grid-template-columns: 1fr;
        grid-template-rows: max-content 1fr;
        gap: 3em;
        text-align: center;
    }

    .knowledge__picture{
        grid-row: 1/2;
        justify-self: center;
    }

    .testimony__container{
        grid-template-columns: 30px 1fr 30px;
    }

    .testimony__body{
        grid-template-columns: 1fr;
        grid-template-rows: max-content max-content;
        gap: 3em;
        justify-items:center ;
    }


    .testimony__img{
        width: 200px;
        height: 200px;
        
    }

    .questions__copy{
        width: 100%;
    }

    .footer__container{
        flex-wrap: wrap;
    }

    .nav--footer{
        width: 100%;
        justify-items: center;
    }

    .nav__link--footer{
        width: 100%;
        justify-content: space-evenly;
        margin: 0;
    }

    .footer__form{
        width: 100%;
        justify-content: space-evenly;
    }

    .footer__input{
        flex: 1;
    }

}

@media (max-width:600px){
    .hero__title{
        font-size: 2rem;
    }

    .hero__paragraph{
        font-size: 1rem;
    }

    .subtitle{
        font-size: 1.8rem;
    }

    .price__element{
        width: 90%;
    }

    .price__element--best{
        width: 90%;
        /* padding: 40px; */
    }

    .price__price{
        font-size: 2rem;
    }

    .testimony{
        --padding-container: 60px 0;
    }

    .testimony__container{
        grid-template-columns: 28px 1fr 28px;
        gap: .9em;
    }

    .testimony__arrow{
        width: 100%;
    }

    .testimony__course{
        margin-top: 15px;
    }

    .questions__title{
        font-size: 1rem;
    }

    .footer__title{
        justify-self: start;
        margin-bottom: 15px;
    }

    .nav--footer{
        padding-bottom: 60px;
    }

    .nav__link--footer{
        justify-content: space-between;
    }

    .footer__inputs{
        flex-wrap: wrap;
    }

    .footer__input{
        flex-basis: 100%;
        margin: 0;
        margin-bottom: 16px;
    }

    .footer__submit{
        margin-right: auto;
        margin-left: 0;
        

        /* 
        margin:0;
        width: 100%;
        */
    }

}
