@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root{
    --padding-container: 100px 0;
    --color-title: #fff;
}

body{
    font-family: "Poppins", sans-serif;
    background-color: #ffffff;
}

.container{
    width: 90%;
    max-width: 1500px;
    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-size: cover;
        clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%) ;
        z-index: -1;
        background-image: linear-gradient(180deg, #0000008c 0%,#0000008c 100% ), url('../images/l.png')
    }


    /* Nav */

.nav{
    padding-top: 2cm;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav__title{
    font-weight: auto;
    margin-left: 2rem;
    color: #6eb43d;
}

.nav__es{
    font-weight: 500;
    margin-left: 5rem
}


.nav__link{
    margin-left: auto;
    display: grid;
    gap: .5em;
    grid-template-columns: repeat(4, 150px);
    padding-top: 0cm;
    text-align: center;
}

.nav__item{
    list-style: none;
    position: relative;
    height: 100%;
}


.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;
    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: 2rem;
}

.hero__paragraph{
    margin-bottom: 20px;
}


.ctaa{
    display: inline-block;
    background-color: #1c6631; 
    justify-self: center;
    color: #fff;
    text-decoration: none;
    padding: 5px 5px;
    border-radius: 32px;
    font-size:80%;
}

.ctaa:hover{
    background-color: #132c67;
}

.cta{
    display: inline-block;
    background-color: #1c6631; 
    justify-self: center;
    color: #fff;
    text-decoration: none;
    padding: 13px 30px;
    border-radius: 32px;
}

.cta:hover{
    background-color: #132c67;
}

.ccta{
    display: inline-block;
    background-color: #1c6631; 
    justify-self: center;
    color: #fff;
    text-decoration: none;
    padding: 3px 3px;
    border-radius: 20px;
    font-size:80%;
}

.ccta:hover{
    background-color: #132c67;
}

.cctaa{
    display: inline-block;
    background-color: #6e84a4; 
    justify-self: center;
    color: #fff;
    text-decoration: none;
    padding: 1px 1px;
    border-radius: 20px;
    font-size:70%;
}

.cctaa:hover{
    background-color: #132c67;
}

.ccttaa{
    display: inline-block;
    background-color: #132c67; 
    justify-self: center;
    color: #fff;
    text-decoration: none;
    padding: 1px 1px;
    border-radius: 20px;
    font-size:70%;
}

.ccttaa:hover{
    background-color: #6e84a4;
}


/* About */


.about{
    text-align: center;
}

.about__title{
    color: #2e70b5;
}

.subtitle{
    color: #2e70b5;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.subtitlee{
    color: #14366a;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}


.about__paragraph{
    line-height: 1.7;
    overflow: hidden;
}

.abaut__paragraph{
    text-align: center;
    padding-top: 10px;
}

.aabaut__paragraph{
     padding-top: 0px; 
    display: grid;
    width: 90%;
    gap: 2em; 
    overflow: hidden; 
    text-align:justify;
    font-size:110%;
    line-height: 1;
}

.aabaut__main{
    padding-top: 50px; 
    display: grid;
    width: 90%;
    gap: 1em; 
    overflow:visible; 
    text-align:justify;
    font-size:100%;
    line-height: 2;
}



.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));
    text-align: center;
}


.about__icons{
    display: grid;
    gap: 1em;
    justify-items: center; 
    width: 260px;
    overflow: hidden;
    margin: 0 auto;
    color: #66a86e;
}

.about__icons li{
    margin-bottom: 10px;
}

.about__icon{
    width: 40px;
}



/* Knowledge */

