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





.animacion{
    margin-bottom: 50px;
    display: flex;
    align-content: center;
    justify-content: center;
    margin-bottom: 60px;
    margin-top: -50px;
}


.modaldos{
    position: fixed;
    top: 0;
    bottom:0;
    left: 0;
    right: 0;
    background-color: rgba(52, 74, 170, 0.281);
    display: flex;

    --opacity: 0;
    --pointer: none;

    opacity: var(--opacity);
    pointer-events: var(--pointer);
    transition: opacity .5s;
}

.modal__closes{
    display: inline-block;
    border: 1px solid;
    padding: 1em 2em;
    text-decoration: none;
    font-weight: 700;
    color: #4472CA;
    border-radius: .4em;
    margin-top: -7px;
}

.modal__closes:hover{

    background-color: #0A369D;
    color: #e5e5f7;

}

.nav__links:hover{
    color: #2091f9;
  
}





/*EDICION PARA MODAL método paypal*/

.modal__closes--paypal{
    display: inline-block;
    border: 1px solid;
    padding: 1em 2em;
    text-decoration: none;
    font-weight: 700;
    color: #4472CA;
    border-radius: .4em;
    margin-top: -7px;
    margin-right: 6rem;
}

.modal__closes--paypal:hover{
    background-color: #0A369D;
    color: #e5e5f7;
}



/*EDICION PARA MODAL mercadopago*/


.cta:hover{  
    background-color: #ffffff;
    color:  #0A369D;
    font-weight: 600;
}


.modal{
    position: fixed;
    top: 0;
    bottom:0;
    left: 0;
    right: 0;
    background-color: rgba(52, 74, 170, 0.281);
    display: flex;

    --opacity: 0;
    --pointer: none;

    opacity: var(--opacity);
    pointer-events: var(--pointer);
    transition: opacity .5s;
}

.modal:target{
    --opacity:1;
    --pointer: unset;
}

.modal__container{
    margin: auto;
    background-color: white;
    width: 90%;
    max-width: 600px;
    max-height: 90%;
    overflow: hidden;
    text-align: center;
    padding: 2.5em 1.5em;
    border-radius: 1em;
}

.modal:target .modal__container{
    animation: show 1s .5s backwards;
}

@keyframes show{
    0%{
        transform: translateY(-150vh);
    }
}

.modal__picture{
    width: 90%;
    margin: 0 auto;
    max-width: 400px;
    margin-bottom: 2em;
}

.modal:target .modal__picture{
    animation: scale .5s 1.5s backwards;
}


/*Modal adaptado a movil*/

@keyframes scale {
    0%{
        transform: scale(0);
    }
    
}

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

.modal__title{
    font-size: 2.5rem;
    font-weight: 200;
}

.modal__title--bold{
    font-weight: 700;
    color: #444df7ab ;
}

.modal__paragraph{
    margin-top: 1em;
    margin-bottom: 1em;
    line-height: 1.5;
}

.modal__close{
    display: inline-block;
    border: 1px solid;
    padding: 1em 2em;
    text-decoration: none;
    font-weight: 700;
    color: #4472CA;
    border-radius: .4em;
}

.modal__close:hover{
    background-color: #0A369D;
    color: #e5e5f7;
}


/*fin modal mercadopago*/





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


}


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

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

#sobre{
    margin-bottom: 5px;
}



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

.hero::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, #0000008c 0%, #00000073 100%), url("https://i.ibb.co/6wpp3HM/portada-principal.jpg");
    background-size: cover;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 95%, 0 80%);
    z-index: -1;
}

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

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

.nav__title{
font-weight: 300;
}

.nav__title:hover{
    animation:pulse;
    animation-duration: 2s;
    cursor: pointer;
    color: #2091f9;
}

.nav__items{
list-style: none;
}


.nav__links{
    color: white;
    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;
    display: grid;
    --padding-container:0;
    grid-auto-rows: max-content;
    align-content: center;
    gap: 1em;
    padding-bottom: 100px;
    text-align: center;
}

