
:root {
    --padding-container: 100px 0;
    --color-title: #691C32;
    --primary:#ffffff;
    --secondary:#BC955C;
    --black-text:#98989A;
    --cuarto:#9F2241;
    --quinto:#000;
}



ul, ol {
    list-style:none;
}
 
body{
    font-family: Montserrat, "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.nav > li {
    float:right;
}



.nav li a {
    
    color:#ffffff;
    text-decoration:none;
    padding:10px 12px;
    display:block;
    font-size: large;
}

.nav li a:hover {
    background-color:#f75c5c;
}

.nav li ul {
    display:none;
    position:absolute;
    min-width:140px;
}

.nav li:hover > ul {
    display:block;
}

.nav li ul li {
    position:relative;
}
			
    .nav li ul li ul {
        right:-140px;
        top:0px;
    }
    
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: var(--padding-container);
    padding-top: 150px;
}

.hero {
    width: 100%;
    height: 80vh;
    min-height: 600px;
    max-height: 800px;
    position: relative;
    display: grid;
    grid-template-rows: 100px 1fr;
    color: #fff;
    z-index: 1000;
    transition: opacity 5s ease;
}

header.hidden{
    opacity: 0;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,hsla(342.857, 58%, 26%), hsla(0, 0%, 0%, 0.868)), url('conferencia.jpg');
    background-size: cover;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 95%, 0 80%);
    z-index: -1;
   
}


/* Nav */

*{
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    border: none;
}

nav{
    background-color: var(--secondary);
    height: 15vh;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;

}



.drop-down-menu .drop-down-button{
    font-size: 1.2rem;
    outline: none;
    color: var(--primary);
    padding: 1rem 1rem;
    background-color: inherit;
    font-family: Montserrat-light;
}

.drop-down-menu-content{
    display: none;
    position: absolute;
    background-color: var(--primary);
    min-width: 10rem;
    box-shadow: 0 .8rem 1rem 0 rgba(0,0,00.2);
    z-index: 1;
    font-family: Montserrat-light;
}

.drop-down-menu-content a{
    text-decoration: none;
    float: none;
    color: var(--secondary);
    padding: 1rem 1rem;
    display: block;
    font-family: Montserrat-light;
}

.drop-down-menu-content a:hover{
    background-color: var(--cuarto);
    color: var(--primary);
}

.drop-down-menu:hover .drop-down-menu-content{
    display: block;
}

nav ul{
    display: flex;
}

.drawer{
    font-size: 1rem;
    color: var(--primary);
    float: left;
    cursor: pointer;
    display: none;
    margin-left: 1rem;
    border: solid .1rem var(--primary);
    padding: .1rem;
    border-radius: .1rem;
}

#ckbox{
    display: none;
}
 



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

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

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

.hero__title {
    font-size: 3rem;
}

.hero__paragraph {
    margin-bottom: 20px;
}

.cta {
    display: inline-block;
    background-color: var(--color-title);
    justify-self: center;
    color: #fff;
    text-decoration: none;
    padding: 13px 30px;
    border-radius: 32px;
    font-family: Montserrat-light
                            ;
}

.menu1{
    background-color: #630e0e;
    width: 100%;
    height: 200px;
    margin-bottom: 100px;
}


/* About */

.about {
    text-align: center;
}

.subtitle {
    color: var(--black-text);
    font-size: 2rem;
    margin-bottom: 25px;
    font-family: Montserrat-medium;
}


.about__paragraph {
    line-height: 1.7;
    
}

.ns{
    color: var(--cuarto);
    font-family: Montserrat-medium;
}

.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: 260px;
    overflow: hidden;
    margin: 0 auto;
}

.about__icon {
    width: 40px;
}

