/*

tfw ur too lazy to set up a style preprocessor

*/

:root {
    --psk-color-bg: #301a4b;
    --psk-color: #eef0f2;
    --psk-color-text: #0e0608;
    --psk-color-subtext: #738290;
}

html {
    font-size: 100%;
}

html,
body {
    height: 100%;
}

body {
    font-family: "Exo 2", sans-serif;
    color: var(--psk-color);
    background-color: var(--psk-color-bg);
    background-image: url('/assets/background.jpg');
    background-attachment: fixed;
    background-size: cover;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5 {
  margin: 3rem 0 1.38rem;
  font-family: 'Exo 2', serif;
  font-weight: 400;
  line-height: 1.3;
}

h1 {
  margin-top: 0;
  font-size: 3.052rem;
}

h2 {font-size: 2.441rem;}

h3 {font-size: 1.953rem;}

h4 {font-size: 1.563rem;}

h5 {font-size: 1.25rem;}

small, .text_small {font-size: 0.8rem;}

li {
    list-style: none;
    margin: 0;
}

a {
    color: var(--psk-color);
    text-decoration: none;
}

a:hover {
    color: #fff;
}

.content {
    display: block;
    margin: 16px;
    flex-grow: 1;
}

.linkies {
    padding: 0;
    line-height: 1;
    font-size: 48px;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 4px 3px 2px #232323;
}

.copyright {
    display: block;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 4px 3px 2px #232323;
    flex-shrink: 1;
    margin: 0 0 16px 16px;
}

.article-list-container {
    background-color: white;
    padding: 128px;
    margin-bottom: 32px;
    color: var(--psk-color-subtext);
}

.article .copyright {
    margin: 0 0 32px;
    text-align: center;
    text-shadow: none;
    color: var(--psk-color-subtext);
}

.article {
    font-family: "Yrsa", serif;
    font-weight: 400;
    background-color: var(--psk-color);
    color: var(--psk-color-text);
    line-height: 1.66;
    border-radius: 3px;
    font-size: 18px;
}

.article .article-content {
    padding: 32px;
}

.article .date {
    color: var(--psk-color-subtext);
}

.article .title h1 {
    color: var(--psk-color-bg);
    margin-bottom: 0;
}

.article .date {
    margin-top: 0;
}

.article a {
    color: var(--psk-color-bg);
}

.article a:not(.title) {
    text-decoration: underline;
}

.article a.header-anchor {
    text-decoration: none;
    color: var(--psk-color-text);
}

.article a.header-anchor:hover {
    color: var(--psk-color-bg);
}

.article h1 {
    font-family: "Exo 2", sans-serif;
}

.article p {
    margin-bottom: 1rem;
}

.article li {
    list-style: square;
}

.article pre[class*="language-"] {
    margin: 32px auto;
    font-size: 0.85rem;
}

.article img {
    margin: 32px auto;
    border-radius: 3px;
    height: auto;
}

.article code {
    font-size: 1rem;
    background-color: var(--psk-color-subtext);
    color: var(--psk-color);
    padding: 2px 5px;
    border-radius: 2px;
}

.article code[class*="language-"] {
    padding: 0;
}

.article video {
    margin: 32px auto;
    width: auto;
    height: auto;
}

.article blockquote {
    border-left: 2px solid var(--psk-color-subtext);
    color: var(--psk-color-subtext);
    margin: 16px 0;
    padding: 0 0 0 16px;
}

.social-footer {
    margin: 32px auto 0;
    padding: 0;
    display: flex;
    list-style-type: none;
    align-items: center;
    justify-content: center;
}

.social-footer li {
    list-style: none;
}

.social-footer li:not(:last-child) {
    margin-right: 16px;
}

.social-footer a {
    color: var(--psk-color-subtext);
    text-decoration: underline;
    font-size: 0.75rem;
}

/* Really feel like I should have a preprocessor by now */
@media (max-width: 720px) {
  .article {
    width: 100%;
  }
}

@media (min-width: 721px) {
  .article {
    width: 720px;
    margin: 0 auto 16px;
  }
}

.article-list a {
    text-decoration: underline;
    color: var(--psk-color-subtext);
}

.header-link {
    font-size: 2rem;
    display: block;
    margin: 32px auto 32px;
}

.promoted-tag > p,
.promoted-tag > ul li,
.promoted-tag > ul li a,
.promoted-tag > ul li a:visited {
    color: var(--psk-color-subtext);
}

.promoted-tag {
    display: block;
    font-family: "Exo 2";
    margin-top: 32px;
    background-color: #dfdfdf;
    padding: 48px;
    color: white;
    font-size: 1rem;
}

.promoted-tag > p {
    margin-bottom: 0;
}

.promoted-tag > ul {
    margin: 0 0 16px;
    padding-left: 16px;
}

.promoted-tag > ul li {
    list-style: square;
}

.image-description {
    display: block;
    text-align: center;
    font-style: italic;
    color: var(--psk-color-subtext);
}
