
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}
.header {
    background-color: #333;
    color: #fff;
    padding: 0px;
    text-align: center;
}
.menu {
    background-color: #444;
    overflow: hidden;
}
.menu a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
}
.menu a:hover {
    background-color: #ddd;
    color: black;
}
.banner {
    width: 100%;
    max-height: 300px;
    overflow: hidden;
}
.banner img {
    width: 100%;
    display: block;
}
.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}
.content {
    flex: 1;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}
.book-detail {
    display: flex;
    max-width: 1200px;
    width: 100%;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    flex-direction: row;
    gap: 20px;
}
.book-detail img {
    width: 250px; /* Fixed width */
    height: auto; /* Maintain aspect ratio */
    max-height: 400px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 20px;
    flex-shrink: 0;
}
.book-description {
    max-width: 600px;
    flex-grow: 1;
}
.book-description h2 {
    margin-bottom: 10px;
}
.book-description p {
    margin-bottom: 20px;
}
.sample-links {
    margin-top: 20px;
}
.sample-links a {
    display: inline-block;
    margin-right: 10px;
    padding: 10px 20px;
    background-color: #444;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
}
.sample-links a:hover {
    background-color: #333;
}
.sample-links img {
    vertical-align: middle;
    margin-right: 8px;
}
.buy-book {
    margin-top: 30px;
}
.buy-book a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
}
.buy-book a:hover {
    background-color: #218838;
}
.buy-book img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 8px;
}
.footer {
    background-color: #333;
    color: white;
    text-align: left;
    padding: 10px 25px 10px 25px;
    position: relative;
    bottom: 0;
    width: 90%;
    flex-shrink: 0;
}
.breadcrumb-nav {
    background-color: #f8f9fa;
    padding: 10px 20px;
    margin-bottom: 0px;
    border-radius: 5px;
}

.breadcrumb {
    display: flex; /* Makes the breadcrumb items display horizontally */
    flex-wrap: nowrap; /* Prevents wrapping to a new line */
    padding: 0;
    margin: 0;
    list-style: none;
    background-color: transparent;
}

.breadcrumb-item {
    font-size: 14px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    padding: 0 10px;
    color: #6c757d;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #6c757d;
}

 /* Popup container - can be anything you want */
 .popup {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Popup content */
.popup-content {
    background-color: #fefefe;
    margin: 5% auto; /* 15% from the top and centered */
    padding: 20px;
/*     border: 1px solid #888;*/
    width: 90%; /* Could be more or less, depending on screen size */
    max-width: 700px;
    position: relative;
}

.popup-mp3-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 40%; /* Could be more or less, depending on screen size */
    max-width: 300px;
    position: relative;
    text-align: center;
}

/* Close button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Disable text selection */
.no-select {
    user-select: none; /* Standard syntax */
    -webkit-user-select: none; /* Chrome/Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE/Edge */
}

/* Button to trigger popup */
.popup-btn {
    display: inline-block;
    padding: 6px 10px;
    background-color: #28a745; /* Green color */
    color: white;
    text-decoration: none;
    border-radius: 0px;
    cursor: pointer;
    font-size: 12px;
    margin: 4px;
    width: 190px;
    height: 70px;
}

.popup-btn:hover {
    background-color: #218838;
}

.popup-btn img {
    vertical-align: middle;
    width: 36px;
    height: 36px;
    aspect-ratio: 36 / 36 ;
    border: none;
    margin-right: 8px;
}





.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #28a745; /* Green color */
    color: white;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    border: none;
    margin-right: 10px;
}

.button:hover {
    background-color: #218838;
}

/* Ensuring icon and text in the button are aligned properly */
.button img {
    margin-right: 10px;
    width: 24px; /* Set a fixed width for the icon */
    height: 24px; /* Set a fixed height for the icon */
    display: inline-block;
    vertical-align: middle;
    aspect-ratio: 24/24 ;
}

/* Responsive button styles for mobile screens */
@media (max-width: 768px) {
    .button {
        padding: 8px 15px;
        font-size: 14px; /* Slightly smaller font size for smaller screens */
        width: 100%; /* Make buttons take up full width */
        margin-bottom: 10px; /* Add space between buttons */
    }
}






/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .book-detail {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .book-detail img {
        margin-right: 0;
        margin-bottom: 20px;
        width: 80%; /* Adjust image width for mobile */
        max-width: 300px;
    }
    .book-description {
        max-width: 100%;
    }
    .buy-book img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    margin-right: 8px;
    border: none;
}
}