@charset "UTF-8";
/*
Theme Name: Jaakko Uusitalo Blog
Theme URI: https://wordpress.org/themes/twentysixteen/
Author: Jaakko Uusitalo
Author URI: https://jaakkouusitalo.fi/
Description: Child theme from 2016 WordPress theme
Requires at least: WordPress 4.9.6
Version: 1.4
Text Domain: twentysixteen
Tags: one-column, flexible-header, accessibility-ready, custom-colors, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, rtl-language-support, sticky-post, threaded-comments, translation-ready
*/

@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700&display=swap');

* {
    font-family: 'Lato', sans-serif;
    box-sizing: border-box
}

body {
    margin-top: 26px
}

h1, h2, h3, h4, h6, a {
    font-weight: 700
}

.latest .entry-title {
    color: #9f04d5
}

.entry-title a {
    font-weight: 700;
}

a {
    font-weight: 400;
    text-decoration: none;
    color: #9f04d5
}

.purple {
    color: #9f04d5
}

#articles {
    display: grid;
    grid-gap: 25px
}

#articles article { display: grid }


#articles .entry-header .entry-title {
    text-align: left;
    margin-bottom: 0
}

#articles .entry-tags {
    margin: 10px 0
}

#articles .entry-content p {
    margin-bottom: 5px
}

.entry-tags .badge {
    padding: 5px 10px;
    display: inline-block;
    margin: 3px 4px;
    border-radius: 5px;
    border: 1px solid #ececec;
    text-transform: uppercase;
    font-size: 12px;
}

.entry-tags .badge:first-of-type {
    margin-left: 0
}

.entry-tags .badge:last-of-type {
    margin-right: 0
}

.entry-meta {
    margin-top: 50px
}

#articles .entry-header .entry-title {
    margin-top: 0
}

#articles .entry-meta {
    margin: 0
}

.entry-header .entry-title,
.entry-header .entry-date,
.entry-header .entry-readtime {
    text-align: center
}

.entry-header .entry-date,
.entry-header .entry-readtime {
    margin: 5px 0
}

#articles .entry-header {
    margin: 0
}

#articles .entry-header .entry-title {
}

.entry-header {
    margin-bottom: 50px
}

.entry-header.latest .entry-title {
    font-size: 36px;
    font-weight: 700;
    margin-top: 50px
}

.entry-content p {
    font-weight: 400;
    line-height: 24px;
    color: #111;
    margin: 22px 0
}

.footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 3px dotted rgba(0,0,0,0.3)
}

.author-info {
    display: grid;
    grid-template-areas: "authorimage authormeta";
    grid-template-columns: min-content auto;
    grid-column-gap: 30px
}

.author-meta {
    display: grid;
    grid-area: authormeta;
    grid-template-areas:
        "authortitle"
        "authorbio"
        "authorlinks";
    grid-template-rows: min-content min-content min-content;
    align-content: center;
    grid-row-gap: 5px
}

.author-avatar {
    grid-area: authorimage
}

.author-bio {
    grid-area: authorbio;
    margin: 0;
    font-weight: 300
}

.author-title {
    grid-area: authortitle;
    margin: 0 0 5px 0
}

.author-links {
    grid-area: authorlinks
}

.author-avatar img {
    width: 140px;
    border-radius: 50%
}

.wp-block-code {
    margin: 20px 0;
    border-radius: 3px;
    background: #f8f8f8;
    padding: 15px 20px;
    border: 1px solid #eee
}

.wp-block-code code {
    font-family: Consolas, Monaco, monospace
}

.background-image {
    background-image: url("images/background.jpg");
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%
}

.topBar {
    position: relative;
    z-index: 2;
    display: inline-block;
    width: 100%;
    margin-bottom: 10px;
    text-align: center
}

.topBar a {
    color: #ffffff;
    font-weight: 300;
    font-weight: 15px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer
}

#page {
    width: 100%;
    position: relative;
    z-index: 2;
	max-width: 960px;
    border: 15px solid transparent;
    border-image: url("images/cream_pixels.png") 15 repeat;
    box-shadow: 0 0 10px rgba(0, 0, 0, .3);
    margin: 20px auto 70px auto;
    background: #f9f9f9
}

#page .site-content {
    padding: 25px 50px
}

@media (max-width: 768px) {
    html {
        background-image: none;
        background-color: #fff
    }
    .author-avatar img {
        width: 50px;
    }
}

@media (max-width: 400px) {
    .author-info {
        grid-row-gap: 10px;
        grid-template-areas: "authorimage authorimage" "authormeta authormeta"
    }     
    .author-avatar img {
        width: 140px
    }
    .author-meta, .author-avatar {
        text-align: center
    }
}