html, body {
    height: 100%;
}

body { 
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #390422 0%, #490921 20%, #af2426 100%);
    font-family: Verdana, sans-serif;
}

#container {
    width: 833px;
    margin: 0 auto;
}

header {
    position: relative;
    width: 100%;
    height: 241px;
    background-image: url(../media/header.png);
    background-repeat: no-repeat;
}

nav {
    position: absolute;
    top: 1em;
    right: 0;
    font-size: 0.75em;
    text-transform: uppercase;
    background: rgba(0,0,0, 0.65);
}

nav ul {
    margin: 0;
    padding: 0 0 0 4em; /* The 4em is just to blend it into the logo. Adjust as needed. */
}

nav ul li, nav ul li a {
    display: inline-block;
}

nav a {
    display: inline-block;
    padding: 0.75em 1.5em;
    text-decoration: none;
    color: #cc5500;
    font-size: 0.85em;
}

nav a:hover {
    background: #161616;
    color: #fc8f49;
}

h1 {
    position: relative;
    margin-top: 0;
}

h1 img {
    width: 277px;
    height: 241px;
}

h1 span {
    position: absolute;
    display: inline-block;
    width: 8em;
    bottom: 1.45em;
    left: 0.5em;
    z-index: 99;
    font-size: 0.75em;
    font-family: 'balgrufregular';
    text-align: center;
    font-weight: normal;
    background: linear-gradient(to top, #000 13%, #f9f9f9 47%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; /* For Firefox */
}

main {
    display: flex;
    flex-direction: row;
    min-height: 550px;
    background-color: #791721;
}

section#sidebar {
    width: 25.3%;
    background-color: #741420;
}

section[data-type='home_sidebar'] div {
    margin: 0 0 0 0.2em;
    padding: 0 0 3em;
    min-height: 13em;
    background-position: center top, 0.15em bottom;
    background-repeat: no-repeat, no-repeat;
}

section[data-type='home_sidebar'] h2 {
    width: 11em;
    height: 1.7em;
    margin: 0 0 0 0.2em;
    padding: 0.5em 0 0 1.75em;
    background-image: url('../media/hot_movie_header.png');
    color: #dfdfdf;
    font-family: 'balgrufregular';
    font-weight: normal;
    font-size: 1em;
    line-height: 1.7em;
}

section[data-type='home_sidebar'] img, aside#updates img {
    display: block;
    width: 95px;
    height: 90px;
    margin: 0 auto;
    border: 1px solid #4c453a;
    outline: 1px solid #7a5f5c;
}

section.sub_sidebar div {
    margin: 0 15px;
    padding: 2.5em 0.6em 3em 0.15em;
    min-height: 13em;
    background-image: url(../media/sidebar_top.png), url(../media/sidebar_bottom.png);
    background-position: center top, 0.15em bottom;
    background-repeat: no-repeat, no-repeat;
}

section#sidebar ul, section#sidebar p {
    margin: 0 0 4.25em;
    padding: 0.5em;
    background: #000;
}

section#sidebar p {
    min-height: 11.5em;
    font-size: 0.7em;
    color: #ccc;
}

section#sidebar ul li {
    list-style-type: none;
}

section#sidebar ul li a {
    display: inline-block;
    width: 100%;
    padding: 0.75em 0;
    color: #d6391a;
    font-size: 0.7em;
    font-weight: bold;
    text-decoration: none;
    transform: scaleY(1.02);
    border-bottom: 1px dotted #5d5d5d;
}

section[data-type='home_sidebar'] ul li a {
    border: none !important;
}

section#sidebar ul li a:hover {
    background: #161616;
    color: #fc8f49;
}

section#content[data-type='sub_content'] {
    width: 70%;
    margin-top: -2px;
    margin-bottom: 3em;
    padding-bottom: 3em;
    background-image: url('../media/account_content_bk.png'), url('../media/account_content_bottom_bk.png'), url('../media/account_content_repeat_bk.png');
    background-position: left top, -0.62em bottom, left top;
    background-repeat: no-repeat, no-repeat, repeat-y;
}

section#content[data-type='sub_content'] * {
    padding-left: 3.5em;
}

section#content[data-type='sub_content'] h2 {
    max-width: 27em;
    margin: 0.4em 0 3.5em 0.6em;
    padding-left: 1em;
    background-image: url('../media/main_header.png');
    color: #fff;
    font-family: 'balgrufregular';
    font-weight: normal;
    font-size: 1.2em;
    line-height: 1.7em;
}

section#content p {
    color: #fff;
    font-size: 0.8em;
}

section#content aside#news {
    width: 612px;
    height: 234px;
    background: url('../media/news_bk.png') no-repeat;
}

section#content aside#news h2 {
    margin: 0 0 0 2em;
    padding: 2em 0 0 0.5em;
    color: #fff;
    font-family: 'balgrufregular';
    font-weight: normal;
    font-size: 1.2em;
    line-height: 1.7em;
    background: linear-gradient(to top, #000 1%, #f9f9f9 27%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; /* For Firefox */
}

section#content aside#news ul {
    margin: 0 5em 0 2em;
}

section#content aside#news a {
    position: relative;
    display: inline-block;
    width: 100%;
    color: #d38379;
    padding: 0.2em 0;
    font-size: 0.7em;
}

section#content aside#news a:hover {
    background: #111;
    color: #fc8f49;
}

section#content aside#news a span {
    float: right;
}

section#content aside#updates {
    width: 611px;
    height: 303px;
    margin-top: -3em;
    padding-left: 3em;
    background: url('../media/latest_updates.png') no-repeat;
}

section#content aside#updates h2 {
    margin: 0;
    padding: 3em 0 0.4em 0.5em;
    color: #bb6f00;
    font-family: 'balgrufregular';
    font-weight: normal;
    font-size: 1em;
    line-height: 1.7em;
    background: linear-gradient(to top, #bb6f00 1%, #efd2a1 27%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text; /* For Firefox */
}

section#content aside#updates img {
    margin: 0 1em 0 0;
    float: left;
}

section#content aside#updates h3 {
    color: #f9c052;
    font-size: 0.75em;
}

section#content aside#updates div {
    padding-right: 4em;
}

section#content aside#updates p {
    color: #aaa;
}

section#content aside#updates a {
    color: #f9c052;
}

section#content aside#updates a:hover {
    color: #efd2a1;
}

footer * {
    margin: 0;
    padding: 0.5em;
    color: #777;
    font-size: 0.7em;
    text-align: center;
    background: #161616;
}

footer a {
    color: #aaa;
    font-size: 1em;
    padding: 0;
}

@font-face {
    font-family: 'balgrufregular';
    src: url('../media/fonts/balgruf-webfont.woff2') format('woff2'),
         url('../media/fonts/balgruf-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'balgrufitalic';
    src: url('../media/fonts/balgruf_italic-webfont.woff2') format('woff2'),
         url('../media/fonts/balgruf_italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}