body {
    margin: 10px;
    padding: 0px;
    background: #D3D3D3;
    font-family: Verdana, sans-serif;
    font-size: 1.0em;
    width: 100%;
}

/* #content { */
/*     background: #e5e0d9; */
/*     border-color: #454545; */
/* } */

.buffer {
    margin: 1em;
    margin-top: 0px;
}

#name {
    display: block;
    color: #454545;
    font-family: Trebuchet MS, sans-serif;
    font-weight: bold;
    font-size: 2.5em;
    margin: 0px;
    padding: 0.4em;
}

#menu {
    list-style-position: inside;
}

#menu li {
    display: inline-block;
}

#menu li a {
    font-size: small;
    padding: 5px;
}

#menu a:link,
#menu a:visited {
    background: #fff;
    border: 1px solid #454545;
    color: #454545;
    font-weight: bold;
    line-height: 14px;
    text-decoration: none;
}

#menu a:link.active,
#menu a:visited.active {
    background: #F0A47A;
    font-weight: bold;
}

#menu a:hover {
    color: #005F6A;
}

#menu a:hover.active {
    color: #005F6A;
}

.timestamp {
    color: #000080;
}

blockquote {
    background-color: #ede8d0;
    border: 2px solid #454545;
    font-style: italic;
    padding: 10px
}

nav {
    margin: auto;
}

/* Center the main content */
#content {
    width: 754px; /* Keep the original width for desktop */
    margin: 0 auto;   /* Centers the content */
    padding: 20px;
    display: flex;
    gap: 2px; /* Space between the sidebar and main content */
}

/* Style the sidebar */
.sidebar {
    background-color: #cbc0d3;
    color: #454545;
    padding: 20px;
    width: 178px;
    box-sizing: border-box;
}

/* Style the main content area */
.main-content {
    background-color: #f5f3f0;
    padding: 20px;
    margin-left: 20px;
    flex-grow: 1; /* Take up remaining space */
    box-sizing: border-box;
    max-width: 576px;
}

table {
    width: 100%
}


#search-box {
    width: 100%
}



/* Make sure content fits the width of mobile screens */
@media only screen and (max-width: 480px) {
    body {
        width: 100%;
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }

    /* Make #content take full width on mobile */
    #content {
        width: 100%; /* Full screen width */
        margin: 0; /* Remove margin to ensure full width */
        flex-direction: column; /* Stack the sidebar and main content */
        gap: 0px; /* Reduce gap on mobile */
        padding: 0;
    }

    #menu li {
        padding: 5px;
    }

    .sidebar {
        width: 100%; /* Sidebar takes full width on mobile */
        height: 176px;
        margin-bottom: 8px;
        overflow-y: auto;
    }

    .main-content {
        margin-left: 0; /* Remove left margin on mobile */
    }

    /* Make tables responsive */
    table {
        width: 100%; /* Table takes full width */
        border-collapse: collapse; /* Collapse table borders */
        margin-bottom: 20px; /* Space below the table */
        overflow-x: auto; /* Allow horizontal scrolling if needed */
        display: block; /* Prevent table overflow */
    }

    table th, table td {
        text-align: left;
        padding: 8px; /* Add padding for better readability */
        border: 1px solid #ddd; /* Add borders to the table */
    }

    table th {
        background-color: #f2f2f2; /* Light background for headers */
    }
}

.dropcap:first-letter {
    font-size: 4em;
    float: left;
    line-height: 1;
    margin-right: 0.1em;
    font-family: "Palatino Linotype", “Book Antiqua”, serif;
    color: #404040;
}
