/*

Page Rules

*/


:root {
    --dark-color-1: #192138;
    --dark-color-2: #151d33;
    --dark-color-3: #12192e;
    --dark-color-4: #000000;

    --gray-color-1: #cccccc;
    --gray-color-2: #333333;

    --light-color-1: #ffffff;
    --light-color-2: #faf9f5;
    --light-color-3: #f5f3eb;
    --light-color-4: #a8a7a2;

    --red-color-1: #f29dac;
    --red-color-2: #e55c73;
    --red-color-3: #993d4c;

    --orange-color-1: #f2a179;
    --orange-color-2: #E67339;
    --orange-color-3: #994d26;

    --yellow-color-1: #f2de79;
    --yellow-color-2: #e5c939;
    --yellow-color-3: #807020;

    --green-color-1: #bcf2aa;
    --green-color-2: #76e550;
    --green-color-3: #41802d;

    --cyan-color-1: #91e2f2;
    --cyan-color-2: #50cde5;
    --cyan-color-3: #368899;

    --blue-color-1: #91c2f2;
    --blue-color-2: #509be5;
    --blue-color-3: #3a70a6;

    --lavender-color-1: #bfb8e5;
    --lavender-color-2: #8f7ee5;
    --lavender-color-3: #7869bf;

    --pink-color-1: #ecaaf2;
    --pink-color-2: #db67e5;
    --pink-color-3: #9e4ba6;
}

html {
    height: 100%;
    overflow-y: scroll;
    background-color: var(--dark-color-1);
}

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
}

@keyframes fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}


/*

Page Header

*/


header#page-header {
    flex-shrink: 0;
}

/*
Page Navbar
*/

div.navbar {
    width: 100%;
    background: var(--dark-color-1);
}

nav.navbar-elements {
    margin: auto;
    max-width: 1280px;
    display: grid;
    grid-template-columns: repeat(24, 1fr);
}

.navbar-logo {
    float: left;
    padding: 12px 16px;
    max-height: 32px;
}

.navbar-title, span.navbar-toggle-button, .navbar-item {
    border-radius: 8px;
    padding: 16px;
    font-weight: 600;
    color: var(--light-color-1);
    transition: background 0.25s, color 0.25s;
}

a.navbar-title:hover, a.navbar-item:hover {
    color: var(--cyan-color-2);
}

span.navbar-toggle-button:hover {
    color: var(--light-color-1);
}

a.navbar-item-active {
    color: var(--cyan-color-2);
}

a.navbar-item-button {
    background-color: var(--dark-color-3);
}

div.navbar-brand {
    grid-column-start: span 10;
    padding: 16px;
}

.navbar-title {
    text-transform: uppercase;
    font-size: 22px;
}

div.navbar-toggler {
    display: none;
    grid-column-start: span 4;
    padding: 16px;
    text-align: right;
}

span.navbar-toggle-button {
    font-size: 22px;
    cursor: pointer;
}

div.navbar-items {
    grid-column-start: span 14;
    padding: 16px;
    font-size: 14px;
    text-align: right;
}

span.navbar-item {
    cursor: default;
}

.navbar-item:hover {
    background: var(--dark-color-3);
}

.navbar-dropdown {
    display: inline-block;
    position: relative;
}

.navbar-dropdown-content {
    display: none;
    position: absolute;
    z-index: 1;
    right: 0px;
    min-width: 128px;
    background: var(--dark-color-3);
    border-radius: 8px 0 8px 8px;
}

.navbar-dropdown-content .navbar-item {
    float: none;
    text-decoration: none;
    display: block;
    text-align: center;
}

.navbar-dropdown:hover > .navbar-item {
    border-radius: 8px 8px 0 0;
    background: var(--dark-color-3);
}

.navbar-dropdown:hover .navbar-item + .navbar-dropdown-content {
    display: block;
    padding: 0 16px;
    animation: fade-in 0.25s;
}

.navbar-title, span.navbar-toggle-button, .navbar-item {
    display: inline-block;
}

