* {
    box-sizing: border-box;
    scroll-behavior: smooth;
    transition: all 187ms cubic-bezier(0, 0, 0, 1);
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.63) transparent;
}

*::-webkit-scrollbar {
    width: 12px;
}

*::-webkit-scrollbar-track {
    background: transparent;
}

*::-webkit-scrollbar-thumb {
    background-color: rgba(143, 143, 143, 0.63);
    border-radius: 20px;
}

*::-webkit-scrollbar-thumb:hover {
    background-color: rgba(240, 240, 240, 0.63);
}

@font-face {
    font-family: "Futura Condensed Light";
    src: url("../font/Futura-CondensedLight.otf") format("opentype");
}

@font-face {
    font-family: "MagicCards";
    src: url("../font/MagicCardsNormal.ttf") format("truetype");
}

@font-face {
    font-family: "MailartRubberstamp";
    src: url("../font/MailartRubberstamp-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-padding-top: 5.375em;
}

body {
    margin: 0;
    font-size: 0.95em;
    font-weight: 400;
    line-height: 1.45em;
    background: #2c2c2c;
    color: white;
}

h1 {
    font-size: 40px;
    font-weight: 600;
    line-height: 52px;
}

h2 {
    font-size: 2.1em;
    font-weight: 600;
    line-height: 1.2em;
    cursor: pointer;
}

h3 {
    font-size: 1.5em;
    font-weight: 600;
    line-height: 1.25em;
}

a {
    color: rgb(101, 206, 253);
    text-decoration: none;
}

a:hover {
    color: hsl(199, 83%, 45%);
}

li {
    margin-top: 1em;
    margin-bottom: 1em;
}

hr {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin: 10px;
}

.container {
    display: flex;
    min-height: 100vh;
}

:root {
    --sidebar-margin: 14.5em;
    --scrollbar-width: 0.7em;
    --hub-accent: rgb(101, 206, 253);
    --stobe-title-font: "MailartRubberstamp", "Futura Condensed Light", Arial, sans-serif;
    --site-bg-primary: #2c2c2c;
    --site-bg-secondary: #1a1a1a;
}

.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 70px;
    margin-left: var(--sidebar-margin);
    margin-right: var(--scrollbar-width);
    width: auto;
    padding: 2em;
}

footer {
    text-align: center;
    padding: 8px;
    margin-top: 10px;
    outline: 1px solid rgba(0, 0, 0, 0.1);
    background-color: var(--site-bg-secondary);
}

.theme {
    background: var(--site-bg-primary);
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

.section {
    opacity: 0;
    transition: opacity 1s ease;
}

.section.fade-in {
    opacity: 1;
}

.hero-card h1,
#headerTitle {
    font-family: "MagicCards", serif;
    letter-spacing: 1.5px;
    word-spacing: 8px;
    font-weight: 400;
}

.magic-subtitle {
    font-family: "MagicCards", serif;
    letter-spacing: 1.5px;
    word-spacing: 8px;
    font-weight: 400;
    font-size: 2em;
    line-height: 1.15em;
    margin: 0.15em 0 0.45em 0;
}

.hubTitle {
    font-family: "MagicCards", serif;
    letter-spacing: 1.5px;
    word-spacing: 8px;
    font-weight: 400;
}

.stobe-theme #headerTitle,
.stobe-theme .hero-card h1 {
    font-family: var(--stobe-title-font);
    letter-spacing: 0.5px;
    word-spacing: 8px;
    font-weight: 400;
}

.logo-container {
    display: flex;
    gap: 1.6em;
    align-items: center;
}

.logo-container img {
    max-width: 220px;
}

@media only screen and (max-width: 1220px) {
    .content {
        margin-right: 0 !important;
    }
}

@media only screen and (max-width: 900px) {
    .content {
        margin-left: 0;
    }
}

@media only screen and (max-width: 700px) {
    ul,
    ol {
        margin-left: -1.75em;
    }

    .content {
        padding: 4px;
    }

    .logo-container {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media only screen and (max-width: 470px) {
    .container {
        min-width: 100%;
        overflow-x: hidden;
    }

    .content {
        padding: 4px;
        width: 100%;
        min-width: 0;
        margin-left: 0;
        margin-right: 0;
        overflow-x: hidden;
    }
}
