@import url("https://fonts.googleapis.com/css2?family=Oxanium:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap");

@font-face {
    font-family: "DotGothic16";
    src: url("../fonts/DotGothic16-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Doto";
    src: url("../fonts/Doto-VariableFont_ROND,wght.ttf") format("truetype");
}

:root {
    --bg: #060608;
    --panel: #0d0c12;
    --panel2: #100f16;
    --border: #252330;
    --border-lt: #383548;
    --white: #e8e8f0;
    --dim: #6a6880;
    --dimmer: #383548;
    --red: #e03535;
    --red-dark: #7a1a1a;
    --titlebar: #0e0d14;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    min-height: 100vh;
}

body {
    background-color: var(--bg);
    background-image: url("../images/background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--white);
    font-family: "Oxanium", monospace;
    font-size: 13px;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.08) 2px,
        rgba(0, 0, 0, 0.08) 4px
    );
    z-index: 999;
    pointer-events: none;
}

a {
    color: var(--red);
    text-decoration: none;
}

a:hover {
    color: var(--red);
    text-decoration: none;
}

@keyframes flicker {
    0%,
    95%,
    100% {
        opacity: 1;
    }
    96% {
        opacity: 0.85;
    }
    97% {
        opacity: 1;
    }
    98% {
        opacity: 0.9;
    }
}

@keyframes fadein {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%,
    100% {
        height: 8px;
        opacity: 0.4;
    }
    50% {
        height: 50px;
        opacity: 1;
    }
}
