* {
    color: inherit;
}

html,
body {
    box-sizing: border-box;
    margin: 0px auto;
    padding: 0px;
}

body {
    background-color: GhostWhite;
    font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-size: 1em;
    line-height: 1.4;
}

a {
    line-height: 1.5em;
    opacity: 95%;
    text-decoration: none;
}

a:hover,
.content-list-item-summary-link:hover {
    opacity: 70%;
}

img,
.page-header a {
    user-select: none;
    -webkit-user-select: none;
}

figure {
    margin-left: 0px;
}

figcaption {
    font-size: 0.6em;
    opacity: 50%;
    text-align: center;
}

.site-title {
    font-size: 1.5em;
}

.site-subtitle {
    font-size: 0.9em;
}

.page-title {
    font-size: 1.3em;
    margin: 0px 10px 15px 10px;
}

.post-list-title {
    font-size: 1.1em;
}

.post-title {
    font-size: 1.3em;
}

.subscript {
    font-size: 0.8em;
}

.page-header {
    margin: 15px 15px 0px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-header-image {
    border-radius: 3px;
    opacity: 80%;
}

.nav-main-menu {
    margin: 0px 0px 10px 0px;
}

.nav-main-menu-items {
    display: flex;
    justify-content: center;
}

.nav-main-menu-item,
.nav-main-menu-items {
    font-weight: bold;
    text-align: center;
}

.nav-main-menu-item {
    margin: 10px;
}

.site-info-container {
    display: flex;
    justify-content: space-around;
    align-items: baseline;
    margin-bottom: 5px;
    width: 650px;
}

.content-list-container, 
.post-container,
.post-list-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.content-list-item,
.post-list-item {
    margin: 0px 10px 10px 10px;
}

.content-list-item-date {
    color: DimGray;
    margin: 0px 0px 0px 0px;
}

.content-list-item-title {
    font-size: 1.2em;
}

.content-list-item-summary {
    font-size: 0.8em;
    margin: 5px 0px 25px 0px;
}

.content-list-item-summary-link {
    opacity: 95%;
    text-decoration: underline;
}

.post {
    display: flex;
    flex-direction: column;
}

.content-list,
.post,
.post-list {
    width: 600px;
}

.post-meta-info {
    color: DimGray;
    margin: 0px 0px 5px 0px;
}

.meta-container {
    display: flex;
    justify-content: center;
}

.meta {
    display: flex;
    flex-direction: row;
    max-width: 600px;
    align-items: center;
}

.meta-figure {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.meta-image {
    border-radius: 3px;
    display: block;
    margin: 0px 0px 2px 0px;
    opacity: 95%;
}

.image-gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 630px;
}

.gallery-image {
    display: flex;
    justify-content: center;
    border-radius: 3px;
    height: 290px;
    margin: 5px;
    overflow: hidden;
    position: relative;
    text-align: center;
    width: 290px;
}

.gallery-image a:hover {
    opacity: 95%;
}

.gallery-image img {
    object-fit: cover;
    height: 290px;
    width: 290px;
}

.gallery-image:hover .image-overlay {
    opacity: 80%;
}

.image-overlay {
    display: flex;
    justify-content: center;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 290px;
    width: 290px;
    opacity: 0%;
    transition: .3s ease;
    background-color: gray;
}

.image-overlay-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.image-overlay .image-title {
    font-size: 1.3em;
}

.image-overlay .image-author {
    font-size: 0.9em;
}

.page-footer {
    line-height: 1.1;
    margin: 10px 0px 10px 0px;
    text-align: center;
    width: 100%;
}

.copyright,
.credits {
    opacity: 50%;
}

.credits {
    font-family: "Courier New";
    font-size: 0.7em;
}

.unselectable {
    user-select: none;
    -webkit-user-select: none;
}

.pagination {
    margin: 30px 0px;
    padding-inline-start: 0px;
}

.pagination .page-item {
    display: inline-block;
}

.pagination .page-link {
    border-style: solid;
    border-width: 1px;
    border-color: silver;
    border-radius: 5px;
    font-size: 0.9em;
    margin: 4px;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
}

.pagination .active {
    opacity: 50%;
}

@media only screen and (max-width: 768px) {

    body {
        font-size: 14px;
        max-width: 95%;
    }

    img {
        max-width: 100%;
    }

    .content-list,
    .post,
    .meta {
        width: 90%;
    }

    .meta,
    .site-info-container {
        display: flex;
        flex-direction: column;
    }

    figure.meta-figure {
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin-left: revert;
    }

    .site-info-container {
        align-items: flex-start;
        max-width: 95%;
    }

    .content-list-item-summary {
        font-size: 0.9em;
    }

}
