@font-face{
    font-family: Monocraft;
    src: url(/assets/fonts/Monocraft.otf) format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body, h1, h2, p, ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

body {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

html {
    background-color: #E9CBAB;
}

.avatar {
    height: 478px;
    width: 378px;
}

body {
    display: flex;
    height: 100vh;
    width: 100vw;
    justify-content: center;
    padding-top: 80px;

}

main {
    display: flex;
    gap: 8px;
}

.title h1, .title h2 {
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.title h1 {
    margin-top: 22px;
    font-size: 110px;
    letter-spacing: -0.05em;
    line-height: 75px;
}

.title h2 {
    font-size: 56px;
    letter-spacing: -0.01em;
    line-height: 75px;
    padding-left: 2px;
}

.title .avatar {
    display: none;
}

.tagline {
    font-family: Monocraft, monospace;
    font-size: 18px;
    letter-spacing: -0.01em;
    line-height: 26px;
    padding-left: 4px;
}

.intro {
    padding-top: 12px;
    padding-left: 3px;
}

.intro p {
    font-family: "Roboto Flex", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "slnt" 0,
        "wdth" 100,
        "GRAD" 0,
        "XOPQ" 96,
        "XTRA" 468,
        "YOPQ" 79,
        "YTAS" 750,
        "YTDE" -203,
        "YTFI" 738,
        "YTLC" 514,
        "YTUC" 712;
    font-size: 19px;
    line-height: 25px;
    letter-spacing: -0.01em;
}

.links {
    font-family: Monocraft, monospace;
    font-size: 18px;
    letter-spacing: -0.01em;
    line-height: 26px;
    padding-left: 4px;
    display: flex;
    flex-direction: column;
    margin-top: 24px;
    gap: 8px;
}

.links a {
    color:black;
}

.links li {
    display: inline-flex;
    align-items: center;
    gap: 4px;

}

.links .blogroll {
    padding-top: 24px;
}

.links .last-post {
    opacity: 0.7;
    font-size: 85%;
}

.links li.blog-post {
    display: flex;
    align-items: flex-start;
    gap: 0;
    flex-direction: column;
}

.links li.blog-post .title {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.links li.blog-post .meta {
    opacity: 0.5;
    font-size: 85%;
    padding-left: 28px;

}

.post-content {
    font-family: "Roboto Flex", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:
        "slnt" 0,
        "wdth" 100,
        "GRAD" 0,
        "XOPQ" 96,
        "XTRA" 468,
        "YOPQ" 79,
        "YTAS" 750,
        "YTDE" -203,
        "YTFI" 738,
        "YTLC" 514,
        "YTUC" 712;
    font-size: 19px;
    line-height: 25px;
    letter-spacing: -0.01em;
    max-width: 900px;
}

.post-content p {
    padding-bottom: 12px;
    text-indent: 12px;
}

.post-content blockquote {
    padding-left: 16px;
    position: relative;
    color: rgb(93, 91, 96);
    margin: 30px 10px 10px 0;
}

.post-content blockquote::before {
    left: -2px;
    position: absolute;
    content: " ";
    height: 100%;
    width: 5px;
    background-color: rgb(162, 113, 179);
}

.post-content blockquote p {
    text-indent: 0;
}

.post-content ul {
    list-style: square;
    list-style-position: inside;
}

.post-content ul li {
    padding-bottom: 8px;
}

.blog-list {
    margin-top: 24px;
    list-style: square;
}

.blog-list li {
    padding-bottom: 8px;
}

.blog-list li .meta {
    opacity: 0.5;
    font-size: 85%;
}

hr {
    border: 0;
    height: 3px;
    background-color: rgb(162, 113, 179);
}

.back-to-home {
    display: flex;
    font-family: Monocraft, monospace;
    font-size: 18px;
    letter-spacing: -0.01em;
    line-height: 26px;
    gap: 8px;
    position: relative;
    z-index: 10;
}

.back-to-home a {
    color: black;
}

.top-nav-post { 
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.top-nav-post .back-to-home:first-of-type {
    border-right: 3px solid black;
    padding-right: 16px;
}

footer {
  padding: 50px 0;
  opacity: 0.5;
  font-size: 80%;
  font-family: Monocraft, monospace;
}

@media only screen and (max-width: 700px) {
    body {
        display: block;
        padding: 45px 18px 0;
    }

    .title {
        display: flex;
    }

    .title .avatar {
        width: 100%;
        height: auto;
        max-height: 245px;
        display: block;
    }

    .title .left {
        flex-grow: 1;
        min-width: 250px;
    }

    .title .right {
        flex-shrink: 1;
    }

    .title h1 {
        font-size: 70px;
        margin-top: 0px;
    }

    .title h2 {
        font-size: 35px;
        line-height: 30px;
    }

    .tagline {
        padding-top: 12px;
    }

    main > .avatar {
        display: none;
    }
}

@media only screen and (max-width: 960px) {
    body {
        padding-left: 18px;
    }
}
