@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/static/fonts/IBMPlex-Regular.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'IBM Plex Sans';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(/static/fonts/IBMPlex-Bold.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

hr {
    color: #81a1c1;
}

html {
    background-color: #2e3440;
    color: #eceff4;
    font-family: "IBM Plex Sans", sans-serif;
}

h3 {
    font-weight: 400;
}

body {
    max-width: 1000px;
    margin: auto;
    padding: 10px;
    height: 100%;
    max-height: 100%;
}

a {
    color: #81a1c1;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    color: #5e81ac;
}

a:visited {
    color: #81a1c1;
}

a:visited:hover {
    color: #5e81ac;
}

#instantclick-bar {
    background: #81a1c1;
}

.topic {
    margin-bottom: 1em;
}

button {
    background-color: transparent;
    color: #eceff4;
    border: 2px solid #81a1c1;

    padding: 0.5em;
    border-radius: 0.25em;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    border: 2px solid #5e81ac;
}

.btn-active {
    background-color: #81a1c1;
}

video {
    max-width: 100%;
    width: 100%;
    border: 2px solid #5e81ac;
    border-radius: 4px;
}

.align-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* stick to the top of the page when you scroll */
.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

.player-header-left {
    align-self: flex-start;
}

.player-header-right {
    align-self: flex-end;
}

.player-title {
    text-align: center;
}

.video-title {
    text-align: center;
}

/* all but last have significant padding after */
.video-section:not(:last-of-type) {
    padding-bottom: 20px;
}