@charset "UTF-8";

img, canvas, iframe, video, svg { max-width: 100%; }

.overflow-container { overflow-y: scroll; -webkit-overflow-scrolling: touch; }

body {
    color: #222;
    font-family: 'PT Sans', Helvetica Neue, Arial, sans-serif;
}

a, a:visited {
    color: #777;
    background: none;
    text-decoration: none;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

a:hover {
    color: #1b6254;
}

h1, h2 {
    line-height: 1em;
    margin: 0;
}

h1 {
    font-size: 1.8em;
    font-weight: 800;
}

h2 {
    font-size: 1.5em;
    font-weight: 700;
}

#container {  
    padding-left: 16em;
    -moz-perspective: 128em;
    -webkit-perspective: 128em;
    -ms-perspective: 128em;
    -o-perspective: 128em;
    perspective: 128em;
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 16em;
    margin-left: -16em;
    color: #fff;
    padding-top: 7em;
    background: #204050;
}

.sidebar>a, .sidebar>a:visited {
    color: #ddd;
    font-size: 1.8em;
    font-weight: bold;
    margin-left: 0.1em;
}

.sidebar>a:hover {
    color: #1b6254;
}

.sidebar a>img {
    padding: 0;
    margin-left: -0.2em;
    border: 0;
}

#content {
    padding: 2em 3em 0;
    max-width: 42em;
}

.thumb {
    float: left;
    padding: 0 1em 0 0;
    width: 5em;
    height: 7em;
}

.pure-menu-custom ul {
    margin-top: 2em;
    text-align: center;
    font-size: 1.2em;
}

.pure-menu-custom.pure-menu-open, .pure-menu-custom.pure-menu-horizontal li .pure-menu-children {
    background: none;
    border: none;
}

.pure-menu-custom a, .pure-menu-custom .pure-menu-can-have-children>li:after {
    color: #eee;
}

.pure-menu-custom li a:hover,.pure-menu-custom li a:focus {
    color: #1b6254;
}

.pure-menu-custom .pure-menu-selected a {
    color: #1b6254;
}

#rot {
    -webkit-transform: rotateY(15deg);
    -moz-transform: rotateY(15deg);
    -ms-transform: rotateY(15deg);
    -o-transform: rotateY(15deg);
    transform: rotateY(15deg);
    -webkit-transition:-webkit-transform 1s;
    -moz-transition:-moz-transform 1s;
    -o-transition: -o-transform 1s;
    -ms-transition: -ms-transform 1s;
    transition: transform 1s;
}

#rot:hover {
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    transform: rotateY(0deg);
    -webkit-transition:-webkit-transform 1s;
    -moz-transition:-moz-transform 1s;
    -o-transition: -o-transform 1s;
    -ms-transition: -ms-transform 1s;
    transition: transform 1s;
}

.post {
    margin-bottom: 2em;
    font-size: 1.2em;
}

.post a {
    text-decoration: underline;
}

.post>h2 a {
    text-decoration: none;
}

.post pre {
    font-family: 'Lucida Console', 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace;
    font-size: 0.7em;
    border: 1px solid #888;
    background: #eee;
    padding: 0.5em 0 0.3em 0.5em;
    overflow: auto;
    height: auto;
    max-height: 350px;
}

.meta {
    margin: 0;
    color: #777;
    font-size: .8em;
}

blockquote {
    border-left: .3em solid #1abc9c;
    margin-left: 0;
    padding-left: 1em;
    font-style: italic;
}

@media only screen and (max-width: 768px) {
    .sidebar {
        width: 100%;
        position: relative;
        margin: 0;
        background: #2c3e50;
        padding-top: 2em;
    }    
    
    #container {
        padding: 0;
    }

    .pure-menu-custom ul {
        margin-top: 0;
    }
}

@media only screen and (max-width: 480px) {
    #content {
        padding: 2em 1em 0;
    }
}
