@font-face {
    font-family: 'WS-Main';
    src: url("/static/fonts/Farro-Regular.woff2") format("woff2");
    font-weight: normal;
}
@font-face {
    font-family: 'WS-Main';
    src: url("/static/fonts/Farro-Light.woff2") format("woff2");
    font-weight: 300;
}
@font-face {
    font-family: 'WS-Main';
    src: url("/static/fonts/Farro-Medium.woff2") format("woff2");
    font-weight: 500;
}
@font-face {
    font-family: 'WS-Main';
    src: url("/static/fonts/Farro-Bold.woff2") format("woff2");
    font-weight: bold;
}

html {
    background-color: #000;
    background-image: url("/static/img/bg2.webp"), url("/static/img/bg.webp");
    background-size: 512px, 1024px;
    background-repeat: repeat;
    animation: background-scroll 2000s linear infinite;
}

body {
    padding: 0;
    margin: 0;
    font-family: "WS-Main", sans-serif;
    color: white;
}

article {
    margin: auto auto 8px;
    padding: 10px;
    max-width: 1000px;
    backdrop-filter: blur(8px);
    border-radius: 8px;
    border-width: 4px;
    border-style: solid;
}
article h1, article h2, article h3, article h4, article h5, article h6 {
    margin-bottom: 0px;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
}
ul, ol {
    margin: 0;
}

header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #2234;
    border-bottom: 4px solid #111;
    margin-bottom: 32px;

    color: white;
    backdrop-filter: blur(8px);

    z-index: 9999;
}
footer {
    width: 100%;
    text-align: center;
}

/* IDS */

#navbar {
    margin: auto auto 0px;
    max-width: 900px;
    display: flex;
    vertical-align: center;
    justify-content: center;
}
#navbar-links {
    margin: auto;
    max-width: 900px;
    display: flex;
    vertical-align: center;
    justify-content: center;
}
#navbar-links a, #navbar-links a:visited {
    text-decoration: none;
    color: turquoise;
}
#navbar-links a:hover {
    color: cyan;
}



/* CLASSES */

.thinner-article {
    max-width: 700px;
}

.article-grey {
    border-color: #333;
    background-color: #06060666;
}
.article-pink {
    border-color: #a6a;
    background-color: #3035
}
.article-magenta {
    border-color: #606;
    background-color: #3036;
}
.article-red {
    border-color: #600;
    background-color: #3006;
}
.article-green {
    border-color: #060;
    background-color: #0306;
}
.article-blue {
    border-color: #006;
    background-color: #0036;
}
.article-purple {
    border-color: #306;
    background-color: #1036;
}

.article-rainbow {
    animation: rainbow-section 25s linear infinite;
}
.article-purple-osc {
    animation: purple-osc-section 25s linear infinite;
}

.sub-container {
    padding: 4px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-grow: 1;
    flex-shrink: 1;
}

.sub-contained {
    border-width: 4px;
    border-radius: 8px;
    border-style: solid;
    padding: 8px;
    margin: 4px;
    flex-grow: 1;
    flex-basis: 250px;
}
.sub-contained h1, .sub-contained h2, .sub-contained h3, .sub-contained h4, .sub-contained h5, .sub-contained h6 {
    margin-bottom: 8px;
}
.sub-contained p {
    margin: 0;
}

.navbar-inner-lr {
    flex-grow: 1;
    flex-basis: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: row wrap;
    padding: 4px;
}
.navbar-inner-lr * {
    margin: 0;
}

.quote_text {
    color: yellow;
}

/* Badges */

#badge-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
}

.badge {
    border-radius: 4px;
    color: white;
    font-weight: bold;
    padding: 4px 0 4px 4px;
    text-decoration: none;
    margin: 4px;
    white-space: nowrap;
}
.badge-inner {
    border-radius: 4px;
    color: white;
    font-weight: normal;
    margin: 2px 2px 2px 4px;
    padding: 1px;
}

/* Badge colours */

.badge-magenta {
    background-color: magenta;
    border: 2px solid magenta;
}
.badge-magenta .badge-inner {
    border: 2px solid darkmagenta;
    background-color: darkmagenta;
}

.badge-purple {
    background-color: mediumpurple;
    border: 2px solid mediumpurple;
}
.badge-purple .badge-inner {
    border: 2px solid rebeccapurple;
    background-color: rebeccapurple;
}

.badge-blue {
    background-color: dodgerblue;
    border: 2px solid dodgerblue;
}
.badge-blue .badge-inner {
    border: 2px solid #2455a6;
    background-color: #2455a6;
}

.badge-turquoise {
    background-color: mediumturquoise;
    border: 2px solid mediumturquoise;
}
.badge-turquoise .badge-inner {
    border: 2px solid darkcyan;
    background-color: darkcyan;
}

/* Keyframe stuff */
@keyframes background-scroll {
    0% {background-position: 0px 333px, 0px 0px;}
    100% {background-position: -5120px 333px, -12288px 0px;}
}
@keyframes rainbow-section {
    0% {
        border-color: #bf0000;
        background-color: #3006;
    }
    10% {
        border-color: rgb(191, 115, 0);
        background-color: rgba(51, 31, 0, 0.4);
    }
    20% {
        border-color: rgb(153, 191, 0);
        background-color: rgba(41, 51, 0, 0.4);
    }
    30% {
        border-color: rgb(38, 191, 0);
        background-color: rgba(10, 51, 0, 0.4);
    }
    40% {
        border-color: rgb(0, 191, 77);
        background-color: rgba(0, 51, 20, 0.4);
    }
    50% {
        border-color: rgb(0, 191, 191);
        background-color: rgba(0, 51, 51, 0.4);
    }
    60% {
        border-color: rgb(0, 76, 191);
        background-color: rgba(0, 20, 51, 0.4);
    }
    70% {
        border-color: rgb(38, 0, 191);
        background-color: rgba(10, 0, 51, 0.4);
    }
    80% {
        border-color: rgb(153, 0, 191);
        background-color: rgba(41, 0, 51, 0.4);
    }
    90% {
        border-color: rgb(191, 0, 115);
        background-color: rgba(51, 0, 31, 0.4);
    }
    100% {
        border-color: #bf0000;
        background-color: #3006;
    }
}

@keyframes purple-osc-section {
    0% {
        border-color: #bf00bf;
        background-color: #3036;
    }
    50% {
        border-color: rgb(102, 0, 191);
        background-color: rgba(25, 0, 50, 0.4);
    }
    100% {
        border-color: #bf00bf;
        background-color: #3036;
    }
}