@import url("reset.css");
@import url("header.css");
@import url("hamburger-button.css");
@import url("overlay-menu.css");
@import url("social-media-links.css");

body {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-smooth: always;
}

code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", "Courier Prime", monospace;
    margin-bottom: 0.75rem;
}

p code,
li code {
    padding-left: 0.125rem;
    padding-right: 0.125rem;
    background-color: rgb(213, 212, 212);
    /* color: rgb(161 161 170); */
    font-weight: 200;
}

header,
#overlay-menu {
    background-color: black;
    color: rgb(102, 102, 102);
}

#content {
    margin-top: 3.75rem;
}

#content,
footer {
    margin-left: 0.625rem;
    margin-right: 0.625rem;
}

#content h1 {
    font-size: 1.5rem;
    line-height: 1.625rem;
    font-weight: 500;
}

#content h2 {
    font-size: 1.25rem;
    line-height: 1.5rem;
    font-weight: 500;
    margin-top: 1.75rem;
}

#content h3 {
    font-size: 1.125rem;
    line-height: 1.5rem;
    font-weight: 500;
    margin-top: 1.625rem;
}

#content h1,
#content h2,
#content h3 {
    margin-bottom: 0.125rem;
}

#content ul {
    list-style-type: disc;

}

#content ol {
    list-style-type: decimal;
}

#content ul,
#content ol {
    margin-left: 1.875rem;
}

#content li {
    margin-bottom: 0.5rem;
}

#content p,
#content ul,
#content ol,
footer p {
    line-height: 1.5rem;
    margin-bottom: 0.75rem;
}

#content a {
    color: rgb(60, 59, 59);
    text-decoration: underline;
}

#content a:hover {
    text-decoration: none;
}

.clear-both {
    clear: both;
}

#content hr,
footer {
    margin-top: 1.875rem;
}

footer {
    color: rgb(60, 59, 59);
    margin-bottom: 0.25rem;
    padding-top: 0.25rem;
    font-weight: 300;
}

time {
    display: block;
    color: rgb(60, 59, 59);
    font-weight: 300;
    line-height: 1.5rem;
    margin-top: 0.625rem;
    margin-bottom: 0.75rem;
}

.cover-photo {
    margin-bottom: 0.75rem;
}

.cover-photo img {
    width: 100%;
}

.cover-photo p {
    color: rgb(60, 59, 59);
    font-weight: 300;
    margin-top: 0.375rem;

}

.navigation {
    margin-top: 2.125rem;
}

.navigation li {
    margin-bottom: 0.375rem;
}

strong {
    font-weight: 600;
}

em {
    font-style: italic;
}

#content .post-summary {
    min-height: 6rem;
}

#content .post-summary img {
    display: none;
}

#content .post-summary h2 {
    font-size: 1.125rem;
    line-height: 1.5rem;
    font-weight: 500;
}

#content .post-summary a:link,
a:visited {
    text-decoration: none;
}

#content .post-summary a:hover,
a:active {
    text-decoration: underline;
}

#content .post-summary time {
    margin-top: 0.0625rem;
}

/* sm */
@media only screen and (min-width: 600px) {

    #content,
    footer {
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }

    #content {
        margin-top: 5.75rem;
    }

    #content .post-summary {
        min-height: 4rem;
    }
}

/* md */
@media only screen and (min-width: 768px) {

    #content,
    footer {
        margin-left: 20.5rem;
        margin-right: 1rem;
        /* 1024px @ 100% 
         * TODO: media @992px, @1200px
        */
        max-width: 42.5rem;
    }

    #content {
        margin-top: 4.0rem;
    }

    .navigation {
        display: block;
    }

    .cover-photo {
        margin-top: 0.625rem;
    }

    #content .post-summary {
        min-height: 6.25rem;
    }

    #content .post-summary img {
        display: inline;
        float: right;
        width: 9.375rem;
        height: auto;
        margin-left: 1.0rem;
    }
}