@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --padding-container: 100px 0;
    --color-title: #6F2842;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: rgb(255,	255, 255, 0.9);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: var(--padding-container);
}

.hero {
    margin: 0 0 0px 0;
    width: 100%;
    position: relative;
    display: grid;
    grid-template-rows: 100px 1fr;
    color: #fff;
    z-index: 1000; /* Asegura que la sección esté por encima del encabezado */
}

/* Nav */
.header {
    position: fixed;
    top: 0;
    padding: 5px;
    width: 100%;
    z-index: 999;
    background-color: white; /* Ajusta el color de fondo según sea necesario */
    transition: background-color 0.3s ease; /* Agrega una transición suave para el cambio de color de fondo */
}

.header.scrolled {
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.nav {
    --padding-container: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav__title {
    font-weight: 300;
    color: black;
}

.nav__link {
    align-items: center;
    margin-left: auto;
    padding: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    gap: 1.5em;
    list-style: none;
}

.logo__imagen{
    display: grid;
    margin-right: 15px;
    max-width:60px;
    max-height: 60px;
}
.user-menu img {
    cursor: pointer;
}
.nav__items {
    list-style: none;
}
.nav__items2 {
    list-style: none;
    display: none;
}
.nav__items:hover{
    color: #596B5A;
    text-decoration-line: underline;
    text-decoration-style: dotted;
    text-decoration-thickness: 2px; 
    text-underline-offset: 5px;
    transform: 1.6s;

}
.nav__links {
    color: #6F2842;
    text-decoration: none;
}
.nav__links:hover{
    color: #596B5A;
}

.nav__menu {
    margin-left: auto;
    cursor: pointer;
    display: none;
}

.nav__img {
    display: block;
    width: 30px;
}
.nav__close {
    display: var(--show, none);
}
.nav__menu2 {
    margin-left: auto;
    cursor: pointer;
}
.nav__img2{
    width: 100%;
    height: 100%;
    max-width: 150px;
    max-height: 150px;
    border-radius: 50%; 
    overflow: hidden;
    
}
.cta {
    margin-top: 15px;
    display: inline-block;
    background-color: black;
    justify-self: center;
    color: #fff;
    text-decoration: none;
    padding: 13px 30px;
    border-radius: 32px;
    border-style: solid;
    border-width: 1.4px 1.4px 1.4px 1.4px;
}

.cta:hover{
    color: #fff;
    background-color: #6F2842;
    transition: .6s;
}

/* Questions */
.subtitle{
    margin-bottom: 10px;
}
.questions{
    text-align: center;
}
.questions__text{
    color: #6F2842;
}
.questions__container{
    display: grid;
    gap: 2em;
    padding-top: 50px;
    padding-bottom: 60px;
}
.questions__content {
    height: 0;
    overflow: hidden;
    transition: height .3s;
}

.questions__padding{
    padding: 0;
    transition: padding .3s;
    border: 1px solid black;
    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;
    align-items: center;
}

.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;
}

.questions__image__Method img{
    max-width: 80%;
    height: auto;
    margin-top: 15px;
    border-radius: 6px;
}

.questions__image {
    margin-top: 15px;
    text-align: center;
}

.questions__image img {
    max-width: 50%;
    height: auto;
    margin-top: 15px;
    border-radius: 6px;
}


/* Footer */

.footer{
    background-color: #6F2842;
}

.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{
    margin-bottom: 10px;
}

.footer__img{
    width: 30px;
}

/* Media queries */

@media (max-width:1100px){
    .nav__items2{
        display: grid;
        margin-top: -200px;
    }
    .nav__menu2{
        display: none;
    }
    .nav__menu{
        display: block;
    }

    .nav__link--menu{
        position: fixed;
        background-color: #000;
        top: 0;
        left: 0;
        height: 100vh;
        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;
    }
} 



@media (max-width:985px){
    .nav__menu{
        display: block;
    }

    .nav__link--menu{
        position: fixed;
        background-color: #000;
        top: 0;
        left: 0;
        height: 100vh;
        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: 2rem;
    }


    .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;
    }
    .nav__title{
        font-size: 1.1rem;
    }
    .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%;
        */
    }
}
@media (max-width:440px){

    .price__price{
        font-size: 1.5rem;
    }

    .testimony__container{
        text-align: center;
        padding: 60px 0 20px 0;
    }

    .Arrow_Mobile{
        display: var(--show);
        size: 50px;    
    }
    .testimony__arrow2{
        cursor: pointer;
        display: grid;
        padding: 0 0 20px 0;
        min-width: 30px;
        min-height: 30px;
    }
    .testimony__arrow{
        display: none;
    }
}