/* If the window is 1024px or less in width */
@media all and (max-width: 1024px) {
    div.navbar {
        background: none;
    }
    div.navbar-brand {
        background: var(--dark-color-1);
        grid-column-start: span 20;
    }
    div.navbar-toggler {
        background: var(--dark-color-1);
        display: inline-block;
    }
    div.navbar-items {
        border-top: 2px solid var(--dark-color-3);
        background: var(--dark-color-1);
        grid-column: 1 / -1;
        display: none;
    }
    div.navbar-items > * {
        animation: fade-in 0.5s;
    }
    div.navbar-items-show {
        display: block;
        animation: fade-in 0.25s;
    }
}

/* If the window is 768px or less in width */
@media all and (max-width: 768px) {
    div.navbar-items {
        text-align: center;
    }
    div.navbar-items > * {
        margin: auto;
        width: 256px;
    }
    .navbar-item {
        display: block;
        padding: 16px;
        max-width: 100%;
    }
    a.navbar-item-button {
        width: 256px;
        max-width: 100%;
    }
    div.navbar-dropdown {
        display: block;
    }
    .navbar-dropdown-content {
        position: relative;
        border-radius: 0px 0 8px 8px;
    }
}


/*

Content Grid

*/


div.content-grid {
    flex: 1 0 auto;
    margin: auto;
    width: 100%;
    max-width: 1280px;
    display: grid;
    grid-template-columns: repeat(24, 1fr);
    column-gap: 8px;
}

/*
Main Content Area
*/

main {
    min-width: 0;
    grid-row: 1;
    margin-top: 8px;
}

main.landing {
    flex: 1 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

main.landing article.main-article {
    width: 384px;
    max-width: 90%;
    max-height: 100%;
    padding: 64px 32px;
    animation: fade-in 1s;
}

header.landing-header {
    text-align: center;
}

img.landing-image {
    display: block;
    margin: auto;
}

h1.landing-title {
    margin-bottom: 16px;
    font-size: 40px;
    text-transform: uppercase;
}

section.landing-body {
    text-align: center;
    margin-top: 48px;
}

main.full-width {
    grid-column: 1 / -1;
}

main.full-width article.main-article {
    padding: 32px 128px;
}

main.full-width header.feed-header {
    padding: 16px 128px;
}

main.sidebar {
    grid-column-start: span 17;
}

main.sidebar article.main-article {
    padding: 32px 64px;
}

main.sidebar header.feed-header {
    padding: 16px 64px;
}

article.main-article {
    margin-bottom: 8px;
    border-radius: 8px;
}

/* Feed Properties */

header.feed-header {
    margin-bottom: 8px;
    border-radius: 8px;
    text-align: center;
}

div.feed-tagline {
    margin-top: -16px;
    margin-bottom: 32px;
    font-size: 18px;
    font-weight: 200;
}

/* Post Preview Properties */

article.post-preview {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 32px;
}

header.post-preview-header {
    grid-row: 1;
    grid-column: span 8;
}

section.post-preview-summary {
    grid-row: 2;
    grid-column: span 8;
}

section.post-preview-image {
    grid-row: 1 / span 2;
    grid-column: span 4;
}

/* Post Properties */

div.post-description {
    margin: -16px -16px 16px -16px;
    border-radius: 8px;
    padding: 16px;
}

div.post-details {
    margin: 16px 0 0 0;
    font-size: 16px;
}

/*
Sidebars
*/

aside.sidebar-left {
    grid-row: 1;
    grid-column: 1 / span 7;
    margin-top: 8px;
}

aside.sidebar-right {
    grid-row: 1;
    grid-column: span 7 / 25;
    margin-top: 8px;
}

section.sidebar-section {
    padding: 32px;
    margin-bottom: 8px;
    border-radius: 8px;
}

/* If the window is 1024px or less in width */
@media all and (max-width: 1024px) {
    div.content-grid {
        padding-bottom: 0;
    }
    main.full-width header.feed-header, main.sidebar header.feed-header {
        padding: 32px 64px;
    }
    main.full-width article.main-article {
        padding: 32px 64px;
    }
    main.sidebar {
        grid-column: 1 / -1;
    }
    main.full-width header.post-preview-header {
        grid-row: 1;
        grid-column: span 8;
    }
    main.full-width section.post-preview-summary {
        grid-row: 2;
        grid-column: span 12;
    }
    main.full-width section.post-preview-image {
        grid-row: 1;
        grid-column: span 4;
    }
    aside.sidebar-left, aside.sidebar-right {
        grid-row: 2;
        grid-column: 1 / -1;
        margin-top: 0;
    }
    section.sidebar-section {
        padding: 32px 192px;
    }
}

/* If the window is 896px or less in width */
@media all and (max-width: 896px) {
    main.full-width header.post-preview-header, main.sidebar header.post-preview-header {
        grid-column: span 7;
    }
    main.full-width section.post-preview-image, main.sidebar section.post-preview-image {
        grid-column: span 5;
    }
}

/* If the window is 768px or less in width */
@media all and (max-width: 768px) {
    main.full-width header.post-preview-header, main.sidebar header.post-preview-header {
        grid-row: 1;
        grid-column: span 12;
    }
    main.full-width section.post-preview-summary, main.sidebar section.post-preview-summary {
        grid-row: 3;
        grid-column: span 12;
    }
    main.full-width section.post-preview-image, main.sidebar section.post-preview-image {
        grid-row: 2;
        grid-column: span 12;
        margin-top: 16px;
    }
    section.sidebar-section {
        padding: 32px 96px;
    }
}

/* If the window is 512px or less in width */
@media all and (max-width: 512px) {
    main.full-width header.feed-header, main.sidebar header.feed-header {
        padding: 32px;
    }
    main.full-width article.main-article, main.sidebar article.main-article {
        padding: 32px;
    }
    section.sidebar-section {
        padding: 32px;
    }
}


/*

Page Footer

*/


footer#page-footer {
    flex-shrink: 0;
    width: 100%;
    background: var(--dark-color-1);
    color: var(--light-color-1);
}

