@font-face {
    font-family: "Literata";
    src: url("/static/fonts/Literata.ttf");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Literata";
    src: url("/static/fonts/Literata-Italic.ttf");
    font-weight: normal;
    font-style: italic;
}

* {
    font-family: 'Literata', serif;
}

body {
    background-color: #000;
    color: #fff;
    padding: 0;
    margin: 0;
    font-size: 13pt;
}

.dark_blur {
    backdrop-filter: blur(4px);
    background-color: rgba(0, 0, 0, 0.75);
}

#header-container {
    border: #fff solid;
    border-width: 0 0 1px 0;
}

#header-title {
    padding: 0.25rem 0.5rem;
    margin: 0 0.5rem;
    cursor: pointer;
    background-color: transparent;
    transition: box-shadow 0.075s, scale 0.075s;
    font-size: 1.2rem;
}

#header-title:hover {
    box-shadow: inset 0 -3px #fff;
}

#header-title:active {
    box-shadow: inset 0 0 #fff;
    scale: 0.95;
}

#footer-container {
    border: #fff solid;
    border-width: 1px 0 0 0;
}

#main-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 67rem;
    margin: 2rem auto;
    padding: 1rem;
    gap: 3rem;
}

.block-container {
    padding: 2rem;
    border: solid 3px #fff;
}

.block-container > h1 {
    margin-top: 0;
}


.block-container-title {
    text-align: center;
}

#stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background-color: #000;
    pointer-events: none;
    image-rendering: pixelated;
}

.box-button {
    color: #fff;
    border: 3px #fff solid;
    background: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    /*margin: 0.5rem;*/
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.1s, translate 0.075s;
    user-select: none;
}

.box-button:hover {
    background-color: #444;
    backdrop-filter: blur(8px);
    translate: 0 -3px;
}

.box-button:active {
    background-color: #333;
    translate: 0 0;
}

.line-button {
    color: #fff;
    border: none;
    border-bottom: 3px #fff solid;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    background-color: transparent;
    background-image: linear-gradient(to top, rgba(255, 255, 255, 0.2) 0%, rgba(0, 0, 0, 0) 75%);
    cursor: pointer;
    user-select: none;
    transition: box-shadow 0.075s, background-color 0.1s;
}

.line-button:hover {
    background-color: #444;
    box-shadow: inset 0 -3px #fff;
}

.line-button:active {
    background-color: #333;
    box-shadow: none;
}

.primary-action {
    backdrop-filter: blur(8px);
    background-color: #222;
}

.box-button-icon {
    width: 27px;
    height: 27px;
    image-rendering: pixelated;
}

.line-button-icon {
    width: 18px;
    height: 18px;
    image-rendering: pixelated;
}

.row {
    width: stretch;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.gap {
    gap: 1rem;
}

.start {
    justify-content: start;
}

.end {
    justify-content: end;
}

.center {
    justify-content: center;
}

.space-between {
    justify-content: space-between;
}

.separator {
    margin: 1rem auto;
}

.line-separator {
    margin: 2rem auto;
    background-color: #444;
    height: 3px;
    width: 100%;

}

.news-block-list {
    list-style: none;
    padding-left: 0;
}

.news-item {
    position: relative;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.news-item::before {
    content: "";
    position: absolute;
    top: 1.5rem;
    left: 0;
    background-color: #444;
    height: 3px;
    width: 9px;
}

.news-date {
    font-size: 0.8rem;
    color: #aaa;
}

.wip::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background-color: transparent;
    background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.1) 0 20px, transparent 20px 40px);
    mask-image: linear-gradient(to bottom, #000 0%, transparent 50%);
}

a {
    color: inherit;
    text-decoration: underline dotted 2px;
    text-underline-offset: 3px;
    transition: text-underline-offset 0.075s;
}

a:hover {
    color: inherit;
    text-underline-offset: 1px;
}

.ip-block {
    color: #fff;
    border: 3px #fff solid;
    background: none;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    align-content: center;
    font-family: monospace;
}
