body {
    margin: 0; /* Remove default margin */
    height: 100vh; /* Full viewport height */
    overflow: hidden; /* Prevent page-level scrollbar */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: rgb(27, 52, 39);
}

#book-list {
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: top;
    width: 100%;
    height: 100%;
    padding-left: 100px;
}

#book-list li {
    color: blue;
    padding: 20px;
}

nav {
    background-color: rgb(0, 30, 0);
    width: 100%;
    height: 80px; /* Fixed height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed; /* Fix nav at top */
    top: 0;
    left: 0;
    z-index: 1000; /* Ensure nav stays above other content */
    gap: 16px; /* Space between nav items */
}

#main {
    color: gold;
    font-size: 20px;
    font-weight: bold;
}

#navdiv-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.navdiv {
    padding: 0px 10px 0px 10px; /* T R B L */
    background-color: rgb(150, 255, 173);
    border: 1px solid #000; /* Fixed border syntax */
}

header {
    background-color: lightblue; /* Example color for header */
    width: 100%;
    height: 60px; /* Fixed height for header */
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed; /* Fix header below nav */
    top: 40px; /* Offset by nav height */
    left: 0;
    z-index: 900; /* Below nav, above content */
}

#content-area {
    background-color: aquamarine;
    width: 97%;
    position: absolute; /* Position content between header and footer */
    top: 100px; /* Offset for nav (40px) + header (60px) */
    bottom: 40px; /* Offset for footer height */
    left: 50%;
    transform: translateX(-50%); /* Center horizontally */
    overflow-y: auto; /* Enable vertical scrolling */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    justify-content: flex-start; /* Align content at top */
    padding-bottom: 40px; /* Prevent content from touching bottom edge */
    padding-top: 40px; /* Add some padding at the top */
}

/* styles.css */
.item-infobar {
    background-color: #fff; /* Simplified white background */
    border: 4px solid #000;
    border-radius: 16px;
    width: 80%;
    padding: 0 20px 20px 20px;
    min-width: 650px;
    font-size: 18px;
    display: flex; /* Use flexbox to arrange children */
    align-items: stretch; /* Ensure children match container height */
    gap: 20px; /* Space between left and right sections */
}

.item-infobar-left {
    flex: 1; /* Take available space */
    /* Removed redundant background-color: white */
}

.item-infobar-right {
    display: flex; /* Flex container for image alignment */
    align-items: center; /* Center image vertically */
    justify-content: center; /* Align image to the right */
    flex: 0 0 auto; /* Don’t grow, use content size */
    width: 169px; /* Fixed width for right section */
    /* Removed max-height: 100% as it’s unnecessary */
}

.item-infobar-logo {
    max-height: 128px; /* Explicit height limit, adjust as needed */
    max-width: 100%; /* Ensure image does not exceed container width */
    object-fit: contain; /* Prevent distortion */
    
}

#about-text {
    color: rgb(138, 72, 191);
    background-color: royalblue;
}

.og-panel {
    background-color: rgb(42, 0, 77);
    color: white;
    border: 4px solid black;
    border-radius: 6px;
    width: 90%;
    padding: 20px;
}

.blogs {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal-width columns */
    gap: 20px; /* Space between columns and rows */
    padding: 10px; /* Optional padding for the container */
}

/* Optional: Style child elements for better visuals */
.blogs > * {
    box-sizing: border-box; /* Ensure padding/borders don't affect width */
}

/* styles.css */
.tag-style {
    display: inline-block;
    background-color: #000000;
    border-radius: 4px;
    color: #ffffff;
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    padding: 7px;
    text-transform: uppercase;
}

/* Style slotted content (children of my-tag) */
my-tag > .tag-style > slot,
my-tag > .tag-style > span {
    text-transform: uppercase;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 25px; /* Fixed height for consistency */
    text-align: center;
    color: #000;
    font-size: 12px;
    padding: 8px 0;
    opacity: 0.5;
    background-color: white;
    z-index: 1000; /* Ensure footer stays above content */
}