footer#page-footer-tr {
    flex-shrink: 0;
    width: 100%;
    color: var(--light-color-1);
}

/*
Page Footer Sections
*/

div#page-footer-sections {
    margin: auto;
    max-width: 1280px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

section.page-footer-section {
    grid-column-start: span 1;
    min-width: 0;
    padding: 16px 32px;
}

section.page-footer-section h3, section.page-footer-section h4, section.page-footer-section h5, section.page-footer-section h6 {
    color: var(--light-color-1);
}

/*
Page Footer Return-to-Top Button/Copyright
*/

div#return-to-top {
   padding: 16px 32px;
   text-align: center;
}

section#page-footer-copyright {
    padding: 16px 32px 16px 32px;
    text-align: center;
}

section#page-footer-copyright p {
    margin: 0;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 12px;
}

/* If the window is 1024px or less in width */
@media all and (max-width: 1024px) {
    section.page-footer-section {
        grid-column: 1 / -1;
        padding: 16px 192px;
    }
}

/* If the window is 768px or less in width */
@media all and (max-width: 768px) {
    section.page-footer-section {
        padding: 16px 96px;
    }
}

/* If the window is 512px or less in width */
@media all and (max-width: 512px) {
    section.page-footer-section {
        padding: 16px 32px;
    }
}


/*

Textual Elements

*/


/*
Block Elements
*/

h1 {
    margin: 32px 0;
    font-weight: 300;
    font-size: 48px;
    line-height: normal;
}

h2 {
    margin: 32px 0;
    font-weight: 400;
    font-size: 36px;
    line-height: normal;
}

h3 {
    margin: 32px 0;
    font-weight: 400;
    font-size: 30px;
    line-height: normal;
}

h4 {
    margin: 32px 0;
    font-weight: 500;
    font-size: 24px;
    line-height: normal;
    text-transform: uppercase;
}

h5 {
    margin: 24px 0;
    font-weight: 500;
    font-size: 20px;
    line-height: normal;
}

h6 {
    margin: 24px 0;
    font-weight: 500;
    font-size: 16px;
    line-height: normal;
    text-transform: uppercase;
}

p {
    margin: 16px 0;
}

hr {
    margin: 32px 0;
}