/*videos*/
.videos{
    background-color: #ffffff;
    background-image: radial-gradient(#ffffff 0.5px, transparent 0.5px), radial-gradient(#ffffff 0.5px, #691C32 0.5px);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    overflow: hidden;
    margin-top: 3em;
   
}
.subtitle2{color: #ffffff;
font-size: 40px;}
.video__paragraph{
    margin-top:1em ;
    margin-bottom: 2em;
    color: #ffffff;
    font-size: 20px;
}

.video__paragraph2{
    margin-top: 1em;
    color: #ffffff;
    font-size: 20px;
    font-family: Montserrat-light;
}



.cta2{
    
        display: inline-block;
        background: linear-gradient(to right, hsl(0, 0%, 100%), hsl(0, 100%, 85%));
        justify-self: center;
        color: #000000;
        text-decoration: none;
        padding: 13px 30px;
        border-radius: 32px;
        margin-right: 1em;
   
}

.lvs{
    display: inline-block;
    background: var(--black-text);
    color: var(--quinto);
    text-decoration: none;
    padding: 13px 30px;
        border-radius: 32px;
    font-family: Montserrat-light;

}

.lvs:hover{
    color: #809eff;
}







/* Knowledge */

.knowledge {
    background-color: #ffffff;
    background:var(--cuarto);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
    overflow: hidden;
    font-family: Montserrat;
}
.faq-container {    
  max-width: 800px;
  margin: 50px auto 0 auto;
  padding: 2rem;
  font-family: Montserrat;
}
.faq-container h4 {
  margin-bottom: 50px;
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  color: #912525;
}
details { 
  background-color: #faf6f6;
  width: 100%;
  margin-bottom: 1rem;   
  border-radius: 8px;  
  border: 1px solid #fec1c1;
  color: #8a2424;
  position: relative;  
}
details summary {  
  font-weight: 400;
  font-size: 1.25rem;
  padding: 1rem;
  cursor: pointer;
  list-style: none;
}
details p {
  padding: 1rem;
  margin: 0 1rem 1rem 1rem;
  background: var(--secondary);
  border-left: 2px solid var(--quinto);
  color: var(--quinto);
}

details:hover,
details[open] {
  box-shadow: 5px 5px 15px var(--cuarto);
}

details[open] {
  background: #ffffff;
}

details[open] summary {
  font-weight: 600;
}

details summary::before {
  position: absolute;
    content: "▽";    
    font-size: 1.75rem;
    top: 10px;
    right: 16px;  
}

details[open] summary::before {
  -webkit-animation: rotate 0.6s ease-in-out both;
          animation: rotate-emoji 0.6s ease-in-out both;
}
.knowledge__container{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
    align-items: center;
    font-family: Montserrat;
}

.knowledge__picture{
    max-width: 500px;
}

.knowledge__paragraph{
    line-height: 1.7;
    margin-bottom: 15px;
    font-family: Montserrat-light;
    color: var(--primary);
}

.knowledge__img{
    width: 50%;
    display: block;
}
.subtitle1{
    text-align: center;
    color: #630e0e;

}
.questions__copy{
    text-align: center;
    width: 60%;
    margin: 0 auto;
    margin-bottom: 30px;
    font-size: large;
    justify-content: center;
    font-family: Montserrat-light;
}
.questions_correo{
    width: 30%;
    margin: 0 auto;
    margin-bottom: 30px;
    text-decoration: overline;
    color: #ac1c12;
    font-size: large;
    font-family: Montserrat-light;
}
/* Footer */

.footer{
    background: linear-gradient(to top, hsla(342.857, 58%, 26%), hsla(0, 0%, 0%, 0.868));
}

.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: var(--cuarto);
    border: none;
    font-size: 1rem;
    color: var(--primary);
    border-radius: 6px;
    cursor: pointer;
}

.footer__copy{
    --padding-container: 30px 0;
    text-align: center;
    color: var(--primary);
}

.footer__copyright{
    font-weight: 300;
}

.footer__icons{
    margin-bottom: 10px;
}

.footer__img{
    width: 30px;
}

/* Media queries */

@media (max-width:800px){
    

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

@media(max-width:390px){

    .hero{
    width: 30rem;
    content: "";
    top: 0;
    left: 0;
    background: linear-gradient(to top,hsla(342.857, 58%, 26%), hsla(0, 0%, 0%, 0.868)), url('cofepr.jpg');
    background-size: cover;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 50% 50%, 0 50%);
    z-index: -1;
    }
    .menu-box{
        display: block;
    }
    nav{
        margin-top: -300px;
        width: 30rem;
        height: 60vh;
    }

    .knowledge{
        width: 30rem;
    }

    .videos{
        width: 30rem;
    }

    .footer{
        width: 30rem;
    }
}






