html, body {
    height: 100%;
}

body {
    padding-top: 55px;
    display: flex;
    text-align: center;
    flex-direction: column;
}

main {
    margin: auto;
    padding: 25px;
    flex: 1 0 auto;
    max-width: 750px;
}

img {
    max-width: 100%;
}

/* Homepage */

.intro {
    transform: translateY(22vh);
}

.intro > h1 {
    color: #212121;
    font-size: 6vmax;
}

.intro > h2 {
    color: #757575;
    font-size: 3vmin;
}

/* Page content */

.content {
    padding-top: 20px;
}

/* Back button in single post */
.back {
    margin: 2em 0;
    text-align: left;
}

/* Profile picture */

.profile {
    width: 10vh;
    height: 10vh;
    border-radius: 50%;
}

/* Colored links */

a:link, a:visited {
    color: var(--accent);
}

a.icon:hover {
    text-decoration: none;
}

a:hover {
    color: var(--accent) !important;
}

/* Copyright message */

.copyright {
    margin: 15px 0;
}

/* Paginator */

.pages {
    padding: 15px 0;
}

.pages-icon {
    padding: 0 15px;
}

/* List item for posts/projects */

.item {
    padding: 10px 0;
}

.item-tag {
    background-color: var(--accent);
}

/* Navigation icons */

.navbar-icon {
    font-size: 125%;
    display: inline-block !important;
}

/* Colored borders at top/bottom of page */

.navbar.navbar-default {
    border-top: var(--border-width) solid var(--accent);
}

footer {
    border-bottom: var(--border-width) solid var(--accent);
}


a.list-link h5, a.list-link h6 {
    color: black;
}
a.list-link:hover h5, a.list-link:hover h6 {
    text-decoration: none !important;
}

.anychart-credits {
    display: none !important;
}

table th {
    font-size: 1.6rem;
}
table th, table td {
    padding: 0.5rem 0.8rem;
}
table tbody tr {
    border-top: 1px solid rgba(0,0,0,0.3);
}
table th:not(:first-child), table td:not(:first-child) {
    border-left: 1px solid rgba(0,0,0,0.3)
}

img {
    display: block;
    margin: auto;
}