@font-face {
    font-family: cascadia-code;
    src: url("/font/cascadia_code.ttf")
}

@font-face {
    font-family: kingstone;
    src: url("/font/kingstone.ttf");
}

@font-face {
    font-family: papyrus;
    src: url("/font/papyrus.ttf");
}

@font-face {
    font-family: poland-canned-into-kaito;
    src: url("/font/poland_canned_into_kaito.otf");
}

@font-face {
    font-family: sabily;
    src: url("/font/sabily.ttf");
}

@font-face {
    font-family: dazzle-ships;
    src: url("/font/dazzle_ships.otf");
}

:root {
    --scheme-border-color: white;
    --scheme-text-color: white;
    --scheme-bg-dark-color: black;
    --scheme-bg-light-color: black;
    --scheme-bg-image: none; 
    --list-style: square;
    --list-marker-width: 0em;
    --waow-font: papyrus;
}

* {
    margin: 0;
    padding: 0;
    font-family: cascadia-code;
    color: var(--scheme-text-color);
    font-size: 15pt;
}

h1 {
    font-family: var(--waow-font);
    font-size: 28pt;
    margin-top: 6px;
}

a {
    text-decoration: none;
    font-weight: bold;
}

.underline {
    text-decoration: underline;
}

html {
    background-color: black;
    background-image: var(--scheme-bg-image);
    background-size: cover;
    background-repeat: repeat;

    display: flex;
    justify-content: center;
    align-items: center;
}

body {
    border: solid 4px var(--scheme-border-color);

    background: radial-gradient(circle at 50% 50%, var(--scheme-bg-light-color), var(--scheme-bg-dark-color) 90%);

    width: 92%;

    padding: 7px;
    padding-top: 9px;

    margin-top: 50px;
    margin-bottom: 50px;
}

.widget {
    margin-top: -2px;
    padding: 4px;
    border: solid 2px var(--scheme-border-color);
}

table {
    width: 100%;
    table-layout: fixed;
}

.border, td {
    border: solid 2px var(--scheme-border-color);
}

td {
    text-align: center;
}

button {
    background-color: #00000000;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: justify;
}

.marquee-container {
    width: 100%;
    line-height: 50px;
    height: 50px;
    white-space: nowrap;
    overflow: hidden;
    box-sizing: border-box;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
}

.image-list-widget {
    display: flex;
    align-items: stretch;
    gap: 4px;
}

.image-list-widget > img {
    --size: 200px;
    width: var(--size);
    height: var(--size);
    object-fit: cover;
}

.image-list-widget > div {
    margin: 0px;
    align-content: center;
    flex: 1;
}

.image-list-widget > div > ul {
    margin: auto;
    padding: 5px;
}

ul {
    list-style-type: none;
    counter-reset: li_counter;
}

li::before {
    content: counter(li_counter, var(--list-style));
    display: inline-block;
    width: var(--list-marker-width);
}

li {
    margin: 0px;
    line-height: 25px;
    counter-increment: li_counter;
}

.socials-link {
    height: 30px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1px;
    font-size: min(18px, 1.25vw);
    text-wrap-mode: nowrap;
}

.socials-link > img {
    width: 18px;
    height: 18px;
    margin-right: 5px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 4px; 

    margin-top: 4px;
    margin-left: auto;
    margin-right: auto;
}

.grid > a {
    width: 95%;
    height: auto;
    max-width: 100%;
    display: block;
    margin: auto;
}

.grid img {
    width: 100%;
    margin-bottom: -5px;
}