.knowledge{
    background-color: #fff;
    background-image:  radial-gradient(#0fc2de 0.5px, transparent 0.5px), radial-gradient(#0084ff 0.5px, #d1f0ff 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;
    text-align: justify;
}

.knowledge__img{
    width: 130%;
    display: block;
    margin: 0 20px;
}



/* 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: 12px;
    width: 320px;
    padding: 30px;
    --color-plan: #696871;
    --color-price: #1D293F;
    --bg-cta: #fff; 
    --color-cta: #5454D4;
    --color-items: #696871;
}

.price__element--best{
    width: 350px;
    padding: 60px 40px;
    background-color: #182f76;
    --color-plan: rgb(255 255 255 / 75%); 
    --color-price: #fff;
    --bg-cta: #6eb43d; 
    --color-cta: #fff;
    --color-items: #fff;
}


.price_name{
    color: var(--color-plan);
    margin-bottom: 55px;
    font-weight: 300;
}

.price__price{
    font-size: 2.5rem;
    color: var(--color-price);
}

.price__items{
    margin-top: 65px;
    display: grid;
    gap: 1em;
    font-weight: 200;
    font-size: 1.2rem;
    margin-bottom: 50px;
    color: var(--color-items);
}

.price__cta{
    display: block;
    padding: 10px 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);
}

/* Testimony */

.testimony{
    background-color: #d1f0ff;
}

.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: 450px;
    height: 450px;
}

.testimony__texts{
    max-width: 700px;
}

.testimony__course{
    background-color: #428b38;
    color: #fff;
    display: inline-block;
    padding: 5px;
    border-radius: 12px;
    
}

.testimony__arrow{
    width: 90%;
    cursor: pointer;
}

/* Questions */

.questions{
    justify-content: space-evenly;
    text-align: center;
}

.questions__container{
    display: grid;
    gap: 2em;
    padding-top: 50px;
    padding-bottom: 100px;
}

.questions__padding{
    padding: 0;
    transition: padding .3s;
    border: 1px solid #003366;
    border-radius: 15px;
}

.questions__padding--add{
padding-bottom: 30px;
}

.questions__answer{
    padding: 0 30px 0;
    overflow: hidden;    
}

.questions__title{
    text-align: left;
    display: flex;
    font-size: 18px;
    padding: 30px 0 30px;
    cursor: pointer;
    color: #003d7a;
    justify-content: space-between;
}

.questions__arrow{
    border-radius: 50%;
    background-color: #1c6631;
    width: 25px;
    height: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self:flex-start;
    margin-left: 10px;
    transition: transform .8s;
}

.questions__arrow--rotate{
    transform: rotate(180deg);
}

.questions__show{
    text-align:justify;
    height: 0;
    transition: height .8s;
}

.questions__img{
    display: block;
}

.questions__copy{
    width: 60%;
    margin: 0 auto;
    margin-bottom: 30px;
}



/* 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;
    gap: 1em;
    grid-auto-flow: row;
    height: 100%;
}

.nav__link--footer{
    display: flex;
    margin: 0;
    margin-right: 20px;
    flex-wrap: wrap;
    margin-left: auto;
    gap: 4.5em;
}

.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: #428b38;
    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{
    margin-bottom: 10px;
}

.footer__img{
    width: 30px;
}

/* Media queries */

@media (max-width:800px){
    .nav__menu{
        display: block;
    }

    .nav__link--menuu{
        position: fixed;
        background-color: #064903;
        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: 1rem;
    }

    .hero__paragraph{
        font-size: 1rem;
    }

    .subtitle{
        font-size: 1.8rem;
        text-align: center;
    }

    .price__element{
        width: 90%;
    }

    .price__element--best{
        width: 90%;
        /*padding: 40px; */
    }

    .price__price{
        font-size: 2rem;
    }

    .testimony{
        --padding-container:
    }

    .testimony__container{
        grid-template-columns: 28px 1fr 28px;
        gap: .9em;
    }

    .testimony__arrow{
        width: 100%;
    }

    .testimony__course{
        margin-top: 15px;
    }

    .questions__title{
        font-size: 1rem;
    }

    .nav--footer{
        padding: 0;
        margin-bottom: 40px;
    }

    .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-right: auto;
        margin-left: 0;
    }

    /*
    margin:0;
    width: 100%;
    */


}

html{
    scroll-behavior: smooth;
}