/* always show scrollbars */
html {
    overflow-y: scroll;
    min-height: 100%;
}

body {
    font-family: 'Lato', sans-serif;
    color: #515151;
    background-color: #fbfbfb;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    background: #fcfcfc;
    background-image: radial-gradient(at top left, #fefefe 30%, #eeeeee);
}

a {
    text-decoration: none;
}

#sidebar {
    border-radius: 12px;
}

@media screen and (min-width: 768px) {
    /* add "sticky-top" when the screen is medium or larger */
    #sidebar {
        position: sticky;
        top: 0;
        z-index: 1020;
    }
}

#sidebar .cover-author-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 10px;
    border-radius: 100%;
    overflow: hidden;
}

#sidebar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: transform 0.8s;
}

#sidebar img:hover {
    transform: rotate(360deg);
}

#sidebar .author-name {
    font-family: 'PT Serif', serif;
    margin: 0;
    position: relative;
    font-size: 16px;
    text-transform: uppercase;
    color: #333030;
    font-weight: 700;
}

#sidebar .tagline {
  font-size: 12px;
  color: #aaa;
  font-style: italic;
  margin: 2px 0 0;
  letter-spacing: 0.01em;
}

#sidebar p {
    font-size: 16px;
    margin: 16px 0;
}

#sidebar hr {
    width: 80%;
    margin: auto;
}

#sidebar .links {
    margin: 13px 0 8px;
}

#sidebar .contact ul {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

#sidebar .contact ul li {
    display: inline-block;
}

#sidebar .contact ul li a {
    color: #515151;
    display: block;
    padding: 5px;
    font-size: 18px;
    transition: all 350ms cubic-bezier(0.13, 0.43, 0.54, 1.82);
}

#sidebar .contact ul li a:hover {
    color: #333030;
    transform: scale(1.2);
}

#all-posts .post {
    border-radius: 12px;

    transition: box-shadow .3s;
}

#all-posts .post:hover {
    box-shadow: 5px 5px 20px 0px #9B9B9B;
}

#all-posts .post img {
    width: 100%;
    max-width: 200px;

    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

#all-posts .post a {
    color: #515151;
}

#all-posts .post .post-title {
    font-family: 'PT Serif', serif;
    color: #263959;
}

#all-posts .post .post-date {
    font-weight: 200;
    white-space: nowrap;
}

#post .post-header  {
    text-align: center;
    margin: 20px 0;
}

#post .post-header .title a {
    text-align: center;

    color: #515151;
    font-weight: 600;
}

#post .post-header .date {
    font-weight: 200;
}

#post .imagebox {
    padding: 0 0 10.5px;
}
#post .imagebox .img-responsive {
    margin: 0 auto;
    display: block;
    height: auto;
    max-width: 100%;
}
#post .imagebox .caption {
    text-align: center;
    font-weight: 200;
}

#post .highlight {
    border-radius: 6px;
    padding: 8px;
}
#post .highlight pre {
    margin: 0;
}

#post code.language-plaintext { /* in-line `code samples` */
    white-space: nowrap;
}

#post .post-nav .prev {
    text-align: right;
}

/* responsive youtube http://avexdesigns.com/responsive-youtube-embed/#sthash.MLbvEtJI.dpuf */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
    margin-bottom: 10.5px;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
