* {
    box-sizing: border-box;
}

html {
    overflow-y: scroll;
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, 
form, fieldset, input, textarea, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}

body {
    font-family: arial, sans-serif;
    background: #222;
    color: #fff;
}

a {
    color: #fff;
    transition: color 200ms;
    -webkit-transition: color 200ms;
}

header {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    z-index: 2;
    background: #000;
}

header .social {
    font-weight: bold;
    font-size: 11pt;
}

.medium header .social,
.large header .social {
    position: absolute;
    top: 14px;
    right: 12px;
    text-align: right;
}

.small header .social {
    position: absolute;
    top: 14px;
    left: 0;
    right: 0;
    text-align: center;
}

header a {
    text-decoration: none;
    color: #666;
}

header a:hover {
    color: #fff;
}

header h1 {
    padding: 10px;
    color: #666;
    font-size: 20pt;
    
}

.medium header h1 {
    font-size: 14pt;
    padding: 12px;
}

.small header h1 {
    display: none;
}

.small header div {
    width: 128px;
    margin: auto;
}


main {
    padding: 48px 0 64px 0;
    transition: width 200ms;
    -webkit-transition: width 200ms;
    margin: auto;
}

.small main {
    width: 320px;
    padding-left: 16px;
    padding-right: 16px;
}

.medium main {
    width: 480px;
}

.large main {
    width: 760px;
}


main hr {
    width: 60%;
    margin: auto;
    border: 0;
    height: 1px;
    color: #444;
    background-color: #444;
}

article h1 {
    margin: 12pt;
    font-size: 56pt;
}

article .image {
    background: #000;
    border-radius: 4px;
    margin: 32px auto;
    text-align: center;
}

img {
    width: 320px;
    margin: auto;
}

.small img {
    width: 100%;
}

article p {
    margin: 18pt 0;
    font-size: 24pt;
    line-height: 140%;
}

.small article p {
    margin: 10pt 0;
    font-size: 12pt;
}

.medium article p {
    margin: 12pt 0;
    font-size: 14pt;
}

.controller {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48px;
    background: rgba(1, 1, 1, 0.8);
    border-top: 1px solid #222;
}

.stats {
    background: #000;
    padding: 8px 0;
    width: 200px;
    height: 32px;
    color: #fff;
    font-size: 9pt;
    position: absolute;
    left: 8px;
    bottom: 8px;
    text-align: left;
    color: rgba(0, 255, 255, 0.5);
}

ul.resizer {
    position: absolute;
    bottom: 8px;
    right: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 144px;
    z-index: 1000;
}

ul.resizer li {
    margin: 0 0 0 16px;
    padding: 0;
    display: inline;
    float: left;
}

ul.resizer li a {
    display: block;
    width: 32px;
    height: 32px;
    padding: 0;
    background: #555;
    color: #ccc;
    text-decoration: none;
    text-align: center;
    padding: 8px;
}

ul.resizer li a:hover {
    background: #777;
    color: #fff;
}

ul.resizer li a.active {
    background: #333;
    color: #fff;
}
