:root {
    --primary-color: rgb(37, 60, 89);
}

* {
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
}

a:link,
a:visited,
a:active {
    text-decoration: none;
    color: var(--primary-color);
}

a:hover {
    color: rgb(191, 141, 47)
}

.social {
    color: var(--primary-color);
}

.body {
    margin-top: 2%;
}

.header-bg {
    background-color: var(--primary-color);
    box-shadow: 0 4px 8px rgb(0 0 0 / 30%);
    background: url('/site-images/bg.jpg') no-repeat top center;
    background-position-y: -4210px;;

    h1 {
        color: #fff;
        font-weight: bold;
        padding-top: 1%;
        padding-left: 1%;
    }

    h2 {
        color: #eee;
        font-size: 130%;
        padding-left: 1%;
        padding-bottom: 1%;
        font-style: italic;

        small {
            font-size: 60%;
        }
    }
}

.footer {
    padding: .5%;
    margin-top: 2%;
    color: #fff;
    font-size: 90%;
    box-shadow: 0 -4px 8px rgb(0 0 0 / 30%);
    background-color: #050221ed;
    background: url('/site-images/bg.jpg') no-repeat top center;
    background-position-y: -4962px;

    a:link,
    a:visited,
    a:active {
        color: #fff;
    }

    a:hover {
        color: #ff9146;
    }
}

.sidebar {
    h3 {
        padding-top: 22px;
        border-bottom-width: 3px;
        border-color: rgb(153, 180, 191);
        border-bottom-style: solid;
    }

    .recent-posts h4 {
        /* font-size: 128%; */
        text-transform: uppercase;
        font-size: 100%;
        color: rgb(38, 38, 41);
        font-optical-sizing: auto;
        font-weight: bold;
        font-style: normal;
    }

    .recent-posts .date {
        font-size: 90%;
        color: rgb(39 39 68);
        border-bottom-width: 1px;
        border-color: rgba(115, 115, 166, 0.511);
        border-bottom-style: solid;
        padding-bottom: 16px;
    }

    .category {
        p {
            margin: 1% 0 1% 0;
        }

        .sub-entry {
            margin-left: 24px;
        }
    }
}

.article .card {
    margin-bottom: 5%;

    .go {
        margin-bottom: 0;
    }
}

.calendar-grid {
    table {
        width: 100%;

        th {
            text-align: center;
            font-size: 120%;
        }

        td {
            border: 1px solid #ddd;
            text-align: center;

            a:link,
            a:visited,
            a:active {
                text-decoration: none;
                font-weight: bold;
                color: rgb(216, 183, 13)
            }

            a:hover {
                color: rgb(191, 141, 47)
            }

            .today {
                color: rgb(191, 141, 47)
            }
        }
    }
}