/* Normalize */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.hero {
    background: #ffd54f;
    color: #333;
    padding: 40px 0;
    text-align: center;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo h2 {
    font-size: 1.5em;
}

.nav__list {
    display: flex;
    list-style: none;
}

.nav__items {
    margin: 0 10px;
}

.nav__link {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}



/* Hero Section */
.hero__container {
    text-align: center;
    margin-top: 20px;
}

.hero__title {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.hero__paragraph {
    margin-bottom: 20px;
}

.cta {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff7043;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

/* About Section */


/* Contenedor general */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.about {
    text-align: center;
    padding: 50PX 0;
}

.subtitle {
    font-size: 2rem;
    margin-bottom: 20px;
}


.about__paragraph {
    font-size: 1.1 rem;
    margin: 10px 0;
    columns: #555;
}

.about__main {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}


.about__icons {
   flex: 1 1 300px;
   max-width: 400px;
   padding: 20px;
   text-align: center;
   border: 1px solid #dddd;
   border-radius: 8px;
   background-color: #f6f6f60f;
}

.about__image {
    max-width: 80px;
    margin-bottom: 15px;
}

.about__title{
    font-size: 1.5 rem;
    margin: 10px 0;
    color: #46b307;
}



/* Knowledge Section */
.knowledge {
    background: #f0f4c3;
    background-image: radial-gradient(#f0f44cf7 0.5px, transparent 0.5px), radial-gradient(#f0f44cf7 0.5px, #f0f44cf7 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__texts {
    max-width: 600px;
}

.knowledge__paragraph {
    margin-bottom: 20px;
}

.knowledge__img {
    max-width: 100%;
    border-radius: 100px;
}

/* Price Section */
.price__table {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.price__element {
    width: 30%;
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    margin: 10px 0;
}

.price__element--best {
    background: #ffd54f;
}

.price_name {
    font-size: 1.5em;
    color: #ff7043;
}

.price_features {
    margin-top: 10px;
}

/* Testimony Section */
.testimony video {
    width: 100%;
    max-width: 800px;
    display: block;
    margin: 0 auto;
}

/* Questions Section */
.questions {
    padding: 60px 0;
}

.questions__container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.questions__padding {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.questions__title {
    display: flex;
    justify-content: space-between;
    font-size: 1.2em;
    cursor: pointer;
    color: #ff7043;
}

.questions__show {
    margin-top: 10px;
    display: none;
}

.questions__img {
    width: 1000px;
    margin-bottom: 15px;
}

/* Offer Section */
.questions__offer {
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

.questions__copy {
    margin: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .nav__list {
        display: none;
    }

    .about__main,
    .price__table {
        flex-direction: column;
    }

    .price__element {
        width: 100%;
    }
}


/* Footer */

.footer{
    background-color: #ff7043;
}

.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: #90f920;
    border: none;
    font-size: 1rem;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.footer__copy{
    --padding-container: 30px 0;
    text-align: center;
    color: #df4e00;
}

.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--menu{
        position: fixed;
        background-color: #46b307;
        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%;
        */
    }
}





.promotion {
    background-color: #fffbec;
    padding: 20px;
    border: 2px dashed #ffa500;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
}

.promotion__paragraph {
    font-size: 1.1rem;
    line-height: 1.5;
    margin: 10px 0;
    color: #333;
}

.promotion strong {
    color: #ff4500;
}

.subtitle {
    color: #ff6347;
    font-weight: bold;
}
