* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Gabarito', sans-serif;
    min-height: 100vh;
}

/* ============================================ */
/*            Navbar General Styles             */
/* ============================================ */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px; 
    background-color: #fff;
    border-bottom: 2px solid #800000;
    position: relative;
    flex-wrap: wrap; 
}

/* ============================================ */
/*              Hamburger Menu                  */
/* ============================================ */
.hamburger-menu {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    left: 20px;
    top: 25px;
    margin-left: 5%;
    color: black;
}

/* Logo Styling */ 
.nav-left {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-logo {
    max-height: 70px;
    padding-top: 5px;
    transition: all 0.3s ease-in-out; 
}

/* Navigation Links/Menu */
.nav-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 20px;
}

.nav-menu {
    list-style-type: none;
    display: flex;
    gap: 20px;
}

.nav-menu a {
    text-decoration: none;
    color: #000;
    font-size: 17px;
    font-family: 'Gabarito', sans-serif;
    padding: 4px 6px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-menu a:hover {
    background-color: #800000;
    color: white;
}

/* Mobile Menu when open */
.nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 20px;
    background-color: #fff;
    padding: 20px;
    border: 2px solid #800000;
}

.nav-menu.open li {
    padding: 10px 0;
}


/* ============================================ */
/*                   Sidebar                    */
/* ============================================ */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%; 
    background-color: #800000; 
    padding: 20px; 
    z-index: 1000; 
    transform: translateX(-100%); 
    transition: transform 0.3s ease; 
}

.sidebar-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px; 
}

.sidebar-logo-img {
    margin-top: 25px;
    max-width: 100%; 
    height: auto;
}

.sidebar-logo-img {
    max-height: 150px; 
}

.sidebar-menu {
    list-style: none; 
    padding: 0; 
    width: 100%; 
    display: flex;
    flex-direction: column; 
    align-items: flex-start; 
    margin-left: 10%; 
}

.sidebar-menu li {
    margin: 15px 0; 
    width: 100%; 
    display: flex; 
    align-items: center; 
}

.sidebar-menu a {
    color: white; 
    text-decoration: none; 
    font-size: 18px; 
    display: flex;
    align-items: center;
    padding: 10px;
    position: relative; 
    border-bottom: 4px solid transparent; 
    transition: border-color 0.3s ease; 
}


.sidebar-menu a:hover {
    border-color: white; 
}

/* Background overlay */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 900; 
    display: none; 
}

.background-overlay.active {
    display: block; 
}

.sidebar.active {
    transform: translateX(0); 
}

/* Styles for tablet screens */
@media (min-width: 768px) and (max-width: 1024px) {
    .sidebar {
        width: 40%; 
    }
    
    .sidebar-menu a {
        font-size: 22px; 
    }

    .menu-icon {
        width: 36px; 
        height: 36px;
    }
}

/* Styles for mobile screens */
@media (max-width: 767px) {
    .sidebar {
        width: 60%; 
    }

    .sidebar-menu a {
        font-size: 16px; 
    }

    .menu-icon {
        width: 30px; 
        height: 30px; 
    }
}

/* Hide the sidebar on Desktop */
@media (min-width: 1025px) {
    .sidebar {
        display: none; 
    }
}

/* Search Bar */
.nav-search input {
    padding: 10px 30px 10px 14px;
    font-size: 17px;
    font-family: 'Gabarito', sans-serif;
    border: 1px solid #333;
    border-radius: 20px;
    background: url('icons/search-icon.png') no-repeat right 20px center;
    background-size: 20px 20px;
    margin-left: 20px;
    margin-right: 20px;
}

.nav-search input::placeholder {
    color: #999;
}


@media (max-width: 1024px) { 
    .hamburger-menu {
        display: block; 
    }

    .nav-search {
        display: none;
    }

    .nav-right {
        display: none; 
    }
}


@media (max-width: 768px) {
    .hamburger-menu {
        left: 10px;
        top: 15px;
    }

    .nav-logo {
        max-height: 45px; 
    }

    .nav-menu.open {
        left: 10px;
    }
}

/* ============================================ */
/*              Search Result Section           */
/* ============================================ */
.search-result-container {
    background-color: #fff; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    margin: 20px auto; 
    padding: 0 20px; 
    max-width: 1440px; 
    width: 100%; 
}

.search-result-container h1 {
    width: 100%; 
    text-align: left; 
    font-family: 'Gabarito', sans-serif;
    font-size: 33px;
    margin-bottom: 20px; 
    color: #000;
}

.search-title {
    width: 100%; 
    max-width: 1440px; 
    padding-left: 10%; 
    text-align: left; 
    font-family: 'Gabarito', sans-serif;
    font-size: 33px;
    color: #000;
    margin-top: 30px;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    justify-items: center; 
    align-items: start; 
    max-width: 66%; 
    margin: 0 auto; 
    box-sizing: border-box; 
}

.search-results-title {
    width: 100%; 
    max-width: 1440px; 
    padding-left: 10%; 
    text-align: left; 
    font-family: 'Gabarito', sans-serif;
    font-size: 25px; 
    margin-bottom: 20px; 
    color: #000; 
}

.no-results {
    width: 100%; 
    max-width: 1440px; 
    padding-left: 10%; 
    text-align: left;  
    font-family: 'Gabarito', sans-serif; 
    font-size: 28px; 
    margin-bottom:650px;
}

.book-result-card {
    background-color: #d9d9d9; 
    border-radius: 8px; 
    padding: 20px; 
    height: 575px; 
    width: 320px;
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
    margin: 0; 
    margin-bottom: 20px;
}

.book-image {
    width: 100%; 
    height: 400px; 
    max-height: 500px; 
    object-fit: contain; 
    margin-bottom: 15px; 
}

