/******************************************************************************
 *                       1. GLOBAL & BACKGROUND                               *
 ******************************************************************************/
html, body {
    margin: 0;
    padding: 0;
    background: #000 url(../images/pendulum-background.jpg) no-repeat center center fixed;
    background-size: cover;
    color: #CCC;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

/******************************************************************************
 *                       2. FIXING THE "CLIPPING" CONTAINERS                  *
 ******************************************************************************/
/* These rules force your old containers to expand instead of cutting off */
#header, #facade, #center-column, #main-content, #menu-wrapper, #menu-content {
    height: auto !important;      /* Overrides the old fixed heights */
    min-height: 0; 
    overflow: visible !important;  /* Forces clipped content to show */
    position: relative;
    display: block;
}

#header {
    padding-top: 30px; /* Pushes the 'Home' image down so it's not clipped by the top of the browser */
}

/******************************************************************************
 *                       3. THE SIDE-BY-SIDE LAYOUT                           *
 ******************************************************************************/
/* We use Flexbox to keep the sidebar on the left and content in the middle */
body {
    display: flex;
    flex-direction: column;
}

#center-column {
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-top: 20px;
}

#left-column {
    width: 258px;
    flex-shrink: 0;
    padding-left: 10px;
}

#main-content {
    flex-grow: 1;
    padding: 0 40px 100px 40px; /* Large bottom padding so footer doesn't clip text */
    text-align: center;
}

/******************************************************************************
 *                       4. COMPONENT STYLING                                 *
 ******************************************************************************/
img[name="PendulumLogo"] {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
}

#footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 45px;
    background: rgba(0, 0, 0, 0.9);
    border-top: 1px solid #444;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Sidebar Links */
#menu-content a img {
    display: block;
    margin-bottom: 5px;
    border: none;
}

h1 { color: #FFF; margin-top: 0; }
a { color: #0FF; text-decoration: none; }
