/* Fonts */
@font-face {
    font-family: "Dogica Pixel";
    font-weight: 400;
    font-style: normal;
    src: url("../assets/fonts/dogicapixel.woff2") format("woff2");
    font-display: swap;
}

@font-face {
    font-family: "Dogica";
    font-weight: 400;
    font-style: normal;
    src: url("../assets/fonts/dogica.woff2") format("woff2");
    font-display: swap;
}

@font-face {
    font-family: "Dot Matrix";
    font-weight: 400;
    font-style: normal;
    src: url("../assets/fonts/dotmat.woff2") format("woff2");
    font-display: swap;
}

@font-face {
    font-family: "BPDots";
    font-weight: 400;
    font-style: normal;
    src: url("../assets/fonts/BPdotsUnicasePlus.woff2") format("woff2");
    font-display: swap;
}

/* Variables */
:root {
    --color-bg: #1a1a1a;
    --color-text: #F5F5F5;
    --color-text-muted: #5a5a5a;
    --color-accent: #ff9661;
    --color-accent2: #a8e6a1;
    --width-navbar: 160px;
    --spacing: 1rem;
}

/* General stuff */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Dogica Pixel", monospace;
    /* text-transform: uppercase; */
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    text-align: left;
}

a {
    color: var(--color-accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.external:hover {
    color: var(--color-accent2);
}

/* Navbar */
.navbar {
    font-size: 14px;
    background-color: var(--color-bg);
    width: var(--width-navbar);
    height: 100vh;
    padding: var(--spacing);
    position: fixed;
    top: 0;
    left: 0;
    border-right: 1px solid var(--color-text-muted);
    display: flex;
    flex-direction: column;
}

/* Container stuff */
.container {
    flex: 1;
    width: calc(100% - var(--width-navbar));
    margin-left: var(--width-navbar);
    padding: calc(var(--spacing) * 2) var(--spacing) var(--spacing);
    margin-top: 1rem;
}

/* Main content */
.main-content {
    color: var(--color-text-muted);
    max-width: 700px;
}

/* Post settings */
.post-type1 {
    display: flex;
    /* flex-direction: column; */
    align-items: flex-start;
    /* text-align: justify; */
    gap: 1rem;
}
.post-type1 img {
    border: 1px solid var(--color-text-muted);
    max-width: 150px;
    height: auto;
}

/* Tables */
table {
    text-transform: lowercase;
    text-align: left;
    border-collapse: collapse;
    margin-top: 1rem;
}

/* Sub-class for the items in the first column of a table */
.thcl1:first-child {
  text-align: center;
}

th, td {
    padding: 0.5rem;
    border: 1px solid var(--color-text-muted);
    vertical-align: top;
}

/* Footer */
footer {
    text-align: center;
    text-transform: lowercase;
    font-size: 10px;
    padding: var(--spacing);
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-text-muted);
    width: calc(100% - var(--width-navbar));
    margin-left: var(--width-navbar);
}

/* Scrolling thing at the top */
.toploop {
    position: relative;
    top: 0;
    left: var(--width-navbar);
    width: calc(100% - var(--width-navbar));
    white-space: nowrap;
    overflow: hidden;
    border-bottom: 1px solid var(--color-text-muted);
    background: var(--color-bg);
}

.toploop-text {
    display: inline-block;
    padding-left: 100%;
    animation: top-scroll-left 30s linear infinite;
    color: var(--color-accent);
}

@keyframes top-scroll-left {
    from    { transform: translateX(0%);    }
    to      { transform: translateX(-100%); }
}

/* Scrolling block on the right (Yeah, I like scrolling things)*/
.right-box-wrapper {
    position: fixed;
    top: 20%;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.right-box-title {
    font-size: 14px;
    color: var(--color-accent2);
    text-align: center;
}

.right-box {
    width: 200px;
    height: 50px;
    border: 1px solid var(--color-text-muted);
    background: var(--color-bg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.5rem;
}

.right-scroll {
    display: flex;
    white-space: nowrap;
    animation: scroll-left 12s linear infinite;
}

.right-scroll span {
    color: var(--color-accent);
    font-size: 14px;
    padding-right: 2rem;
}

@keyframes scroll-left {
    from { transform: translateX(100%);     }
    to   { transform: translateX(-100%);    }
}

/*
i have no idea of what im doing here lmao.
i also dont know how licenses and shit work so yeah whatever just dont copy my art or repost it around.
and most important of all: dont run any sort of fucking AI shit here. fuck off with that.
if you're reading this and you're not that sort of cunt: have a great day!
*/