.book-title {
    font-weight: bold; 
    color: #000; 
    font-size: 23px; 
    margin: 0; 
    padding-left: 3px;
    font-family: 'Gabarito', sans-serif; 
}

.book-author {
    color: #000; 
    font-size: 1.1em; 
    margin: 0; 
    padding-left: 3px;
    font-family: 'Gabarito', sans-serif; 
}

.view-book-link {
    font-family: 'Gabarito', sans-serif; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding: 12px 18px; 
    color: #800000; 
    background-color: #d9d9d9; 
    border: 2px solid #800000; 
    border-radius: 12px; 
    text-decoration: none; 
    font-weight: bold; 
    transition: background-color 0.3s ease; 
    width: 100%; 
    text-align: center; 
    font-size: 18px;
    margin-top: auto; 
}

.view-book-link:hover {
    background-color: #800000; 
    color: #fff;
}

/* Tablet View */
@media (min-width: 768px) and (max-width: 1024px) {
    .search-results-grid {
        grid-template-columns: repeat(2, 1fr); 
        grid-gap: 10px; 
        padding-left: 5%; 
        padding-right: 5%; 
        max-width: 100%; 
    }

    .book-result-card {
        height: 575px; 
        width: 320px; 
    }

    .book-image {
        height: 400px; 
        max-height: 500px; 
    }

    .search-result-container h1 {
        padding-left: 20px; 
        padding-right: 20px; 
        font-size: 28px; 
    }

    .view-book-link {
        font-size: 16px; 
    }
}


@media (min-width: 1024px) and (max-width: 1480px) {
    .search-results-grid {
        grid-template-columns: repeat(2, 1fr); 
        grid-gap: 20px; 
        padding-left: 5%; 
        padding-right: 5%; 
        max-width: 100%; 
    }
}

/* Mobile Layout */
@media (max-width: 767px) {
    .search-result-container {
        padding: 0 20px; 
        margin: 20px auto; 
    }

    .search-results-grid {
        display: flex; 
        flex-direction: column; 
        align-items: center; 
        width: 100%; 
    }

    .book-result-card {
        width: 320px; 
        height: 575px; 
        margin-bottom: 20px; 
    }

    .book-image {
        width: 100%; 
        height: 400px; 
        object-fit: contain; 
    }

    .search-result-container h1 {
        text-align: left; 
        width: 100%;
        font-size: 30px; 
        padding: 0; 
        white-space: nowrap;
        overflow: hidden; 
        text-overflow: ellipsis; 
        margin-bottom: 20px; 
    }
}

/* ============================================ */
/*              Search Bar for Mobile           */
/* ============================================ */
.search-bar-mobile {
    display: none; 
}

@media (max-width: 1024px) { 
    .hamburger-menu {
        display: block; 
    }

    .nav-search {
        display: none; 
    }

    .nav-right {
        display: none; 
    }

    .search-bar-mobile {
        display: flex; 
        position: absolute; 
        right: 10px; 
        top: 50%; 
        transform: translateY(-50%); 
        align-items: center;
        padding: 5px;
    }

    .mainbox {
        box-sizing: border-box;
        position: relative;
        width: 230px; 
        height: 50px; 
        display: flex;
        flex-direction: row-reverse;
        align-items: center; 
        justify-content: center;
        border-radius: 160px;
        background-color: white; 
        border: 2px solid black; 
        transition: width 0.3s ease; 
    }

    .checkbox {
        box-sizing: border-box;
        width: 30px;
        height: 30px;
        position: absolute;
        right: 17px;
        top: 10px; 
        z-index: 9;
        cursor: pointer;
        appearance: none;
    }

    .search_input {
        box-sizing: border-box;
        height: 100%; 
        width: 170px; 
        background-color: transparent; 
        border: none;
        outline: none;
        padding-bottom: 4px;
        padding-left: 10px;
        font-size: 1em;
        color: black; 
        transition: width 0.3s ease; 
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    }

    .search_input::placeholder {
        color: #d9d9d9; 
        font-family: 'Gabarito', sans-serif;
    }

    .iconContainer {
        box-sizing: border-box;
        padding-top: 0; 
        display: flex; 
        align-items: center; 
        width: fit-content;
        transition: padding 0.3s ease; 
    }

    .search_icon {
        box-sizing: border-box;
        fill: black; 
        font-size: 1.3em;
    }

    .checkbox:focus {
        border: none;
        outline: none;
    }

    .checkbox:checked {
        right: 10px;
    }

    .checkbox:checked ~ .mainbox {
        width: 50px; 
    }

    .checkbox:checked ~ .mainbox .search_input {
        width: 0; 
        height: 0; 
        transition: width 0.3s ease, height 0.3s ease; 
    }

    .checkbox:checked ~ .mainbox .iconContainer {
        padding-right: 8px; 
    }
}

/* Smaller screen adjustments for 767px and below */
@media (max-width: 767px) {
    .search-bar-mobile {
        right: 5px; 
    }

    .mainbox {
        width: 100%; 
        height: 45px;
        max-width: 230px; 
        border-radius: 100px; 
        display: flex; 
        align-items: center; 
        padding: 0 10px;
    }

    .search_input {
        height: 100%; 
        font-size: 14px; 
        padding-left: 8px; 
        border-radius: 20px; 
        max-width: 100%; 
        flex-grow: 1; 
        margin-right: 10px; 
    }

    .iconContainer {
        width: 25px; 
        height: 25px; 
        display: flex; 
        align-items: center; 
        justify-content: center; 
        margin-left: -10px; 
    }
}

/* ============================================ */
                    /* Home */
/* ============================================ */

/* Hero Section */
.hero {
    width: 100%; 
    height: 60vh; 
    background-image: url('images-ibooks/banner.svg'); 
    background-size: cover; 
    background-repeat: no-repeat; 
    background-position: center; 
}

