/* GENERAL */
:root {
    --ORANGE: #da7146;
    --WHITE: #ffedd4;
    --YELLOW: #fee500;
    --BLUE: #3c52df;
    --BLACK: #120042;
    --CYAN: #00FFFF;
}
@font-face {
    font-family: 'Candycrawl';
    src: url('WebsiteAssets/Fonts/Candycrawl.ttf') format('truetype');
}
@font-face {
    font-family: 'TERMINATE';
    src: url('WebsiteAssets/Fonts/TERMINATE.ttf') format('truetype');
}

* {
    font-family: 'TERMINATE', monospace;
    color: #c0c0c0;
    text-align: left;
    image-rendering: pixelated;

    margin: 0;
    padding: 0;
}
p, span, h1, h2, h3, h4, h5, h6 {
    display: block;
    backface-visibility: hidden;
}
html {
    font-size: 17px;
}
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}  
body {
    background-color: var(--WHITE);
}
a {
    color: var(--BLUE);
}
.term-space {
    display: inline-block;
    width: 1ch;
}

::selection {
    background-color: white;
    color: #c0c0c0;
}
::-moz-selection {
    background-color: white;
    color: #c0c0c0;
}

/* ANIMATION */
#stickerOverlay img {
    transform-origin: top left;
}

@keyframes coolAnim {
    0%, 100% {
        transform: translate3d(0, 0.0588rem, 0);
    }
    50% {
        transform: translate3d(0, -0.0588rem, 0);
    }
}
@keyframes coolAnimOppo {
    0%, 100% {
        transform: translate3d(0, -0.0588rem, 0);
    }
    50% {
        transform: translate3d(0, 0.0588rem, 0);
    }
}

/* NAVIGATION */
#navigation {
    display: flex;
    justify-content: center;
    background: var(--BLACK);
    border-bottom: 0.294rem solid var(--BLACK);
    z-index: 999999999;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}
#navigation span {
    user-select: none;
    color: var(--BLACK);
    font-family: 'Candycrawl', sans-serif;
    font-size: 1.176rem;
}
#navigation a {
    cursor: pointer;
    user-select: none;
    font-family: 'Candycrawl', sans-serif;
    font-size: 1.176rem;
}
a.navi {
    text-decoration: none;
}

/* TERMINAL */
#terminal {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: black;
    padding-top: 1.765rem;
    box-sizing: border-box;
    overflow: visible;
    white-space: pre-wrap;
}
.cursor {
    display: inline-block;
    width: 0.471rem;
    background: #c0c0c0;
    animation: blink 1s infinite;
    vertical-align: bottom;
}
@keyframes blink {
    0%, 50%, 100% { background: #c0c0c0; }
    25%, 75% { background: black; }
}

.char-image {
    margin: 0.294rem 0;
    text-align: center;
}
.char-popup {
    width: 14.706rem;
    background: #222;
    border: 0.118rem solid #3950d5;
    border-radius: 0.471rem;
    color: white;
    cursor: default;
}
.char-popup-header {
    background: #3950d5;
    color: white;
    padding: 0.294rem 0.588rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: move;
    user-select: none;
}
.char-popup-close {
    cursor: pointer;
    padding: 0 0.294rem;
    color: white;
}
.char-popup-close:hover {
    color: #ffaaad;
}
.char-popup img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0.294rem auto;
}