
html, body {
    height: 100%;
}


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

main {
    margin: auto;
    padding: 15px;
    flex: 1 0 auto;
    max-width: 1250px;
}

/*
body.dark-mode,
body.dark-mode main * {
    background: rgb(35, 35, 35);
    color: #f5f5f5;
}
*/


img {
    max-width: 100%;
}

/* Homepage */

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

.intro > h1 {
    color: #212121;
    font-size: 26px;
}
.intro > h2 {
    color: #757575;
    font-size: 22px;
}

.intro > h3 {font-size: 20px;}
.intro > h4 {font-size: 18px;}

/* Page content */

.content {
    padding-top: 20px;
    text-align: left;
    font-size: 15px;
}

.content > h1 {font-size: 24px; text-decoration: underline;}
.content > h2 {font-size: 22px; text-decoration: underline;}
.content > h3 {font-size: 20px; text-decoration: underline;}
.content > h4 {font-size: 18px;}
.content > h5 {font-size: 16px;}


/* Profile picture */

.profile {
    width: 42vh;
    height: 42vh;
    border-radius: 5%;
}

/* 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: 10px 0;
}

/* Paginator */

.pages {
    padding: 15px 0;
    font-size: 15px;
}

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

.pages > h1 {font-size: 24px; text-decoration: underline;}
.pages > h2 {font-size: 22px;}
.pages > h3 {font-size: 20px;}
.pages > h4 {font-size: 18px;}

/* List item for posts/projects */

.item {
    padding: 10px 0;
}

.item > h1 {font-size: 24px; text-decoration: underline;}
.item > h2 {font-size: 22px;}
.item > h3 {font-size: 20px;}
.item > h4 {font-size: 18px;}
.item > h5 {font-size: 16px;}

.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);
}

code.has-jax {
    -webkit-font-smoothing: antialiased;
    background: inherit !important;
    border: none !important;
    font-size: 100%;
}



/* cf. https://rossabaker.com/configs/website/shortcodes/callout/ */
.callout {
    margin: 1.5rem 0;
    padding: 1em;
    border-inline-start: .25em solid;
}

.callout-title {
    font-weight: bolder;
    margin-bottom: 1em;
}

.callout-note {
    border-color: #225522;
    background: #555555;
}


