html {
    box-sizing: border-box;
    overflow-x: hidden;
}

body {
    background-color: #018281;
    color: #eee;
    animation: fade_in 400ms;
    line-height: 1.1;
    margin: 0;
    padding: 15px 15px 30px 15px;
}

#badge > img, #badge > a > img {
	image-rendering: pixelated;
}

h1, h2, h3, h4, h5 {
    font-weight: initial;
}

h1 {
    font-size: 64px;
    padding: 0;
    margin: 25px 0 0 0;
}

h2 {
    font-size: 48px;
}

h3 {
    font-size: 32px;
    margin: 15px 0 5px 0;
}

h4,h5 {
    font-size: 16px;
}

#header_right {
    align-items: center;
    text-shadow: 5px 5px #555;
    padding: 20px;
    text-align: center;
}

#header_left {
    float:left;
    text-align:center;
}
#header_left > a > img {
    width: 180px;
    box-shadow: 5px 5px #555;
    text-align: center;
    background-color: #00002F;
}

#content {
    margin-left: auto;
    margin-right: auto;
}

#header {
    clear: both;
    display: table;
    margin-left: auto;
    margin-right: auto;
}

.menuitem {
    position: relative;
    display: inline;
    text-shadow: 4px 4px #444;
    margin: 0 16px 0 16px;
    text-align: center;
}

.menuitem:hover {
    text-shadow: 2px 2px #444;
    top: 2px;
    left: 2px;
}

#badge {
    float: right;
    margin: 2px 0 0 10px;
}

#style_picker {
	position: absolute;
	width: 160px;
	height: 32px;
	top: 8px;
	right: 8px;
	text-align: right;
}

a, a:hover, a:active, a:visited {
    text-decoration: none;
    color: #ffff00;
}
a:hover, a:active {
    color: #1c1;
}

hr {
    background-color: #2f2f2f;
    height: 1px;
    border: 0;
}

*, *:before, *:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}

ol > li {
    list-style-type: decimal-leading-zero;
}

ul > li {
    list-style-type: square;
}

ul {
    padding-left: 25px;
    margin-top: 0;
    margin-bottom: 0;
}

ol {
    margin-top: 0;
    margin-bottom:0;
}

li > a > img {
    margin: 5px 10px 0 0;
}

p {
    margin-top: 5px;
}

code {
    display: block;
    background-color: #282828;
    color: #ccc;
    width: 100%;
    padding: 5px 5px 10px 15px;
    margin: 10px 0;
    white-space: pre;
    box-shadow: 6px 6px #000;
    overflow-x: auto;
}

@media (min-width: 769px) {
    #content, #header {
    	width: 769px;
        max-width: 768px;
    }
}

@media (max-width: 768px) {
    #header_left {
        float: none;
        margin: 0;
        padding: 0;
    }
    #header_right, #header_right > ul {
        float: none;
        margin: 20px 0;
        padding: 0;
    }
    .menuitem {
        margin: 0 4px 0 4px;
        padding: 0;
    }
    #content {
        margin: 0;
        padding: 0;
    }
    #footer, #badge {
        text-align: center;
        float: none;
        margin: 0;
        padding: 0;
    }
}

@keyframes fade_in {
    from {
        opacity: 0;
        filter: blur(10px);
    }
    to {
        opacity: 1;
        filter: blur(0);
    }
}
