@font-face {
    font-family:"Quicksand";
    src: url('font/Quicksand-VariableFont_wght.ttf');
    font-display: swap;
}

html {
    scroll-behavior: smooth;
  }
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

    /* font-family: "Quicksand", sans-serif; */
    font-family: sans-serif;
}

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

h1,h2,h3{
    font-family: "Quicksand", sans-serif;
}

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;
}

.sidebar {
    background: #313543; /*(36, 57, 75);*/
    color: #fff;
}

.brand-title,
.brand-tagline {
    margin: 0;
}
.brand-title {
    text-transform: uppercase;
}
.brand-tagline {
    font-weight: 300;
    color: rgb(176, 202, 219);
}

.nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav-item {
    display: inline-block;
    *display: inline;
    zoom: 1;
}
.nav-item a {
    background: transparent;
    border: 2px solid rgb(176, 202, 219);
    color: #fff;
    margin-top: 1em;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 85%;
}
.nav-item a:hover,
.nav-item a:focus {
    border: 2px solid rgb(61, 146, 201);
    text-decoration: none;
}

.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 0.5em 0;
}

.post {
    padding-bottom: 2em;
    padding-left:1em;
    margin-left:0;
}
.post-title {
    font-size: 2em;
    color: #222;
    margin-bottom: 0.2em;
}
.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;
    line-height:1.5em;
}

.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-renpy {
        background: #8156a7;
    }
    .post-category-js {
        background: #df2d4f;
    }

.post-images {
    margin: 1em 0;
}
.post-image-meta {
    margin-top: -3.5em;
    margin-left: 1em;
    color: #fff;
    text-shadow: 0 1px 1px #333;
}

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

iframe {
    overflow : hidden;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}
.iframe169 {
    aspect-ratio: 16 / 9;
    height: 100%;
    max-width: 100%;
}

@media (min-width: 48em) {
    .content {
        padding: 2em 1em 0;
        margin-left: 25%;
    }

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

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

    .footer {
        text-align: center;
    }
}
.img-inner-shadow{
    box-shadow: inset 0px 0px 20px rgba(0,0,0,0.9);
}
.img-inner-shadow img{
    position: relative;
    z-index: -2;
}

.mastodon-embed{
    display:block;
    margin-bottom:3px;
}

.pure-menu-link{
    white-space: break-spaces;
    line-height: 1.5em;
    color:black;
}
.pure-menu-link:hover{
    text-decoration:None;
}

.pure-button {
    white-space: break-spaces;
}

#back_to_top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background-color: #4d85d1;
    color: white;
    text-decoration: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-content: center;
    align-items: center;
    text-align: center;
    font-weight: bold;
    justify-content: center;
    box-shadow: 5px 5px 5px #0003;
    
    font-family: 'Quicksand';
    font-size:2em;
}

.coverimage{
    /* width:220px; */
    border-radius: 50%;
    background: linear-gradient(145deg, #2c303c, #343948);
    box-shadow:  17px 17px 34px #272a35,
                -17px -17px 34px #3b4051;
}

code {
    display: inline-block;
    font-family: monospace;
    background-color: #292929;
    color: #fafafa;
    font-size: 16px;
    padding: 0;
    padding: 10px;
}

code i{
    color:#f5d67b;
}

figcaption{
    font-style:italic;
}