/* Change background image for tablet display (1024px) */
@media (max-width: 1024px) {
    .hero {
        background-image: url('images-ibooks/tablet-hero.svg'); 
        height: 50vh; 
        background-size: cover; 
    }
}

/* Change background image for mobile display (768px and below) */
@media (max-width: 768px) {
    .hero {
        background-image: url('images-ibooks/mobile-hero.svg'); 
        height: 40vh; 
        background-size: cover; /
    }
}

/* Category Section */
.categories-container-wrapper {
    background-color: hsl(0, 0%, 96%);
    padding: 10px;
}

.categories-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 0;
    gap: 1%; 
}

h1#popularCategories {
    text-align: center;
    margin: 10px 0;
    font-size: 33px;
    padding-top: 10px;
}

.category {
    background-color: #800000;
    color: white;
    text-align: center;
    width: 235px;
    padding: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 0; 
    margin-bottom: 20px;
}

.category-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    margin: 0;
}

.category h2 {
    margin-top: 5px;
    font-size: 24px;
    margin-bottom: 0;
}

.browse-button {
    display: inline-block;
    background-color: #800000;
    color: #fff;
    padding: 10px 10px;
    text-decoration: none;
    border: 2px solid #800000;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: 18px;
    margin-bottom: 5px;
}

.browse-button:hover {
    background-color: #600000;
}

/* Responsive Layout for Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .categories-container-wrapper {
        background-color: #fff;
        margin-bottom: 25px;
    }

    .categories-container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        justify-items: center; 
        gap: 10px; 
        padding: 10px; 
    }

    .category {
        width: 100%; 
        max-width: 240px; 
        margin: 0; 
    }
}

@media (max-width: 768px) {
    .categories-container-wrapper{
        background-color: #fff;
    }
    
}

/* Video Section */
.video-container {
    background-color: #fff; 
    display: flex;
    justify-content: center; 
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

iframe {
    border-radius: 12px;
}

/* Hide video on screens 1024px and smaller */
@media (max-width: 1024px) {
    .video-container {
        display: none; 
    }
}

/* Featured Author Section */
.featured-author-wrapper {
    background-color: #f5f5f5; 
    padding: 0 20px; 
    display: flex;
    justify-content: center;
}

.featured-author-container {
    display: flex;
    align-items: center;
    max-width: 1100px;
    width: 100%;
    padding: 30px; 
    font-family: 'Gabarito', sans-serif;
    margin-top: 20px;
    margin-bottom: 20px;
}

.author-image {
    width: 180px; 
    height: auto;
    margin-right: 60px; 
}

.author-details {
    flex: 1;
}

.author-details h1 {
    font-size: 2.2em;
    margin-bottom: 10px; 
}

.author-details h2 {
    font-size: 1.3em;
    margin: 8px 0; 
    color: #000;
}

.author-details p {
    font-size: 1.1em;
    line-height: 1.6; 
    color: #000;
    margin-top: 10px; 
}

/* Responsive adjustments for screens 768px and smaller */
@media (max-width: 768px) {
    .featured-author-container {
        flex-direction: column; 
        text-align: center; 
    }

    .author-image {
        margin: 0 auto 20px; 
        width: 150px; 
    }

    .author-details h1 {
        font-size: 1.8em; 
    }

    .author-details h2 {
        font-size: 1.2em;
    }

    .author-details p {
        font-size: 1em;
        text-align: justify;
    }
}

/* Popular Book Section */
.popular-books-section {
    background-color: #fff; 
    padding: 20px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    margin-top: 5px;
    margin-bottom: 10px;
}

.popular-books-section h1 {
    width: 100%; 
    max-width: 1440px; 
    padding-left: 10%; 
    text-align: left;
    font-family: 'Gabarito', sans-serif;
    font-size: 33px;
    margin-bottom: 20px; 
    color: #000;
    position: relative; 
}

.books-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; 
    max-width: 1440px; 
    width: 100%; 
}

.book {
    background-color: #d9d9d9; 
    border-radius: 8px; 
    padding: 20px; 
    width: 250px; 
    height: 470px; 
    text-align: left; 
    font-family: 'Inter', sans-serif;
    display: flex; 
    flex-direction: column; 
    align-items: flex-start; 
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}

.book-cover {
    width: 100%; 
    height: 310px; 
    object-fit: cover; 
    margin-bottom: 10px; 
}

.book h4 {
    font-weight: bold; 
    color: #000; 
    font-size: 18px; 
    margin-bottom: 5px; 
    padding-left: 3px;
}

.book p {
    color: #000; 
    font-size: 1em; 
    margin-bottom: 10px; 
    padding-left: 3px;
}

.view-book-button {
    font-family: 'Gabarito', sans-serif;
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding: 8px 16px; 
    color: #800000; 
    background-color: #d9d9d9; 
    border: 2px solid #800000; 
    border-radius: 12px; 
    text-decoration: none; 
    font-weight: bold; 
    transition: background-color 0.3s ease; 
    width: 100%; 
    text-align: center; 
    font-size: 18px;
    margin-top: 15px;
}

.view-book-button:hover {
    background-color: #800000; 
    color: #fff;
}

/* Responsive adjustments for screens 768px and smaller */
@media (max-width: 768px) {
    .popular-books-section h1 {
        padding-left: 20px; 
        font-size: 28px;
        text-align: center;
    }
}

/* Responsive adjustments for screens 480px and smaller */
@media (max-width: 480px) {
    .popular-books-section h1 {
        font-size: 24px;
        text-align: center; 
    }
}

/* Book Ratings Section */
.book-ratings-section {
    background-color: #f5f5f5; 
    font-family: 'Gabarito', sans-serif; 
    display: flex;
    flex-direction: column; 
    align-items: center; 
    margin-bottom: 0; 
    padding: 20px 0; 
    width: 100%; 
}

