
  @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

  :root{
    --padding-container: 100px 0;
    --color-title:#001A49;
  }
  body{
    font-family: 'Poppins', sans-serif;
  }

  .img_l{
    width: 3%;
  }


  .container{
    width: 90%;
    max-width: 1200px;
    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 0%, #0000008c 100%), url(../images/Imagen1.jpg) ;
    clip-path: polygon(0 0, 100% 0, 100% 73%, 50% 95%, 0 80%);
    z-index: -1;
  }
  /* nav */
  .nav{
    --padding-container:0;
    height:100% ;
    display: flex;
    align-items: center;
    
  }

  .nav_links:hover{
    color: #FD5D47;
  }
  .nav_title{
    font-weight: 300;
  }
 
  .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;
    gap: 2em;
  }
  .nav_links{
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    gap: 2em;
  }
  .nav_menu{
    margin-left: auto;
    cursor: pointer;
    display: none;
  }
  .nav_img{
    display: block;
    width: 30px;
    color: #FFF;
  }

  .nav_close{
    display: var(--show, none);
    color: #fff;
    background-color: #fff;
  }

  

  /*Hero container*/

  .hero_container{
    max-width: 800px;
    display: grid;
    --padding-container:0;
    grid-auto-rows: max-content;
    align-content: center;
    gap: 1em;
    padding-bottom: 100px;
  }
  .hero_title{
    font-size: 3rem;
  }
  .hero_paragraph{
    margin-bottom: 20px;
  }
  .cta{
    display: inline-block;
    background-color: #2091F9;
    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: 80px;
    display: grid;
    width: 90%;
    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: 250px;
    overflow: hidden;
    margin: 0 auto;
  }
.about_icon{
  width: 40px;
}

/* Knowledge */

