@font-face {
    font-family: "NokioSlabAlt-Light";
    src: url("../../res/fonts/NokioSlabAlt-Light.ttf") format("truetype");
}
@font-face {
    font-family: "NokioSlabAlt-Bold";
    src: url("../../res/fonts/NokioSlabAlt-Bold.ttf") format("truetype");
}
@font-face {
    font-family: "SofiaSansCondensed-Bold";
    src: url("../../res/fonts/SofiaSansCondensed-Bold.ttf") format("truetype");
}
@font-face {
    font-family: "SofiaSansCondensed-Regular";
    src: url("../../res/fonts/SofiaSansCondensed-Regular.ttf") format("truetype");
}
@font-face {
    font-family: "SofiaSansCondensedItalic-LightItalic";
    src: url("../../res/fonts/SofiaSansCondensedItalic-LightItalic.ttf") format("truetype");
}
@font-face {
    font-family: "SyneMono-Regular";
    src: url("../../res/fonts/SyneMono-Regular.ttf") format("truetype");
}

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;

    position: absolute;
    top: 0;
    left: 0;

    font-weight: 200;
}
body {
    /* border: dashed 0.5px white; */
    box-sizing: border-box;
}

html {
    background: #111;
}

body {
    background: linear-gradient(0, #111, #333);

    /* padding: 0 30px; */
    box-sizing: border-box;
}

body::before {
    content: "";
    position: absolute;
    --padding: 10%;
    left: var(--padding);
    top: var(--padding);
    background: transparent var(--background-image) no-repeat center center / contain;
    width: calc(100% - (2 * var(--padding)));
    height: calc(100% - (2 * var(--padding)));
    opacity: 0.01;
}

html, body, textarea, input {
    font-family:  "NokioSlabAlt-Light";
    color: white;

    /* Minimum size to prevent zoom when focus */
    font-size: 16px;
}

*::-webkit-scrollbar {
    display: none;
}

.pdf {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
    background: white;
}

.pdf a {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 100;
    background: black;
    width: 100%;
    color: white;
    font-family: "Noto Sans";
    font-size: 20px;
    padding: 20px;
    box-sizing: border-box;
}

.close.pdf-close {
    position: absolute;
    right: 20px;
    top: 20px;
    /* right: 12px;
    top: 12px;
    width: 30px;
    height: 30px; */
    filter: drop-shadow(0 0 2px black);
}

/* To make it nice when the keyboard appears on mobile */

body:focus-within {
    height: unset;
    background: #111;
}

body:focus-within .focus-disappear {
    display: none;
}

.version {
    font-family: "Noto Sans";
    text-align: right;
    font-size: 10px;
    color: #757575;
}
