* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}


a {
    text-decoration: none;
    color: rgb(61, 146, 201);
}
a:hover,
a:focus {
    text-decoration: underline;
}

h3 {
    font-weight: 100;
}

/* LAYOUT CSS */
.pure-img-responsive {
    max-width: 100%;
    height: auto;
}

#layout {
    padding: 0;
}

.header {
    text-align: center;
    top: auto;
    margin: 3em auto;
}

.icn-link {
    box-sizing: border-box;
    position: relative;
    display: block;
    transform: rotate(-45deg) scale(var(--ggs,1));
    width: 8px;
    height: 2px;
    background: currentColor;
    border-radius: 4px;
    top: -8px;
}
.icn-link::after,
.icn-link::before {
    content: "";
    display: inline-block;
    box-sizing: border-box;
    position: absolute;
    border-radius: 3px;
    width: 8px;
    height: 10px;
    border: 2px solid;
    top: -4px
}
.icn-link::before {
    border-right: 0;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
    left: -6px
}
.icn-link::after {
    border-left: 0;
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
    right: -6px
}
section h2 .icn-link {
    display: none;
}
section h2:hover .icn-link {
    display: inline-block;
}

.sidebar {
    background: #e12a2a;
    color: #fff;
}

.brand-title,
.brand-tagline {
    margin: 0;
}
.brand-title {
    text-transform: uppercase;
}
.brand-tagline {
    font-weight: 300;
    color: #ddd;
}

.iframe-container {
    position: relative;
    padding-bottom: 56.5%;
}
iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav-item {
    display: inline-block;
    *display: inline;
    zoom: 1;
}
.sidebar li a {
    background: transparent;
    color: #fff;
    margin-top: 1em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 85%;
}

.content-subhead {
    text-transform: uppercase;
    color: #aaa;
    border-bottom: 1px solid #eee;
    padding: 0.4em 0;
    font-size: 80%;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.content {
    padding: 2em 1em 0;
}

.post {
    padding-bottom: 2em;
    border-bottom: 1px dashed burlywood
}
.post-title {
    font-size: 2em;
    color: #222;
    margin-bottom: 0.2em;
    padding-top: 1em;
}
.post-avatar {
    border-radius: 50px;
    float: right;
    margin-left: 1em;
}
.post-description {
    font-family: Georgia, "Cambria", serif;
    color: #444;
    line-height: 1.8em;
}
.post-meta {
    color: #999;
    font-size: 90%;
    margin: 0;
}

.post-category {
    margin: 0 0.1em;
    padding: 0.3em 1em;
    color: #fff;
    background: #999;
    font-size: 80%;
}
.post-category-design {
    background: #5aba59;
}
.post-category-pure {
    background: #4d85d1;
}
.post-category-yui {
    background: #8156a7;
}
.post-category-js {
    background: #df2d4f;
}

.post-shorts,
.post-images {
    margin: 1em 0;
}
.post-image-meta {
    margin-top: -4.5em;
    margin-left: 2em;
    color: #fff;
    text-shadow: 0 1px 1px #333;
}
.post-images img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.5);
}
.post-images a {
    display: inline-block;
    height: 300px;
    width: 100%;
    box-sizing: border-box;
    padding: 1rem;
}
.post-shorts .iframe-container {
    height: auto;
    padding-bottom: 160%;
}
.post-shorts .iframe-container iframe {
    padding: 1rem;
}

.footer {
    padding: 1em 0;
}
.footer a {
    color: #ccc;
    font-size: 80%;
}
.footer .pure-menu a:hover,
.footer .pure-menu a:focus {
    background: none;
}

.mt {
    margin-top: 1em;
}

.header-image {
    max-width: 100%;
    max-height: 400px;
    display:flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

@media (min-width: 48em) {
    .content {
        padding: 2em 3em 0;
    }

    .header {
        margin: 80% 2em 0;
        text-align: right;
    }

    .sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
    }

    .with-sidebar {
        margin-left: 25%;
    }


    .footer {
        text-align: center;
    }
}
