html {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.4;
}

input {
    font-size: 18px;
}

#center > header {
    color: var(--title-color) !important;
    background-color: var(--title-background-color) !important;

    position: relative;
    left: -2em;
    padding-left: 2em;
    padding-right: 1em;
    width: 100%;
}

#center {
	margin-top: -16px;
	margin-left: 16px;
	padding-top: 10px;
}

.left-hand-side {
    position: fixed;
    top: 0px;
    left: 0px;
    width: auto;
    height: 100vh;
    z-index: -10;
}

.flex-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
nav {
    margin-top: 16px;
    margin-bottom: 16px;
}
nav ul {
    margin-top: 16px;
    margin-bottom: 16px;
    padding-left: 0px;
}
nav a, nav select {
    margin-right: 16px;
}
nav li {
    display: inline-block;
}

.container {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content:left;
}

.card {
    border-radius: 25px;
    max-width: 520px;
    padding: 20px;
    margin: 20px;
}

.wide {
    /* Grow to fit, without getting too close to the neighbors. */
    flex: 1;
}
.small {
    max-width: 150px;
    max-height: 150px;
    padding: 20px;
}
.small * {
    max-width: 150px;
    max-height: 150px;
}

.attribution {
    font-size: 50%;
}

.horizontal-list, .horizontal-list ul, .horizontal-list li {
    display: inline-block;
    margin: 0;
    padding: 0;
}

iframe.timer {
    border-width: 0 !important;
    height: 230px;
}

#verticalboard-iframe {
    height:100vh;
    width:100vw;
    position: absolute;
    left: 0;
    bottom: 0;
    border: none;
}

.title {
    display: inline;
}

.subtitle {
    display: inline;
}

/*
article h3 {
    margin-top: .2em;
    margin-bottom: .2em;
}
*/

#themeswitcher {
    float: right;
    background-color: var(--background-color);
    color: var(--text-color);
    padding: 0.5em;
}

footer {
    clear: both;
}

/*
td {
    padding-left:  0.5em;
    padding-right: 0.5em;
}
*/

#profile-picture {
    box-shadow: 1em 1em 0 0 var(--title-background-color);
}
#profile-links li {
    display: inline-block;
}
#profile-links a {
    margin-right: 0;
    margin-left: 16px;
}
@media only screen and (min-width: 640px) {
    #center {
        padding-left: 16px;
    }
    .columns {
        display: flex;
        gap: 16px;
        align-items: baseline;
    }
    .main {
        flex: 3;
    }
    .sidebar {
        flex: 1;
    }

    #fp {
        display: flex;
    }
    #fpl {
    }
    #fpl img {
        max-width: 50vw !important;
    }
    #fpr {
        padding-left: 16px;
    }

    #article-listings {
        display: flex;
    }

    #article-listings > * {
        margin-right: 32px;
    }

    /* Article date */
    #article-listings time {
        float: right;
    }
}
@media only screen and (max-width: 1024px) {
    h1, h2, h3, h4, p, span, div, a, li {
        max-width: 90vw;
        text-wrap: balance;
        word-wrap: break-word;
    }
    .adaptive_right_column > *:nth-child(2) {
        display: none;
    }
}
/* Note that to avoid media query overlap one pixel has been subtracted from the below query */
@media only screen and (min-width: 1023px) {
    /*
    article .toc {
        float: right;
    }
    */
    .adaptive_right_column {
        display: flex;
        justify-content: space-between;
    }
}