.hero__title{
    font-size: 3rem;
    animation: fadeInTopLeft;
    animation-duration: 5s;
}

.hero__paragraph{
    margin-bottom: 20px;
    font-size: 20px;
    animation: fadeInTopRight;
    animation-duration: 5s;
}

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

/*fin del header*/

/*Comienza about (seccion de 3 pasos*/

.about{
    text-align: center;
}

.subtitle{
    color:#0A369D;
    font-size: 2rem;
    margin-bottom: 25px;
}



.about__paragraph{
    line-height: 1.7;
}

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

.about__icon{
    width: 40px;
    margin-top: 20px;

}

.about__icon:hover{
    animation: flip;
    animation-duration: 2s;
}

.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));
}


/*Galeria de fotos estatica*/

#g-paragraph{
    text-align: center;
    margin-top: 90px;
}
/*comienza knowledge (seccion de info)*/

.knowledge{
background-color: #e5e5f71c;
background-image:  radial-gradient(#444df781 0.5px, transparent 0.5px), radial-gradient(#444df771 0.5px, #e5e5f746 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;
    margin-right: 25px;
}

#galeria{
    margin-top: 0px;
}

.knowledge__picture{
    max-width: 500px;
}



.knowledge__img{
    width: 100%;
    display: block;
    margin-left: -10px;
    animation:jallo;
}



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

}

.cta{
    margin-top: 10px;
}



/*fin del knowledge y comienzo de como colaborar*/
.price{
    text-align: center;
}

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

.price__element{
    background-color:#e5e5f7;
    text-align: center;
    border-radius: 10px;
    width: 330px;
    padding: 43px; /*padding dejarlo en 43*/
    --color-plan:#696871;
    --color-price:#1d293f;
    --bg-cta:#FFF;
    --color-cta:#5454d4;
    --color-items:#696871;
}

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

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

.price__items{
    margin-top: 35px;
    display: grid;
    gap: 1rem;
    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;
    font-weight: 600;
    background-color: var(--color-cta);
    box-shadow: 0 0 1px rgba(0, 0, 0, .5);
}

.price__element--best{

    text-align: center;
    border-radius: 10px;
    width: 330px;
    padding: 38.9px; /*padding dejarlo en 38.9*/
    background-color: #0A369D;
    --color-plan:#fcfbff;
    --color-price:#fafcff;
    --bg-cta:#FFF;
    --color-cta:#fbfbff;
    --color-items:#f1f0f7;
}

/*comienzo del slider con historias*/

.testimony{
    background-color: #e5e5f7;
    margin-top: -1px;
}

.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; /*animación*/
}

.testimony__img{
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
}

.testimony__texts{
    max-width: 700px;
}

.testimony__course{
    background-color: royalblue;
    color:#fff;
    display: inline-block;
    padding: 5px;
}

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

/*Preguntas*/



.questions{
    text-align: center;
}

.questions__container{
    display: grid;
    gap: 2em;
    padding-top: 50px;
    padding-bottom: 100px;
    margin-top: 5px;
}

.questions__padding{
    padding: 0;
    transition: padding .3s;
    border: 1px solid #5454d4;
    border-radius: 6px;
}

.questions__padding--add{
    padding-bottom: 30px;   
}

.questions__answer{
    padding: 0 30px 0;
    overflow: hidden;
}

.questions__title{
    text-align: left;
    display: flex;
    font-size: 20px;
    padding: 30px 0 30px;
    cursor: pointer;
    color: var(--color-title);
    justify-content: space-between;
}



.questions__arrow{
    border-radius: 50%;
    background-color:var(--color-title);
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: flex-end;
    margin-left: 10px;
    transition: transform .3s;
}

.questions__arrow--rotate{
transform: rotate(180deg);
}

.questions__show{
    text-align: left;
    height: 0;
    transition: height .3s;
}

