@font-face {
    font-family: 'Jaldi-Bold';
    src:url('../fonts/Jaldi-Bold.ttf.woff') format('woff'),
        url('../fonts/Jaldi-Bold.ttf.svg#Jaldi-Bold') format('svg'),
        url('../fonts/Jaldi-Bold.ttf.eot'),
        url('../fonts/Jaldi-Bold.ttf.eot?#iefix') format('embedded-opentype'); 
    font-weight: normal;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

a {
    color: brown;
}

h1 {
    font-family: 'Jaldi-Bold', sans-serif;
    font-size: 2.5rem;
    line-height: 2.2rem;
    text-align: center;
}

h2, h3 {
    font-family: 'adelle-sans', sans-serif;
}

body {
    font-family: 'freight-text-pro', serif;
    font-size: 1.2rem;
    line-height: 1.55rem;
    display: flex;
    flex-direction: column;
    background-color: rgb(253, 249, 243);
}

blockquote {
    font-style: italic;
    margin-left: 1rem;
    border-left: 4px solid cadetblue;
}

.below-header {
    display: flex;
    justify-content: space-between;
}

.post-info {
    font-size: 1rem;
    display: flex;
    align-items: center;
    padding: 0 2em;
}

.post-info h3 {
    font-weight: 300;
    margin-right: 0.2em;
}

.header {
    width: 100%;
    background-color: rgb(144, 208, 186);
    padding: 1em;
    margin: 0;
    min-height: 8em;
}

.mark {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: 'adelle-sans', sans-serif;
    font-size: 1.2rem;
}
.mark a {
    color: inherit;
    text-decoration: none;
}
.mark .initials {
    width: 5em;
}

.mark .links {
    display: flex;
}
.mark .links a:not(:last-child) {
    margin-right: 1em;
}

.mark .links img {
    width: 1em;
}

.header h1 {
    margin: 0;
    margin-top: 0.5em;
    margin-right: 2em;
    line-height: 0.8em;
}

nav {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 20%;
    padding: 1rem;
    transition: right 200ms;
}

.nav-toggle {
    position: fixed;
    right: 1em;
    bottom: 1em;
    border: none;
    background: rgb(253, 249, 243);
    border-radius: 0.2em;
    display: none;
}
.nav-toggle:active {
    background: rgb(221, 205, 182);
}
.nav-toggle img {
    width: 28px;
}

.posts-title {
    margin-top: 1em;
    font-size: 1rem;
    color: dimgrey;
    width: 100%;
}

.posts {
    list-style-type: none;
    font-family: 'Jaldi-Bold', sans-serif;
    padding: 0;
}

.post {
    margin: 0;
    margin-bottom: 1rem;
}

nav a, .not-found a {
    text-decoration: none;
    color: inherit;
}

/* Content */
.content {
    display: flex;
    flex-direction: column;
    width: 80%;
    align-items: center;
    padding: 2em;
}
.post {
    max-width: 800px;
}

.content .post > * {
    padding: 0 2rem;
    width: 100%;
    overflow-wrap: break-word;
}

/* .content p {
    display: flex;
    flex-direction: column;
    align-items: center;
} */

.content img {
    flex-shrink: 1;
    width: 60%;
}

@media screen and (max-width: 750px) {
    .mark .text {
      display: none;
    }
    .mark .initials {
        width: 3em;
    }
    .content {
        width: 95%;
    }
    header .h1 {
        margin-right: 0em;
    }
    nav {
        position: fixed;
        bottom: 0px;
        top: 0px;
        width: 20rem;
        background-color: rgb(253, 249, 243);
        right: -20rem;
        border-left: 1px solid rgb(216, 215, 215);
    }
    nav.open {
        right: 0rem;
        box-shadow: 10px 15px 20px dimgray;
    }
    .nav-toggle {
        display: block;
    }
  }
