/* fonts. all of these are variable and also come with readme/license in their folders */
@font-face {
    font-family: "Inconsolata";
    src: url("/fonts/Inconsolata/inconsolata-variable.ttf");
}

@font-face {
    font-family: "Handjet";
    src: url("/fonts/Handjet/handjet-variable.ttf");
}

@font-face {
    font-family: "Source Code Pro";
    src: url("/fonts/Source_Code_Pro/sourcecodepro-variable.ttf");
}

@font-face {
    font-family: "Material Symbols Outlined";
    src: url("/fonts/Material_Symbols_Outlined/material-symbols-outlined.ttf");
}

@font-face {
    font-family: "NeoSlashGoth";
    src: url("/fonts/NEOSLASHGOTH.OTF");
}

:root {
    --dark-color: black;
    --bright-color: white;
    --friend-color: #00ffff;
    --obesk-color: #ff00ff;
    --neutral-color: #ffff00;
    --bastard-color: #ff0066;
    --fundfriend-color: #00ff66;
    --baseTransform: translateX(0);

    --contentDialogueOffset: -12.5vw;
}

body {
    background-color: black;
    color: white;
    position: relative;
    height: 100vh;
    margin: 0;
    font-family: 'Inconsolata', monospace;
}

* img {
    image-rendering: pixelated;
}

#landing {
    position: absolute;
    z-index: 999;
    /* width: 100vh; */
    /* height: 90vh; */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -200%);
    /* background-color: black; */
    /* margin: 5rem; */
}

.hidden {
    display: none !important;
}

.center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.speech {
    display: block;
    position: absolute;
    bottom: 70%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
}

#loading-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    transition: opacity 0.9s ease, visibility 0.9s ease;
    opacity: 1;
    visibility: visible;
}

#loading-overlay.loaded {
    opacity: 0;
    visibility: hidden;
}

#loading-box {
    background: black;
    color: white;
    padding: 1rem 1.25rem;
    font-family: 'Handjet', 'Inconsolata', monospace;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    transform: translateY(0) scale(1);
    transition: transform 0.6s cubic-bezier(.2, .9, .2, 1), opacity 0.6s ease;
    opacity: 1;
}

#loading-overlay.loaded #loading-box {
    transform: translateY(-8px) scale(0.98);
    opacity: 0;
}