.book-ratings-section h1 {
    width: 100%;
    max-width: 1440px;
    padding-left: 10%; 
    text-align: left; 
    font-family: 'Gabarito', sans-serif;
    font-size: 33px;
    margin-bottom: 20px; 
    color: #000;
    position: relative; 
    margin-top: 5px; 
}

.book-ratings-table {
    width: 90%; 
    max-width: 997.5px; 
    border-collapse: collapse;
    margin: 0 auto; 
    border: 1px solid black; 
    table-layout: fixed; 
}

.book-ratings-table th, .book-ratings-table td {
    border: 1px solid black; 
    padding: 10px;
    text-align: center; 
    width: 33.33%; 
}

.book-ratings-table th {
    background-color: #800000;
    color: white;
    font-size: 24px;
}

.book-ratings-table td {
    font-size: 20px;
}

.row-white {
    background-color: #fff;
    color: #000;
}

.row-colored {
    background-color: #800000;
    color: #fff;
}

.star-rating {
    color: #ffc436; 
    font-size: 18px;
}

.book-ratings-section {
    padding-bottom: 30px;
}

/* Media Queries for Responsiveness for Book Ratings Section */
@media (max-width: 1024px) {
    .book-ratings-section {
        padding: 20px 0;
    }

    .book-ratings-table {
        width: 90%; /
    }

    .book-ratings-table th, .book-ratings-table td {
        font-size: 18px; 
        padding: 8px; 
    }

    .book-ratings-section h1 {
        font-size: 28px; 
        text-align: left; 
        padding-left: 50px; 
    }
}

@media (max-width: 768px) {
    .book-ratings-section h1 {
        font-size: 28px; 
        padding-left: 28px; 
        text-align: center;
    }
}

@media (max-width: 480px) {
    .book-ratings-section h1 {
        font-size: 24px; 
    }
}

/* ============================================ */
/*              Collection Section              */
/* ============================================ */
.collections-section {
    display: flex; 
    padding: 20px;
    flex-direction: column; 
    align-items: center; 
    margin-top: 5px;
    margin-bottom: 10px;
}

.collections-title {
    width: 100%; 
    max-width: 1440px; 
    padding-left: 10%;
    text-align: left; 
    font-family: 'Gabarito', sans-serif;
    font-size: 33px;
    margin-bottom: 20px; 
    color: #000;
}

.collection-title {
    display: block; 
    text-align: left; 
    margin-top: 10px; 
    font-family: 'Gabarito', sans-serif; 
    font-size: 1.2em; 
    color: #333; 
    font-weight: bold; 
    padding-left: 10px; 
    margin-bottom: 20px; 
}

.collections-container {
    display: flex; 
    justify-content: center; 
    padding-left: 20px; 
    padding-right: 20px; 
    width: 100%; 
}

.collections-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px; 
    max-width: 100%; 
    overflow: hidden; 
}

.collection-item {
    text-decoration: none; 
    color: inherit; 
}

.collection-image {
    width: 500px; 
    height: 500px; 
    background-size: cover; 
    background-position: center; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    margin: 0 auto; 
    margin-bottom: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.collection-item:hover .collection-image {
    transform: translateY(-10px); 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); 
}

/* Media query for tablets (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .collections-inner {
        grid-template-columns: repeat(2, 1fr); 
    }

    .collections-title {
        padding-left: 5%; 
        font-size: 28px; 
    }

    .collections-container {
        padding-left: 0; 
        padding-right: 20px; 
    }

    .collection-image {
        height: 350px; 
        width: 350px; 
        max-width: 100%; 
    }
}

/* Media query for mobile devices (767px and below) */
@media (max-width: 767px) {
    .collections-inner {
        display: flex; 
        flex-direction: column; 
        overflow-y: auto; 
        gap: 10px; 
    }

    .collections-title {
        padding-left: 10px; 
        font-size: 28px; 
    }

    .collections-container {
        padding-left: 0; 
        padding-right: 0; 
    }

    .collection-image {
        width: 100vw; 
        height: 100vw; 
        max-width: 100%; 
        object-fit: cover; 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    }

    .collection-item {
        display: flex; 
        flex-direction: column; 
        align-items: center; 
        justify-content: center; 
    }

    .collection-title {
        font-family: 'Gabarito', sans-serif; 
        font-size: 1.2em; 
        color: #333; 
        font-weight: bold; 
        text-align: left; 
        margin-top: 10px; 
        margin-left: 10px; 
        width: 100%; 
    }
}

/* ============================================ */
                /* About Section */
/* ============================================ */
.about {
    max-width: 1200px; 
    margin: 10px auto; 
    padding: 20px; 
    font-family: 'Gabarito', sans-serif; 
    color: #000;
}

.about h1 {
    font-size: 33px; 
    margin-bottom: 15px;
}

.about p {
    margin-bottom: 15px; 
    font-size: 18px;
}

.about-image {
    max-width: 100%; 
    height: 500px;
    width: 2000px;
    margin: 20px 0; 
}

.terms {
    max-width: 1200px; 
    margin: 10px auto; 
    padding: 20px; 
    font-family: 'Gabarito', sans-serif; 
    color: #000; 
}

.terms h1 {
    font-size: 33px; 
    margin-bottom: 15px; 
}

.terms p {
    margin-bottom: 15px; 
    font-size: 18px; 
}

.terms ol {
    margin-left: 20px; 
    font-size: 18px; 
}

.terms li {
    padding-bottom: 10px;
    margin-left: 20px;
}

.privacy-policy {
    max-width: 1200px; 
    margin: 10px auto; 
    padding: 20px; 
    font-family: 'Gabarito', sans-serif; 
    color: #000; 
}

.privacy-policy h1 {
    font-size: 33px; 
    margin-bottom: 15px; 
}

