/* General Styles */
body, .header, nav.navbar.navbar-expand-lg {
    background-color: #ffffff; /* Consistent light grey background */
    
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 65px 100px; /* Adjust padding as necessary */
    background-color: #ffffff !important;  /* Ensures this color has precedence */
}

.navbar-collapse {
    justify-content: center;
}

.navbar-nav .nav-link {
    display: flex;
    justify-content: center;
    width: 100%;
    font-size: 18px;
    line-height: 1.5;
}

/* Media query for screens smaller than 768px */
@media (max-width: 768px) {
    .navbar-collapse {
        display: none;  /* Hide the navbar items on smaller screens */
    }

    .navbar-toggle {
        display: block;  /* Show the hamburger menu icon */
    }
}


/* Font Styles */
body {
    font-family: 'Work Sans', sans-serif;
}

.thin { font-weight: 100; }
.extralight { font-weight: 200; }
.normal { font-weight: 400; }
.medium { font-weight: 500; }
.bold { font-weight: 700; }

/* Menu Item Styles */
.menu-item i {
    margin-right: 5px; /* Adds space between the icon and the text */
    /* color: #333;  Sets the icon color */
    font-size: 16px; /* Sets the size of the icon */
}

.menu-item a {
    text-decoration: none; /* Removes underline from the link */
    /* color: #333;  Sets the text color to match the icon */
}

.menu-item a:hover {
    color: #0056b3; /* Example hover color */
    /* text-decoration: underline;  Adds underline on hover */
}

/* Home Icon / Logo, top left */
.home-icon {
    position: absolute;
    top: -10px;
    left: 50px;
    display: block;
}

.home-icon img {
    width: 200px;
    height: auto;
}

/* Bookshelf */
.bookshelf-container {
    width: 100%;
    height: 80vh;
    padding: 100px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.shelf {
    min-width:80% ;
    /*width: 80%;  Full width of its container */
    height: 20px; /* Height of the shelf */
    background-color: #88400ca3; /* Grey color for the shelf */
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: 300px; /* Adds space above the bookshelf */
    margin-bottom: 20px; /* Space between shelves */
    box-shadow: 0 2px 100px rgba(0, 0, 0, 0.876); /* Optional: adds subtle shadow for depth */
    border-radius: 20px; /* Optional: slightly rounded corners */
    
}

.book {
    position:relative;
    min-width: 70px;
    height: 350px;
    margin: 0 1px 370px; /* Adds bottom margin to separate books from the edge of the shelf */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    align-items: flex-end; /* Aligns the text at the bottom of the spine */
    justify-content: center;
}

.book:hover {
    transform: translateY(-10px); /* Lifts the book on hover */
}

.book-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.book-content {
    display: flex;
    max-width: 55%;
    background-color: #ebebeb;
    padding: 20px;
    border-radius: 10px;
}

.book-content img {
    max-width: 200px;
    margin-right: 20px;
}

.book-content p {
    font-size: 20px;
    line-height: 1.5;
}

/* Footer Styles */
.footer-content-holder .widget_nav_menu .menu .menu-item a {
    color: #333; /* Change the text color */
    text-decoration: none; /* Removes underline */
}

.footer-content-holder .widget_nav_menu .menu .menu-item a:hover {
    color: #000000; /* Color on hover */
    /* text-decoration: underline;  Underline on hover */
}