dl {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

dt {
    font-weight: 600;
}

dt::after {
  content: ":";
}

address {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
}

details {
    margin: 16px 0;
}

details > summary {
    border: 0;
    border-radius: 8px;
    padding: 16px;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
    transition: box-shadow 0.25s;
}

details > * {
    margin-left: 32px;
}

details summary {
    margin-left: 0;
}

details summary:hover {
    box-shadow: 0 0 4px 0.5px rgba(0,0,0,0.25);
}

blockquote {
    display: inline-block;
    margin: 16px 0;
    box-sizing: border-box;
    max-width: 100%;
    border-radius: 8px;
    padding: 16px;
}

blockquote > p {
    margin: 0;
}

footer.blockquote-footer {
    margin-top: 8px;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 12px;
}

pre {
    display: inline-block;
    margin: 16px 0;
    border-radius: 8px;
    box-sizing: border-box;
    max-width: 100%;
    padding: 16px;
    overflow: auto;
    font-family: 'Noto Mono', monospace;
    font-size: 16px;
}

/*
Custom Block Elements
*/

/* Alerts */

div#page-alert {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1;
    margin: 0;
    max-width: calc(100% - 32px);
    box-shadow: 0 0 6px 0.5px rgba(0,0,0,0.25);
    animation: fade-in 0.5s;
}

div.alert {
    display: inline-block;
    margin: 16px 0;
    max-width: 100%;
    border-radius: 8px;
}

header.alert-header, div.alert-body {
    padding: 0 16px;
}

button.dismiss-button {
    float: right;
    height: 32px;
    padding: 8px 12px;
    background: none;
    font-size: 10px;
}

button.dismiss-button:hover {
    box-shadow: none;
}

button.dismiss-button:active {
    background: none;
}

/* Cards */

div.card {
    display: inline-block;
    margin: 16px 0;
    max-width: 100%;
    border-radius: 8px;
}

.card-title, div.card-body {
    padding: 0 16px 0 16px;
}

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

img.card-header-image {
    width: 100%;
    border-radius: 8px 8px 0 0;
}

/*
Inline Elements
*/

strong {
    font-weight: 600;
}

em {
    font-style: italic;
}

b {
    font-weight: 600;
}

i {
    font-style: italic;
}

s {
    text-decoration: line-through;
}

mark {
    text-decoration: none;
}

ins {
    text-decoration: none;
}

del {
    text-decoration: none;
}

dfn {
    font-style: italic;
}

var {
    font-style: italic;
}

a {
    text-decoration: none;
    transition: color 0.25s;
}

a:hover {
    text-decoration: none;
}

cite {
    font-style: italic;
}

kbd, code, samp {
    font-family: 'Noto Mono', monospace;
    font-size: 16px;
}

/*
Custom Inline Elements
*/

/* Badges */

span.badge {
    margin: 0 2px 0 2px;
    border-radius: 8px;
    padding: 2px 8px 2px 8px;
    font-size: 14px;
    font-weight: 600;
}


/*

Images

*/


img {
    display: inline-block;
    margin: 0;
    max-width: 100%;
    border-radius: 8px;
}

figure {
    display: inline-block;
    margin: 16px 0;
    max-width: 100%;
    border-radius: 8px;
    padding: 0;
}

figure img {
    display: block;
    width: 100%;
    border-radius: 8px 8px 0 0;
}

figcaption {
    padding: 8px 0 8px 0;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 12px;
    text-align: center;
}


/*

Forms

*/


fieldset {
    margin: 16px 0;
    min-width: 0;
    max-width: 100%;
    padding: 24px 16px 16px 16px;
    border-radius: 8px;
}

legend {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    line-height: normal;
    text-transform: uppercase;
}

label {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
}

input {
    cursor: pointer;
    transition: box-shadow 0.25s;
}

input:hover {
    box-shadow: 0 0 4px 0.5px rgba(0,0,0,0.25);
}

input:focus {
    box-shadow: 0 0 4px 0.5px rgba(0,0,0,0.25);
}

/*
Textual Inputs
*/

input[type=date], input[type=datetime-local], input[type=email], input[type=month], input[type=number], input[type=password], input[type=search], input[type=text], input[type=time], input[type=tel], input[type=url], input[type=week]  {
    appearance: none;
    display: inline-block;
    margin: 8px 0;
    border-width: 0 0 0 4px;
    border-style: solid;
    border-radius: 8px;
    box-sizing: border-box;
    width: 100%;
    max-width: 512px;
    height: 48px;
    padding: 8px 16px;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
}

input[type=date]:hover, input[type=datetime-local]:hover, input[type=email]:hover, input[type=month]:hover, input[type=number]:hover, input[type=password]:hover, input[type=search]:hover, input[type=text]:hover, input[type=time]:hover, input[type=tel]:hover, input[type=url]:hover, input[type=week]:hover {
    box-shadow: inset 0 0 4px 0.5px rgba(0,0,0,0.25);
}