.privacy-policy p {
    margin-bottom: 15px; 
    font-size: 18px; 
}

.privacy-policy ol {
    margin-left: 20px; 
    font-size: 18px; 
}

.privacy-policy li {
    padding-bottom: 10px;
    margin-left: 20px;
}

/* ============================================ */
                /* Contact Section */
/* ============================================ */
.contact-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
}

/* Form Container */
.form-container {
    flex: 1; 
    margin-right: 15px;
    background: linear-gradient(180deg, #f7f7f7, #d9d9d9);
    padding: 30px;
    border-radius: 12px;
    min-width: 400px; 
}

h2 {
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 15px;
    font-family: 'Gabarito', sans-serif;
}

p {
    margin-bottom: 15px;
    font-size: 24px;
    font-family: 'Gabarito', sans-serif;
}


.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-size: 25px;
    margin-bottom: 5px;
    font-family: 'Gabarito', sans-serif;

}

.contact-form input, .contact-form textarea {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid #d3d3d3; 
    width: 100%;
    font-family: 'Gabarito', sans-serif;
    font-size: 20px;
    background-color: transparent; 
}

textarea {
    resize: none;
    background-color: transparent; 
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    border-radius: 12px;
}


/* Submit Button / Animation */
.submit-btn {
    padding: 17px 40px; 
    border-radius: 50px; 
    cursor: pointer; 
    border: 0; 
    background-color: #800000; 
    box-shadow: rgb(0 0 0 / 5%) 0 0 8px; 
    letter-spacing: 1.5px; 
    text-transform: uppercase; 
    font-size: 15px; 
    transition: all 0.5s ease; 
    font-family: 'Gabarito', sans-serif;
    color: white;
}

.submit-btn:hover {
    letter-spacing: 3px; 
    background-color: #ffc436; 
    color: white; 
    box-shadow: 0 4px 20px rgba(255, 196, 54, 0.5), 0 0 10px rgba(255, 196, 54, 0.7); 
}

.submit-btn:active {
    letter-spacing: 3px;
    background-color: #ffc436; 
    color: white; 
    box-shadow: 0 2px 10px rgba(255, 196, 54, 0.8), 0 0 5px rgba(255, 196, 54, 1); 
    transform: translateY(10px); 
    transition: 100ms; 
}

/* Reset Button / Animation */
.reset-btn {
    background-color: #800000; 
    color: #fff; 
    padding: 10px 20px; 
    border: 1px solid #ccc; 
    border-radius: 50px; 
    cursor: pointer; 
    font-family: 'Gabarito', sans-serif; 
    font-size: 15px;
    transition: background-color 0.3s ease, transform 0.2s ease; 
}

.reset-btn:hover {
    background-color: #ffc436; 
    color: white; 
    transform: scale(1.05);
}

.reset-btn:active {
    transform: scale(0.95); 
}

/* Overall contact container */
.contact-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    height: auto; 
}

/* Contact Info Container */
.contact-info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    flex: 1; 
}

.email-pic {
    display: block;
    object-fit: contain;
    width: 250px; 
    height: auto;
    max-width: 100%;
    max-height: 250px; 
    margin-top: 20px; 
}

/* Contact Details */
.contact-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    margin-bottom: 30px;
}

.contact-details p {
    display: flex;
    align-items: center; 
    margin-bottom: 10px;
    text-align: left; 
    width: 100%; 
}

.contact-details .icon {
    margin-right: 10px; 
    width: 24px;
    height: 24px;
    display: inline-block;
    vertical-align: middle;
}

.contact-info-container p {
    margin-bottom: 10px;
    font-size: 18px;
    text-align: left; 
    width: auto; 
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.social-icons img {
    width: 40px;              
    height: 40px;             
    border-radius: 50%;       
    object-fit: cover;        
    margin: 0 10px;           
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
}

.social-icons img:hover {
    transform: scale(1.1);   
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); 
}

/* Responsive adjustments for tablets */
@media (min-width: 768px) and (max-width: 1024px) {
    .contact-container {
        flex-direction: row; 
        align-items: flex-start; 
    }

    .form-container {
        flex: 1; 
        margin-right: 30px; 
        min-width: 400px; 
    }

    .contact-info-container {
        flex: 1; 
        max-width: 300px; 
        margin-top: 0; 
    }
}


/* Responsive adjustments for mobile */
@media (max-width: 767px) {
    .contact-container {
        flex-direction: column; 
    }

    .form-container {
        flex: 1; 
        margin-right: 0; 
        margin-bottom: 15px; 
        min-width: 300px; 
    }

    .contact-info-container {
        flex: 0 0 90%; 
        max-width: none; 
        margin: 0 auto;
    }
}

/* Hide the email image on mobile */
@media (max-width: 767px) {
    .contact-info-container .email-pic {
        display: none; 
    }
}

/* ============================================ */
/*              Category Section                */
/* ============================================ */

.book-container-mobile {
    display: none; 
}

.category-section {
    background-color: #fff; 
    padding: 20px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    margin-top: 5px;
    margin-bottom: 10px;
}

.category-section h1 {
    width: 100%; 
    max-width: 1440px; 
    padding-left: 120px; 
    padding-right: 120px; 
    text-align: left; 
    font-family: 'Gabarito', sans-serif;
    font-size: 33px;
    margin-bottom: 20px; 
    color: #000;
}

.books-category-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    grid-gap: 25px; 
    justify-content: center; 
    max-width: 100%; 
    margin: 0 auto;
    padding-left: 0; 
    padding-right: 0;
    box-sizing: border-box; 
}

.book-cover-category {
    background-color: #d9d9d9; 
    border-radius: 8px; 
    padding: 20px; 
    height: 575px; 
    width: 320px;
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
    margin: 0 auto; 
}

