/*
Theme Name: Minimalist Theme
Theme URI: http://none/minimalist-theme
Author: Douglas Burns
Author URI: http://none
Description: A minimalist WordPress theme with a left sidebar menu and top banner.
Version: 1.2
License: GNU Lesser General Public License, version 2.1
License URI: https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
Tags: minimalist, sidebar, left sidebar, banner
*/

html, body {
    overflow-y: hidden; /* Prevent vertical scrolling for the full page */
}

body {
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    font: .875em / 1.5 "Helvetica Neue", Arial, "Liberation Sans", FreeSans, sans-serif;
    background-color: #ffffff; /* Ensure it matches content */
    margin: 0;
    padding: 0;
}

#banner {
    width: 960px;
    height: 150px;
    margin: 0 auto;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 20px;
    background-color: #ffffff; /* Default to white */
}

#container {
    width: 960px; /* Match the width of the banner */
    margin: 0 auto; /* Center the container */
    display: flex;
    box-sizing: border-box;
}

#sidebar {
    width: 140px; /* Set sidebar width */
    background-color: #ffffff; /* Ensure it matches content */
    height: calc(100vh - 160px); /* Adjust height considering the banner */
    padding-left: 9px;
    box-sizing: border-box;
}

#sidebar nav a {
    display: block;
    width: 141.82px; /* Set exact width */
    height: 34.82px; /* Set exact height */
    background-color: #ffffff; /* Default color */
    color: #333; /* Text color */
    text-align: center;
    line-height: 34.82px; /* Vertically center the text */
    text-decoration: none;
    margin-bottom: -12px; /* Space between menu items */
    transition: background-color 0.3s ease; /* Smooth transition */
    box-sizing: border-box; /* Include padding in the dimensions */
    border-radius: 5px; /* Slightly rounded corners */
    /*margin-left: 25px; /* Move content slightly to the right */
}

#sidebar nav a:hover {
    background-color: #444444; /* Darker shade on hover */
    color: #ffffff; /* Optional: Change text color on hover */
    border-radius: 5px; /* Ensure rounded corners on hover as well */
}

#content {
    width: 780px; /* Set content width */
    flex-grow: 1;
    padding: 20px;
    background-color: #ffffff; /* Ensure it matches sidebar */
    box-sizing: border-box;
    margin-left: 12px; /* Move content slightly to the right */
    overflow-y: auto; /* Enable vertical scrolling for content */
    max-height: calc(100vh - 160px); /* Ensure content scrolls within viewport height */
}

nav ul {
    list-style: none;
    padding: 0;
    text-align: center; /* Center text in the list */
}

nav ul li {
    margin-bottom: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
}

nav ul li a:hover {
    color: #0073aa;
}