.questions__img{
    display: block;
}

.questions__copy{
    width: 60%;
    margin:0 auto;
    margin-bottom: 30px;
}

/*footer*/

.footer{
    background-color: #1d293fb7;
}

.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;
    gap: 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;
    cursor: pointer;
}

.footer__copy{
    --padding-container: 30px 0;
    text-align: center;
    color: #FFF;
}

.footer__copyright{
    font-weight: 300;

}

.footer__icons{
    display: inline-flex;
    margin-bottom: 10px;
}

.footer__img{
    width: 30px;
}

/*Estilos para la galeria*/
.contenedor-imagenes{
    display: flex;
    width: 90%;
    margin: auto;
    justify-content: space-around;
    flex-wrap: wrap;
    border-radius: 10px;
    margin-bottom: 20px;
}

.contenedor-imagenes .imagen{
    width: 32%;
    position: relative;
    height: 650px;
    margin-bottom: 5px;
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0,.75);
   
}

.imagen img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay{
    position: absolute;
    bottom: 0;
    left: 0;
    background: hsla(203, 100%, 38%, 0.781);
    width: 100%;
    height: 0;
    transition: .5s ease;
    overflow: hidden;
}

@media screen and (max-width:1000px){
    .contenedor-imagenes{
        width: 95%;
    }

    .banner-emma{
        display: flex;
        width: 60px;
        height: 100px;
        margin-top: 20px;
        margin-left: 1000px;
        cursor: pointer;
    }
    
}
@media screen and (max-width:700px){
    .contenedor-imagenes{
        width: 90%;
    }

    .contenedor-imagenes .imagen{
        width: 48%;
    }
}
@media screen and (max-width:450px){
    h1{
        font-size: 22px;
    }
    .contenedor-imagenes{
        width: 98%;
    }

    .contenedor-imagenes .imagen{
        width: 80%;
    }
}

.overlay h2{
    color: white;
    font-weight: 300;
    font-size: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    transform: translate(-50%, -50% );
}

.imagen:hover .overlay{
    height: 100%;
    cursor: pointer;

}

/*Fin estilos galeria*/


/*Estilos para la galeria parte dos*/
.contenedor-imagenes--dos{
    display: flex;
    width: 90%;
    margin: auto;
    justify-content: space-around;
    flex-wrap: wrap;
    border-radius: 10px;
    margin-bottom: 20px;
}

.contenedor-imagenes--dos .imagen--dos{
    width: 32%;
    position: relative;
    height: 650px;
    margin-bottom: 5px;
    box-shadow: 0px 0px 3px 0px rgba(0, 0, 0,.75);
}

.imagen--dos img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay--dos{
    position: absolute;
    bottom: 0;
    left: 0;
    background: hsla(106, 100%, 38%, 0.562);
    width: 100%;
    height: 0;
    transition: .5s ease;
    overflow: hidden;
}

@media screen and (max-width:1000px){
    .contenedor-imagenes--dos{
        width: 95%;
    }

    
}
@media screen and (max-width:700px){
    .contenedor-imagenes--dos{
        width: 90%;
    }

    .contenedor-imagenes--dos .imagen--dos{
        width: 48%;
    }
}
@media screen and (max-width:450px){
    h1{
        font-size: 22px;
    }
    .contenedor-imagenes--dos{
        width: 98%;
    }

    .contenedor-imagenes--dos .imagen--dos{
        width: 80%;
    }
}

.overlay--dos h2{
    color: white;
    font-weight: 300;
    font-size: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    transform: translate(-50%, -50% );
}

.imagen--dos:hover .overlay--dos{
    height: 100%;
    cursor: pointer;

}

/*Fin estilos galeria*/


/*Adaptación a móviles página principal*/