.book-picture-cover {
    width: 100%; 
    height: 400px; 
    max-height: 500px; 
    object-fit: contain; 
    margin-bottom: 15px; 
}

.book-cover-category h4 {
    font-weight: bold; 
    color: #000; 
    font-size: 23px; 
    margin: 0; 
    padding-left: 3px;
    font-family: 'Gabarito', sans-serif; 
}

.book-cover-category p {
    color: #000; 
    font-size: 1.1em; 
    margin: 0; 
    padding-left: 3px;
    font-family: 'Gabarito', sans-serif; 
}

.view-book-category {
    font-family: 'Gabarito', sans-serif; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    padding: 12px 18px; 
    color: #800000; 
    background-color: #d9d9d9; 
    border: 2px solid #800000; 
    border-radius: 12px; 
    text-decoration: none; 
    font-weight: bold; 
    transition: background-color 0.3s ease; 
    width: 100%; 
    text-align: center; 
    font-size: 18px;
    margin-top: auto; 
}

.view-book-category:hover {
    background-color: #800000; 
    color: #fff;
}

/* Tablet View */
@media (min-width: 768px) and (max-width: 1024px) {
    .books-category-container {
        grid-template-columns: repeat(2, 1fr); 
        grid-gap: 25px; 
        padding-left: 20px; 
        padding-right: 20px; 
    }

    .book-cover-category {
        height: 575px; 
        width: 320px;
    }

    .book-picture-cover {
        height: 400px; 
        max-height: 500px; 
    }

    .category-section h1 {
        padding-left: 20px; 
        padding-right: 20px; 
        font-size: 28px; 
    }

    .view-book-category {
        font-size: 16px; 
    }
}

/* Show mobile layout on mobile, hide desktop layout */
@media (max-width: 767px) {
    .books-category-container {
        display: flex; 
        flex-direction: column; 
        padding-left: 20px; 
        padding-right: 20px; 
    }

    .book-cover-category {
        width: 100%; 
        margin-bottom: 20px; 
    }

    .category-section h1 {
        text-align: center;
        width: 100%;
        font-size: 30px; 
        padding: 0; 
        white-space: nowrap;
        overflow: hidden; 
        text-overflow: ellipsis; 
    }
}


/* ============================================ */
/*                Books Section                 */
/* ============================================ */
.book-container-size {
    display: flex;
    margin-top: 50px;
    flex-direction: row;
    max-width: 100%;
}

.book-section {
    display: flex;
    flex-direction: column;
    width: 40%; 
    margin-right: 0; 
    align-items: flex-end;
}

.picture-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    padding-right: 10px;
    margin-right: 5%;
}

.book-picture {
    width: 100%; 
    height: 400px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    object-fit: cover;
}

.buy-button {
    width: 200px; 
    height: 50px; 
    background-color: transparent;
    cursor: pointer;
    border: 2px solid #800000;
    border-radius: 12px;
    color: #800000;
    transition: all 0.5s ease-in-out;
    font-family: 'Gabarito', sans-serif;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    justify-content: center; 
    align-items: center;
    text-decoration: none;
    margin-right: 10%;
    overflow: hidden;
    margin-top: 10px;
}


.buy-button::after {
    content: "";
    position: absolute;
    left: 50%; 
    top: 50%; 
    transform: translate(-50%, -50%) scale(0); 
    background-color: #800000;
    border-radius: 50%; 
    height: 300%; 
    width: 300%;  
    z-index: -1; 
    transition: transform 0.5s ease-in-out;
    visibility: hidden; 
}

.buy-button:hover {
    box-shadow: 1px 1px 50px #800000;
    color: #fff;
    border: none;
    transform: translateY(-5px);
}

.buy-button:hover::after {
    visibility: visible;
    transform: translate(-50%, -50%) scale(1); 
}

.buy-button:active {
    transform: translateY(3px); 
    transition: transform 0.1s ease; 
    box-shadow: none; 
}

.genres {
    width: 300px; 
    height: 100px; 
    font-size: 18px;
    margin-top: 15px;
    overflow: hidden; 
    white-space: nowrap; 
    margin-right: 15px;
}

.genres span {
    text-decoration: underline;
    font-style: italic;
}

.book-details {
    display: flex;
    flex-direction: column;
    width: 60%;
    box-sizing: border-box;
    padding-right: 10%;
    margin-left: 0;
}

.book-details h1 {
    font-size: 30px; 
    margin-bottom: 10px;
    max-width: 800px; 
}

.book-details .author {
    font-size: 16px;
    font-style: italic;
    color: #333;
}

.rating span {
    font-size: 24px;
    color: #ffc436;
}

.description {
    line-height: 1.6;
    max-width: 800px; 
    font-size: 16px; 
    margin-bottom: 30px;
    margin-top: 15px;
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1024px) { 
    .book-container-size {
        flex-direction: row; 
        align-items: flex-start; 
    }

    .book-section {
        width: 40%; 
        margin-left: 20px;
    }

    .book-details {
        width: 60%; 
        padding-right: 10%; 
    }

    .book-picture {
        width: 80%; 
        height: auto; 
    }

    .buy-button {
        margin-right: 12%;
    }

    .genres {
        font-size: 16px; 
        text-align: right;
        margin: 0 auto; 
        width: fit-content; 
        margin-top: 15px;
    }


    .book-details h1 {
        font-size: 28px; 
    }

    .book-details .author {
        font-size: 16px; 
    }

    .rating span {
        font-size: 22px; 
    }

    .description {
        font-size: 16px; 
        margin-bottom: 20px; 
    }
}

