@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #fb923c;
    --bg-pcolor: #fef3c7;
    --background-quote: white;
}

html,
body {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
}

h1,h2{
    margin: 0;
}

header {
    background-color: white;
}

footer{
    margin: auto;
    padding: 30px;
    text-align: center;
    margin-top: 30px;
}

.btn-primary {
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    background-color: var(--primary-color);
    padding: 5px 10px;
    color: white;
}

a {
    text-decoration: none;
    color: black;
    font-size: larger;
}

a:hover {
    border-bottom: 2px solid var(--primary-color);
}


.flex {
    display: flex;
}

.flex-1 {
    flex: 1;
}

.flex-2 {
    flex: 2;
}

.flex-center{
    justify-content: center;
    align-items: center;
}

.gap {
    gap: 40px;
}

.common-padding {
    padding: 20px;
}

.padding-right{
    padding-right: 60px;
}

.padding-left{
    padding-left: 30px;
}

.non-bullet {
    list-style-type: none;
}

.background-img {
    background-image: url(./images/gale-book.jpg);
    width: 100%;
    height: auto;
    background-size: cover;
    background-repeat: no-repeat;
}

.background-quote{
    background-color: var(--background-quote);
}

.hero {
    width: 95%;
    height: 350px;
}

.move-right {
    justify-content: right;
}

.move-left {
    justify-content: left;
}

.align-center {
    align-items: center;
}

/* ||Kalyani CSS */

.container {
    width: 90%;
    padding: 50px;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 100px;
}

.box {
    width: 250px;
    margin: 0 10px;
    box-shadow: 0 0 20px 2px rgba(red, green, blue, alpha);
    transition: 1s;
}

.box img {
    display: block;
    width: 100%;
    border-radius: 5px;
}

.box:hover {
    transform: scale(1.3);
    z-index: 2;
}

.background-color {
    background-color: var(--bg-pcolor);
}

/* || Sachindra CSS */
.genre {
    padding: 20px 20px 40px 20px;
    /* margin-bottom: 10px; */
}

.drama {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.books {
    background-color: white;
    width: 11.5%;
    min-width: 101px;
    border-radius: 5px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 3px 10px 0 rgba(0, 0, 0, 0.19);
}

.books:hover {
    box-shadow: 0 5px 9px 0 rgba(0, 0, 0, 0.2), 0 7px 22px 0 rgba(0, 0, 0, 0.19);
}

.bookCover {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    max-height: 160px;
}

.bookTitle {
    margin: 0;
    text-align: center;
    padding: 5px;
}

.genreName {
    margin-top: 0;
}

/* ||for JS */
#fiction {
    display: none;
}

#non-fiction {
    display: none;
}