.knowledge{
background-color: #e5e5f7;
opacity: 0.8;
background-image:  radial-gradient(#444cf7 0.5px, transparent 0.5px), radial-gradient(#444cf7 0.5px, #e5e5f7 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: 500px;
}
.knowledge_paragraph{
  line-height: 1.7;
  margin-bottom: 15px;
}
.knowledge_img{
  width: 100%;
  display: block;
}
/* price*/

.price{
  text-align: center;
}

.price_table{
  padding-top: 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5em;
  justify-content: space-evenly;
  align-items: center;
}
.price_element{
  background-color: #e5e5f7;
  text-align: center;
  border-radius: 10px;
  width: 330px;
  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: #FF7143;
  --color-plan: rgb(255 255 255 / 75%);
  --color-price:#fff;
  --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: var(--color-items);
}

.price_cta{
  display: block;
  padding: 20px 0;
  border-radius: 10px;
  text-decoration: none;
  background-color: var(--bg-cta);
  font-weight: 600;
  color: var(--color-cta);
  box-shadow: 0 0 1px rgba(0, 0, 0, .5);
}

/* asesores*/
*:before, *:after{
  margin: 0;
  padding: 0;
  outline: 0;
  box-sizing: border-box;
}
.subtitle-card{
  text-align: center;
 margin: 120px;
  
}

.contenedor{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 910px;
  gap: 30px;
  margin: 10%;
  justify-items: center;
  align-items: center;
}

.card{
  height: 250px;
  width: 300px;
  overflow: hidden;
  margin: auto;
  padding: 10px 30px;
  border-radius: 2%;
  border: 1px solid #fff;
  transition: all .4s ease-in-out;
  box-shadow: 0px 1px 5px 0px rgba(0,0,0,0, 0.3);
  text-align: center;
  background: linear-gradient(-135deg, #312a31, #4158d0);
}
.card:hover{
  height: 500px;
  width: 300px;
  border-radius: 5px;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, .5);
}

.card-encabezado img{
  position: relative;
  border-radius: 50%;
  display: block;
  height: 200px;
  width: 200px;
  border-top: 8px solid #fff;
  border-bottom: 8px solid #fff;
  object-fit: cover;
  margin: 20px auto;
  transition: all 0.3s ease;
}

.card-encabezado{
  position: relative;
}

.card-encabezado:before, .card-encabezado:after{
  content: '';
  position: absolute;
  opacity: .7;
}

.card-encabezado:after{
  border-radius: 50%;
  z-index: 20;
  background-color: yellow;
  width: 50px;
  height: 50px;
  top: 0;
  right: 25px;
}
.card-encabezado:before{
  width: 70px;
  height: 70px;
  bottom: 0;
  left: -10;
  border-radius: 20px;
  background-color: rgb(238, 42, 98);
  transform: rotate(120deg);
}

.card-iconos{
  display: flex;
  justify-content: center;
  position: relative;
  margin-bottom: 15px;
  list-style: none;
}

.card-iconos li{
  border-radius: 50px;
  background-color: #fff;
  height: 40px;
  width: 40px;
  margin: 0 5px;
  line-height: 40px;
  text-align: center;
  transform: scale(0);
  transition: all 0.5s ease;
}
.desplazar{
  opacity: 0;
  transition: all .5 ease;
  transform: translateY(-45px);
}
.agrandar{
  transform: scale(0);
  opacity: 0;
  transition: all .4s ease;
}

.card:hover .agrandar{
  opacity: 1;
  transform: scale(1);
}
.card:hover .desplazar{
  transform: translateY(0px);
  opacity: 1;
}
.card-iconos li a{
  color: #7813d6;
  height: 100%;
  width: 100%;
  border-radius: 50%;
  background: #fff;
  display: block;
  line-height: 40px;
  transition: all 0.3s;
}
.card-iconos li a:hover{
  transform: scale(1.1);
  box-shadow: 0 0 5px #7813d6;
}
.card-iconos li:nth-child(1){
  transition-delay: 0.2s;
}
.card-iconos li:nth-child(2){
  transition-delay: 0.3s;
}
.card-iconos li:nth-child(3){
  transition-delay: 0.4s;
}
.desplazar:nth-child(1){
  transition-delay: .1s;
}
.desplazar:nth-child(2){
  transition-delay: .2s;
}
.desplazar:nth-child(3){
  transition-delay: .4s;
}
.info-personal:nth-child(1){
  font-size: 30px;
  font-weight: bold;
  padding: 10px;
  line-height: 25px;
}
.info-personal:nth-child(3){
  margin: 15px 0;
}
.info-personal{
  color: #fff;
}
.card-acciones{
  text-align: center;
  margin-top: 25px;
}
.botones{
  color: #fff;
  border: none;
  border-radius: 30px;
  box-shadow: 0 0 4px rgba(0, 0, 0, .2);
  padding: 8px 15px;
  font-size: 16px;
  width: 80%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, #7579ff, #b224ef);
}

.botones:hover{
  cursor: pointer;
  width: 100%;
}
.botones span{
  margin-right: 10px;
  font-size: 20px;
}
@media screen and(max-width: 600px) {
  .contenedor{
    grid-template-columns: 1fr;
  }
}
@media screen and(max-width: 852px) {
  .contenedor{
  gap: 5px;
  }
}


/* 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: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 30%;
}

.testimony_texts{
  max-width: 700px;
}

.testimony_course{
  background-color: royalblue;
  color: #fff;
  display: inline-block;
  padding: 5px;
}

.testimony_arrow{
  width: 90%;
  cursor: pointer;
}

/* footer*/

.footer{
  background-color: #1D293F;
}

.footer_title{
  font-weight: 300;
  font-size: 2rem;
  margin-bottom: 30px;
}

.footer_title, .footer_newsletter{
  color: #fff;
}

.footer_container{
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #fff;
  padding-bottom: 60px;
}

.nav--footer{
  padding-bottom: 20px;
  display: grid;
  grid-area: 1em;
  grid-auto-flow: row;
  height: 100%;
}

.nav_link--footer{
  display: flex;
  margin: 0;
  margin-right: 20px;
  flex-wrap: wrap;
}

.footer_inputs{
  margin-top: 10px;
  display: flex;
  overflow: hidden;
}

.footer_input{
  background-color: #fff;
  height: 50px;
  display: block;
  padding-left: 10px;
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
  border: none;
  margin-right: 16px;
}

.footer_submit{
  margin-left: auto;
  display: inline-block;
  height: 50px;
  padding: 0 20px;
  background-color: #2091F9;
  border: none;
  font-size: 1rem;
  color: #fff;
  border-radius: 6px;
}

.footer_copy{
  --padding-container: 30px 0;
  text-align: center;
  color: #fff;
}

.footer_coprynright{
  font-weight: 300;
}

.footer_icons{
  margin-bottom: 20px;
}

.footer_img{
  width: 30px;
}
/*query*/

@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;
  }

  .nav--footer{
    width: 100px;
    justify-items: center;
  }

  .nav_link--footer{
    width: 100px;
    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_container{
    grid-template-columns: 28px 1fr 28px;
    gap: .9em;
  }
  .testimony_arrow{
    width: 100%;
  }

  .testimony_course{
    margin-top: 15px;
  }

  .footer_title{
    justify-self: start;
    margin-bottom: 15px;
  }

  .nav--footer{
    padding-bottom: 40px;
  }

  .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: 0;
    width: 100%;
  }
}

.nav_container{
  text-align: center;
  background-image:  radial-gradient(#444cf7 0.5px, transparent 0.5px), radial-gradient(#444cf7 0.5px, #e5e5f7 0.5px);
}

.abarrotes_aba{
  font-weight: 300;
  margin-bottom: 15px;
  color: white;

}