/* Phone */
@media (max-width: 767px) {
    .book-container-size {
        display: none;
    }

    .book-container-mobile {
        display: flex; 
        flex-direction: column; 
        align-items: center;
        justify-content: center;
        margin: 0 auto; 
        width: 80%; 
        margin-bottom: 20px;
    }

    .mobile-picture-container {
        display: flex; 
        justify-content: center; 
        align-items: center; 
        width: 100%; 
        margin: 0 auto; 
    }

    .mobile-book-picture {
        width: 80%; 
        height: auto;
        border-radius: 8px;
        margin-top: 20px;
        margin-bottom: 25px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    }

    .mobile-genres {
        font-size: 16px;
    }


    .mobile-genres span{
        margin-top: 20px;
        font-size: 16px;
        margin-bottom: 20px;
        text-align: center; 
        text-decoration: underline; 
    }
    

    .mobile-rating {
        color: #ffc436;
        font-size: 25px;
        margin: 5px 0; 
        text-align: center; 
        margin-bottom: 10px;
    }

    .mobile-author {
        font-size: 16px; 
        margin: 5px 0; 
        text-align: center;
    }

    .mobile-book-title {
        font-size: 25px; 
        text-align: center; 
        align-items: center;
        margin: 10px 0; 
    }

    .mobile-description {
        line-height: 1.6;
        font-size: 18px; 
        margin-bottom: 20px; 
        margin-top: 15px;
    }

    .mobile-buy-button {
        width: 200px; 
        height: 50px; 
        background-color: transparent;
        cursor: pointer;
        border: 2px solid #800000;
        border-radius: 12px;
        color: #800000;
        font-family: 'Gabarito', sans-serif;
        font-size: 18px;
        font-weight: 800;
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        position: relative;
        overflow: hidden;
        margin-top: 10px; 
        margin: 0 auto; 
        margin-bottom: 20px;
    }

    .mobile-buy-button::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) scale(0);
        background-color: #800000;
        border-radius: 50%;
        height: 300%;
        width: 300%;
        z-index: -1;
        transition: transform 0.5s ease-in-out;
        visibility: hidden;
    }

    .mobile-buy-button:hover {
        box-shadow: 1px 1px 50px #800000;
        color: #fff;
        border: none;
        transform: translateY(-5px);
    }

    .mobile-buy-button:hover::after {
        visibility: visible;
        transform: translate(-50%, -50%) scale(1);
    }

    .mobile-buy-button:active {
        transform: translateY(3px); 
        transition: transform 0.1s ease; 
        box-shadow: none;
    }
}


/* ============================================ */
                /* Footer Section */
/* ============================================ */

.footer {
    background-color: #800000;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: Roboto, sans-serif;
    color: #fff;
    font-weight: bold;
    padding: 30px 30px 10px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    width: 80%;
    flex: 1;
}

.footer-main {
    display: flex;
    width: 100%;
    align-items: flex-start;
    gap: 100px;
    justify-content: center;
}

.contact-section {
    display: flex;
    flex-direction: column;
    padding-left: 10px;
}

.logo {
    max-width: 350px;
    max-height: 250px;
    margin-top: 10px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
    margin-left: 0;
}

.contact-text {
    font-size: 18px;
    line-height: 18px;
    margin-bottom: 20px;
    font-weight: lighter;
    margin-left: 60px;
}

.email-container {
    display: flex;
    gap: 6px;
    font-size: 18px;
    line-height: 1.3;
    color: #fff;
    text-decoration: none;
}

.email-container:hover {
    text-decoration: underline;
}

.email-icon {
    aspect-ratio: 1.25;
    object-fit: contain;
    object-position: center;
    width: 30px;
    margin-left: 60px;
}

.email-address {
    width: auto;
    font-weight: normal;
    font-family: 'Gabarito', sans-serif;
}

.categories-section, .about-section, .social-section {
    display: flex;
    flex-direction: column;
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 50px;
    margin-top: 10px;
    font-weight: normal;
    margin-left: 0;
}

.section-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.category-item, .about-section a, .social-item {
    margin-top: 6px;
    color: #fff;
    text-decoration: none;
    padding-bottom: 5px;
}

.category-item:hover, .about-section a:hover, .social-item:hover {
    text-decoration: underline;
}

.social-section {
    display: flex;
    flex-direction: column;
    font-size: 20px;
    line-height: 1.3;
    margin-top: 10px;
    font-weight: bold;
}

.social-item {
    display: flex;
    align-items: center; 
    gap: 10px;
    margin-top: 6px;
}

.social-link {
    display: flex;
    align-items: center;
    color: #fff; 
    text-decoration: none; 
    gap: 10px; /
}

.social-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
    object-position: center;
    padding-bottom: 5px;
}

.social-text {
    font-size: 20px;
    margin: 0;
    color: #fff;
}

.footer-divider {
    margin-top: 15px;
    border: 1px thin #fff;
}

.copyright-section {
    justify-content: center;
    margin-top: 10px;
    width: 100%;
    gap: 20px;
    font-size: 15px;
    text-align: center;
    font-family: 'Gabarito', sans-serif;
}

@media (max-width: 1100px) {

    .footer {
        padding: 20px;
    }

    .footer-main {
        flex-direction: row;
        gap: 40px; 
    }

    .contact-text {
        font-size: 16px; 
        margin-left: 75px; 

    }

    .email-container {
        font-size: 16px; 
    }

    .email-icon {
        width: 25px; 
        margin-left: 45px; 
    }

    .categories-section, .about-section, .social-section {
        font-size: 18px; 
    }

    .section-title {
        font-size: 22px; 
    }

    .category-item, .about-section a, .social-item {
        font-size: 16px; 
        margin-top: 4px; 
    }

    .social-icon {
        width: 25px; 
        height: 25px;
    }

    .social-text {
        font-size: 16px; 
    }

    .copyright-section {
        font-size: 10px; 
    }
}

