@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,700&display=swap');


*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    position: relative;
    scroll-behavior: smooth;
    font-family: Roboto, sans-serif;
    list-style-type: none;

}
.no-cursor{
    cursor: not-allowed;
}
a:hover{
    text-decoration: underline;
}
img{
    width: 100%;
    max-height: 50vh;
}
button{
    cursor: pointer;
}

button:active {
    transform: translateY(1px);
}
.purple{
    color: purple;
}
#Landing{
    background-color: rgba(115,66,214,0.1)
}
nav{
    height: 80px;
    display: flex;
}
header{
    height: calc(100vh - 80px);

}
.nav__container{
    width: 100%;
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    padding: 0 24px;
}
ul{
    display: flex;

}

.nav__link{
    margin-left: 16px;
    font-size: 20px;
    color: purple;
    font-weight: bold;
    padding: 8px;
}
.nav__link--primary{
    border: 2px solid purple;
    border-radius: 4px;
}

.nav__link--primary:hover{
    text-decoration: none !important;
}
.nav__link:hover{
    text-decoration: underline;
}

.logo{
    width: 160px;

}


.btn__menu{
    background-color: transparent;
    font-size: 40px;
    text-align: center;
    border: none;
    display:none;
    padding-right: 8px;
}
.menu__backdrop{
    position: absolute;
    background-color: #242424;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 3;
    display: flex;justify-content: center;align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 300ms ease;
} 
.menu__links{
    display: flex;
    flex-direction: column;
    align-items: center;

}
.menu--open .menu__backdrop{
    visibility: visible;
    opacity: 1;

}
.menu--open{
    max-height: 100vh;
    overflow-y: hidden;
}

.menu__list{
    padding: 32px 0;
}
.menu__link{
    color: white;
    font-size: 40px;
    
}

.btn__menu--close{
    position: absolute;
    right: 20px;
    top: 10px;
    padding: 8px;
    color: white;
}


/* HEDAER-_--------*/

.header__container{
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}
h1{
    font-size: 56px;
    color: purple;
    margin-bottom: 24px;
    text-align: center;

}
h2{
    font-size: 32px;
    margin-bottom: 32px;
    text-align: center;
}

.btn{
    background-color: purple;
    color: white;
    padding: 12px 24px;
    font-size: 20px;
    border-radius: 4px;
    border: none;


}
.header__description{
    display: flex;
    flex-direction: column;
    align-items: center;

}

.header__img--wrapper{
    padding: 20px;
}


.container{
    padding: 56px 0;

}
.row{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
/*---------------------------


HIGHLIGHTS


---------*/
#highlights{
    position: relative;
}

#highlights:before{
   background: url('assets/wave.svg');
   content: "";
   position: absolute;
   width: 100vw;
   height: 12vw;
   top: 1px;
   left: 0;
   z-index: 1;
    background-size: cover;
    background-repeat: no-repeat;
    transform: translateY(-100%);
    overflow-x: hidden;
}
#highlights:after{
    background: url('assets/wave.svg');
    content: "";
    position: absolute;
    width: 100vw;
    height: 12vw;
    bottom: 1px;
    left: 0;
    z-index: 1;
    background-size: cover;
    background-repeat: no-repeat;
    transform: translateY(100%) rotate(180deg);
    
}
.highlight{
    padding: 0 24px;
    width: calc(100% / 3);
    display: flex;
    flex-direction: column;
    align-items: center;
    
}

.highlight__img{
    display: flex;
    width: 80px;
    height: 80px;
    justify-content: center;
    border: 2px rgb(167, 29, 163) solid;
    align-items: center;
    padding: 24px;
    border-radius: 4px;
    color: rgb(9, 0, 128);
    z-index: 2;

}
.fas{
    font-size: 32px;
   


}
.highlight__para{
    text-align: center;
    padding: 0 16px;
    line-height: 1.5;
    max-width: 280px;
}
.highlight__subtitle{
    text-align: center;
    padding: 16px;
    font-weight: bold;
}
.highlights{
    display: flex;
    justify-content: space-between;
}



#features{
    background-color: rgba(115,66,214,0.1);

    padding-top: 10vw;
}

/*------------------


------------- BOOKS/FEATURES


*/


.books{
    display: flex;
    flex-wrap: wrap;
}
.book{
    width: 25%;
    padding: 16px;
    
}
.book__img{
    max-height: 380px;
    transition: all 300ms ease;
    
}

.book__img--wrapper{
    margin-bottom: 8px;
    border-radius: 4px;

    overflow:hidden;
    display: flex;


}

.book:hover .book__img{
    transform: scale(1.05);
}
.book__title--words{       
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;

    text-align: left;

}

.book__title:hover{
    text-decoration: underline;
    cursor: not-allowed;
}

.book__ratings{
    margin-bottom: 8px;
    color: #fabf2a;


}


.book__price--normal{
    text-decoration: line-through;
    padding-right: 6px;
    color: gray;
}


/* -____-------- EXPLORE*/


#explore{
    background-color: rgba(115,66,214,0.1);
    

}

     

.explore__title{
    font-size: 24px;
    font-weight: bold;

}

.row__column{
    display: flex;
    flex-direction: column;
    align-items: center;

}




/* FOOTERRR___-------------

*/

footer{
    background-color: #242424;

}

.footer__logo--img{
    width: 160px;
    filter: grayscale(1) invert(1);

}
.footer__link,
.footer__copyright{
    color: white;

}

.footer__list{
    margin: 24px;

}
.footer__link{
    padding: 8px;

}
.footer__link:hover .footer__link{
    text-decoration: underline;
}




@media(max-width: 550px){
    .nav__link{
        display: none;
    }

    .btn__menu{
        display:block;
    }
}
/* tablet */

@media(max-width: 768px){
    .header__description{
        padding: 0 24px;
    }
    h1{
        font-size: 40px;

    }
    h2{
        font-size: 26px;
    }
    button{
        font-size: 18px;
    }
    .book{
        width: 50%;
    }

}