input[type=date]:focus, input[type=datetime-local]:focus, input[type=email]:focus, input[type=month]:focus, input[type=number]:focus, input[type=password]:focus, input[type=search]:focus, input[type=text]:focus, input[type=time]:focus, input[type=tel]:focus, input[type=url]:focus, input[type=week]:focus {
    box-shadow: inset 0 0 4px 0.5px rgba(0,0,0,0.25);
    cursor: text;
}

textarea {
    appearance: none;
    display: inline-block;
    margin: 8px 0;
    border-width: 0 0 0 4px;
    border-style: solid;
    border-radius: 8px;
    box-sizing: border-box;
    min-height: 48px;
    width: 100%;
    min-width: 50%;
    max-width: 100%;
    padding: 16px;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
    cursor: pointer;
    transition: box-shadow 0.25s;
}

textarea:hover {
    box-shadow: inset 0 0 4px 0.5px rgba(0,0,0,0.25);
}

textarea:focus {
    box-shadow: inset 0 0 4px 0.5px rgba(0,0,0,0.25);
    cursor: text;
}

textarea:disabled {
    cursor: not-allowed;
    box-shadow: none;
}

/*
Clickable Inputs
*/

/* Buttons */

input[type=button], input[type=reset], input[type=submit] {
    appearance: none;
    border: 0;
    border-radius: 8px;
    height: 48px;
    padding: 8px 16px;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: box-shadow 0.25s, background 0.25s;
}

button {
    appearance: none;
    border: 0;
    border-radius: 8px;
    height: 48px;
    padding: 8px 16px;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: box-shadow 0.25s, background 0.25s;
}

button:hover {
    box-shadow: 0 0 4px 0.5px rgba(0,0,0,0.25);
}

button:disabled {
    cursor: not-allowed;
    box-shadow: none;
}

/* Selectors */

input[type=color], input[type=file] {
    border: 0;
    border-radius: 8px;
    padding: 8px 16px;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
}

input[type=color] {
    height: 48px;
    width: 96px;
}

input[type=file] {
    width: 100%;
    max-width: 256px;
}

input[type=file]:hover {
    box-shadow: inset 0 0 4px 0.5px rgba(0,0,0,0.25);
}

input[type=image]:hover {
    box-shadow: none;
}

input[type=range] {
    width: 100%;
    max-width: 512px;
}

input[type=checkbox] {
    margin: 8px;
}

input:disabled {
    cursor: not-allowed;
    box-shadow: none;
}

select {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    cursor: pointer;
}

select:disabled {
    cursor: not-allowed;
}

select optgroup {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    font-style: normal;
}

select option, optgroup option {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
}

datalist {
    cursor: pointer;
}


/*

Tables/Data Representation

*/


table {
    display: inline-block;
    border-radius: 8px;
    border-spacing: 0;
    max-width: 100%;
    overflow: auto;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
}

td, th {
    padding: 8px 16px;
}

th {
    font-weight: 600;
    text-align: left;
}

caption {
    caption-side: bottom;
    padding: 16px 16px 8px 16px;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    text-align: left;
    font-style: italic;
}

caption.caption-top {
    caption-side: top;
    padding: 8px 16px 16px 16px;
}

progress {
    width: 100%;
    max-width: 512px;
}

meter {
    width: 100%;
    max-width: 512px;
}


/*

Misc

*/


embed, object, iframe, canvas {
  margin: 16px 0;
}

div#noscript-error {
    padding: 8px 32px;
    background: var(--red-color-2);
    text-align: center;
    color: var(--dark-color-3);
}


/*
Sizing/Placement Classes
*/

.size-fw {
    width: 100%;
}

.size-xl {
    width: 768px;
}

.size-lg {
    width: 512px;
}

.size-md {
    width: 256px;
}

.size-sm {
    width: 128px;
}

.size-xs {
    width: 64px;
}

.crop-round {
    border-radius: 50%;
}

.float-left {
    float: left;
    margin: 8px 24px 16px 0;
}

.float-right {
    float: right;
    margin: 8px 0 16px 24px;
}
