body {
    margin: 50px;
    font-family: 'Zilla Slab', cursive;
}

.body-content {
    width: 1060px;
    margin: auto;
    outline: 2px solid black;
}

header {
    height: 4.5rem;
}

header, footer {
    background: #daeef3;
    padding: 20px 20px;
}

/* Logo Image */
.logo img {
    width: 4rem;
    height: 4rem;
    float: left;
    margin-right: 20px;
}

/*Main site title*/
.site-title {
    color: #169bbd;
    font-size: 37px;
}

/*Per-page title.*/
.page-title, .sidebar-title {
    font-size: 32px;
    font-weight: bold;
}

.sidebar-title {
    text-align: center;
    margin: auto;
    padding-bottom: 10px;
}

#content-and-sidebar {
    background: #f1fbfe;
    outline: 2px solid black;
    display: flex;
    min-height: 700px;
}

/* Main page content. */
#page-content {
    width: 70%;
    padding: 20px;
}

/* Recent games sidebar. */
#right-sidebar {
    width: 30%;
    outline: 2px solid black;

    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;

    overflow-y: scroll;
}

#recent-games {
    background: #f1fbfe;
    margin: auto;
    text-align: center;
}

.recent-games-entry {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid black;
}

.recent-games-entry-title {
    font-weight: bold;
    font-size: 14pt;
}

.recent-games-entry-date {
    font-weight: bold;
}

.recent-games-entry img {
    padding: 15px;
}

@keyframes pulse {
    0% {
        background-color: rgba(165, 165, 165, 0.1)
    }
    50% {
        background-color: rgba(165, 165, 165, 0.3)
    }
    100% {
        background-color: rgba(165, 165, 165, 0.1)
    }
}

.recent-games-entry-loading-line {
    height: 20px;
    margin: 10px;
    animation: pulse 1s infinite ease-in-out;
}

.recent-games-entry-loading-picture {
    height: 100px;
    margin: 20px;
    animation: pulse 1s infinite ease-in-out;
}

/* Paragraphs inside the main page. */
#page-content p {
    font-size: 12.5pt;
    line-height: 1.6;
    text-align: justify;
}

.navbar-item {
    display: inline;
    margin: 0 8px 0 0;
    padding 0;
    font-size: 1.4rem;
}

.active {
    font-weight: bold;
}

.pagination {
    clear: both;
}

.blog-post {
    margin-bottom: 20px;
    clear: both;
    border-bottom: 2px solid black;
}

/* Images in non-blog post content. */
#page-content img {
    max-width: 35%;
    margin-right: 25px;
    display: block;
    float: left;
}

/* Images in blog posts. */
#page-content .blog-post img {
    display: block;
    float: none;
}


a {
    color: #2a99b6;
    text-decoration: none;
}

a:hover {
    color: #33bbdf;
}
