/* Page */
body {
    margin: 0;
    background: #f9f6fc;
    font-family: sans-serif;
    color: #222;
    box-sizing: border-box;
}

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

/* Navbar */
#navbar {
    height: 4rem;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    padding: 0.5rem;
    background: #f8f8f8;
}

#navsubbar {
    height: 100%;
    padding: 0 1.5rem;
    max-width: 63rem;
    margin: 0 auto;
}

#navstylebar {
    height: 0.4rem;
    background: #08c;
}

#navbarlogo {
    float: left;
    height: 100%;
}

#navbarmenu {
    display: flex;
    align-items: center;
    float: left;
    height: 100%;
}

.navbaritem {
    padding: 0 0.5rem;
    margin: 0 0.5rem;
    line-height: 3rem;
    height: 100%;
    font-size: 1rem;
    color: #a3a3a3;
    font-weight: bold;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
}

.navbaritem:hover {
    color: #fff;
    text-decoration: underline;
    background: #7e7e7e;
}

/* Content */
#main {
    background: #fff;
    max-width: 60rem;
    padding: 1.5rem;
    margin: 2rem auto;
    color: inherit;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 64rem) {
    #content {
        max-width: none;
        width: 100%;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        margin-left: 0;
        margin-right: 0;
    }
}

/* Typography helpers */
.header {
    font-size: 1.8rem;
}

.small-header {
    font-size: 1.2rem;
}

.text {
    font-size: 0.8rem;
}

/* Small decorative line */
.styleline {
    height: 1px;
    background: #a2a9b9;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

.post-meta {
    font-size: 0.9rem;
    color: #7a7a7a
}

.post thead {
    text-align: left;
}

.post img {
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    width: 100%;
    height: 100%;
    object-fit: cover;
}