@media (max-width: 900px) {
    .footer-mobile {
        display: none;
    }

    .footer {
        padding: 15px; 
    }

    .footer-main {
        flex-direction: row; 
        gap: 20px; 
    }

    .contact-text {
        font-size: 14px; 
        margin-left: 85px; 
    }

    .email-container {
        font-size: 14px; 
    }

    .email-icon {
        width: 25px; 
        margin-left: 55px; 
    }

    .categories-section,
    .about-section,
    .social-section {
        font-size: 16px; 
    }

    .section-title {
        font-size: 19px; 
    }

    .category-item,
    .about-section a,
    .social-item {
        font-size: 14px; 
        margin-top: 2px; 
    }

    .social-icon {
        width: 20px; 
        height: 20px;
    }

    .social-text {
        font-size: 14px; 
    }

    .copyright-section {
        font-size: 12px; 
    }
}

/* Media Queries for smaller devices (768px and below) */
@media (max-width: 767px) {
    .footer {
        padding: 10px;
        text-align: center; 
    }

    .footer-main {
        flex-direction: column;
        align-items: center; 
        gap: 30px;
    }

    .logo {
        max-width: 100%;
        margin: 0 auto; 
    }

    .contact-info {
        margin-top: 5px;
        display: flex;
        flex-direction: column; 
        align-items: center; 
        justify-content: center; 
        margin: 0 auto; 
        text-align: center; 
    }

    .contact-text {
        display: flex;
        justify-content: center; 
        font-size: 20px; 
        margin: 0 auto;
        margin-bottom: 15px;
        width: 100%;
    }

    .email-container {
        font-size: 105%;
        justify-content: center; 
        display: flex; 
        align-items: center; 
        gap: 5px; 
    }

    .email-icon {
        margin-left: 0; 
    }

    .categories-section, .about-section {
        display: none;
    }

    .contact-section,
    .social-section {
        margin: 0;
        padding: 0;
        border: none; 
    }


    .social-section {
        display: flex;
        flex-direction: column; 
        align-items: center;
        text-align: center;
        margin-bottom: 10px;
    }

    .social-section h2 {
        font-size: 25px;
    }
    
    .social-container {
        display: flex;
        justify-content: center; 
        align-items: center; 
        gap: 15px; 
        width: 100%; 
        flex-wrap: nowrap; 
    }
    
    .social-item {
        display: flex;
        align-items: center; 
    }
    
    .social-icon {
        width: 40px; 
        height: 40px;
        object-fit: contain;
    }
    
    .section-title {
        font-size: 18px;
    }

    .social-text {
        display: none;
    }

    .copyright-section {
        font-family: 'Gabarito', sans-serif;
        font-size: 12px;
    }
}


/* ============================================ */
/*                  Print Query                 */
/* ============================================ */
@media print {
    body {
        color: black;
        background: white;
        font-family: Arial, sans-serif;
    }

    .sidebar, .navbar, .hero, .video-container, .footer, .search-bar-mobile, .hamburger-menu {
        display: none; /* Hide non-essential elements */
    }

    .categories-container-wrapper, .featured-author-wrapper, .popular-books-section, .book-ratings-section {
        margin: 0;
        padding: 0;
    }

    table {
        width: 100%;
        border-collapse: collapse;
    }

    th, td {
        border: 1px solid black;
        padding: 4px; /* Reduced padding for smaller height */
        color: black;
    }

    img {
        display: none; /* Hide images in print */
    }

    a, h1, h2, h4, p, .browse-button, .view-book-link {
        color: black;
        text-decoration: none;
    }

    h1, h2, h4 {
        font-weight: bold;
    }

    .view-book-button {
        color: #000;
        border-color: #000;
    }

    .browse-button {
        border-color: black;
    }

    .category, .book, .featured-author-container {
        background: white;
        box-shadow: none;
    }

    .star-rating {
        color: black;
    }

    .collection-image {
        height: 70px;
        width: 70px;
    }

    .collections-container {
        display: block;
    }

    .collections-inner {
        margin: 0;
        padding: 0;
    }

    .collections-title {
        margin-top: 0;
        margin-bottom: 10px;
        font-size: 24px;
    }

    .collections-section, .collection-item {
        box-shadow: none;
    }

    .background-overlay {
        display: none;
    }

    .form-buttons {
        display: none; 
    }

    .contact-info-container {
        margin-top: 20px; 
    }

    .contact-info {
        margin-top: 20px; 
    }

    .view-book-category {
        background-color: black;
        color: white;           
        text-align: center;      
        border: none;
        text-decoration: none;    
        display: inline-block;    
    }
    
    .books-category-container {
        display: grid; 
        grid-template-columns: repeat(2, 1fr); 
        gap: 10px; 
        margin: 0; 
    }
    
    .book-cover-category {
        max-width: 100%;
        margin: 0;
        width: 90%; 
        height: 250px; 
        box-sizing: border-box; 
        overflow: hidden; 
        display: flex; 
        flex-direction: column; 
        justify-content: space-between; 
    }
    
    .book-picture-cover {
        max-height: 120px; 
        object-fit: cover; 
    }

    .mobile-buy-button {
        background-color: black; 
        color: white;            
        padding: 10px 20px;     
        text-align: center;     
        display: inline-block;   
        text-decoration: none;    
        border-radius: 5px;      
        border-color: black;
    }

    /* Rating */
    .mobile-rating {
        font-size: 1.5em;  
        color: black;       
        margin: 10px 0;  
    }

    .mobile-book-title {
        font-size: 15pt;
    }

    .mobile-description {
        font-size: 10pt;
    }

    .view-book-link {
        background-color: black; 
        color: white;           
        padding: 4px 16px;      
        text-decoration: none;  
        border: 1px solid black; 
        border-radius: 4px;    
        display: inline-block;   
    }

    .book-result-card {
        height: 200px;
    }
}