@media screen and (max-width:800px){
    .img-show{
        width: 90%;  
    }

    .copy{
        bottom: 20px;
    }

    .bx.bx-x{
        top: 10px;
        font-size: 25px;
    }
    .nav__menu{
        display: block;
    }

    .nav__link--menu{
        position: fixed; 
        background-color: #000000;
        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;
    }

    /*fin de menu para movil*/

    .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-auto-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: 2rem;
    }

    .hsubtitle{
        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: 90%;
    }

    .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%; */
    }

    .knowledge__img{
        margin-left: 10px;
    }

    .banner-emma{
        display: flex;
        max-width: 400px;
        margin-right: -40px;
        width: 300px;
        margin-top: 30px;
        cursor: pointer;
    }

    .caja-banner{
        margin-top: 20px;
        display: flex;
        margin-left:40px;
    }
}


@media screen and (max-width: 400px){
    .modal__closes--paypal{
    display: flex;
    border: 1px solid;
    padding: 0.5em 0.5em;
    text-decoration: none;
    font-weight: 700;
    color: #4472CA;
    border-radius: .4em;
    margin-top: 7px;
    margin-bottom: 7px;
    }

    .modal__closes{
    display: flex;
    border: 1px solid;
    padding: 0.5em 0.5em;
    text-decoration: none;
    font-weight: 700;
    color: #4472CA;
    border-radius: .4em;
    margin-top: 7px;
    margin-bottom: 7px;
    }

    .banner-emma{
        display: flex;
        max-width: 400px;
        margin-right: -40px;
        width: 300px;
        margin-top: 20px;
        cursor: pointer;
    }

    .caja-banner{
        display: flex;
        margin-left:-60px;
    }

    
    

}


@media (max-width: 1202px){

    .banner-emma{
        display: flex;
        max-width: 1202px;
        margin-left: 60px;
        width:1202px;
        margin-top: 20px;
        cursor: pointer;
    }

    .caja-banner{
        display: flex;
        margin-left:-60px;
    }
    

}

@media (max-width: 720px){

    .banner-emma{
        display: flex;
        max-width: 720px;
        margin-right: 1px;
        width: 300px;
        margin-top: 20px;
        cursor: pointer;
    }

    .caja-banner{
        display: flex;
        margin-left:-60px;
    }
    

}
@media (max-width: 2500px){

    .banner-emma{
        display: flex;
        max-width: 2500px;
        margin-right: 1px;
        width: 900px;
        margin-top: 20px;
        cursor: pointer;
    }

    .caja-banner{
        display: flex;
        margin-left:220px;
    }
    .seguir{
        text-decoration: none;
        color: navy;
    }

}


@media (max-width: 480px){

    .banner-emma{
        display: flex;
        max-width: 480px;
        margin-right: 1px;
        width: 300px;
        margin-top: 20px;
        cursor: pointer;
    }

    .caja-banner{
        display: flex;
        margin-left:-60px;
    }
    

}


@media (max-width: 368px){

    .banner-emma{
        display: flex;
        max-width: 360px;
        margin-right: -40px;
        width: 300px;
        margin-top: 20px;
        cursor: pointer;
    }

    .caja-banner{
        display: flex;
        margin-left:-60px;
    }

    .hero:before{ /*Esto centra el banner principal en moviles (360px)*/
        width: 100%;
        height: 100%;
        background-size: 270%;
        background-position-x: -250px;
        background-repeat: no-repeat;
    }
    





.seguir{ /*seguir leyendo slider*/
    text-decoration: none;
    color: rgb(112, 111, 110);
}

.seguir:hover{
    color:#4472CA;
}

.gorrito{
    position: relative;
    margin-top: -17px;
    width: 30px;
    margin-left: 1px;
    transform: rotate(-24deg);
    margin-bottom: 20px;
    margin-right: -20px;
    
}



.banner-emma{
    width: 1230px;
    height: auto;
    margin-left: 60px;
    margin-top: 20px;
    cursor: pointer;
}


}


/*subtitulo slider emma*/
.minititle{
    color: #696871;
    margin-bottom: 10px;
}

/*boton ir a arriba*/
