@font-face {
    font-family: 'Fira Code Light';
    src: url("FiraCode-Light.ttf") format('truetype');
    font-display: swap;
}

:root {
    --main-bg-color: black;
    --main-font-color: white;
}

html, body {
    height: 100%;
    width: 100%;
}

body {
    font-family: "Fira Code Light", "Fira Code", monospace;
    background-color: var(--main-bg-color);
    color: var(--main-font-color);
    background-image: url('asfalt-light.png');
    background-repeat: repeat;
    background-size: auto;
}

main {
    overflow: auto;
    min-width: 1024px;
    padding: 2rem;
}

a {
    color: inherit;
    text-decoration: underline !important;
}

.whiteTheme {
    background-color: var(--main-font-color) !important;
    color: var(--main-bg-color) !important;
    background-image: none;
}

#commandInput {
    background: transparent;
    border: none;
    outline: none;
    color: inherit;
}

#notifyMessage {
    display: none;
}

.command {
    color: #d9d9d9;
}

.terminal-section, .section-body, #inputBlock {
    display: contents;
}

.terminal-section[hidden], .section-body[hidden], #inputBlock[hidden] {
    display: none;
}

.whiteTheme .command {
    color: #595959 !important;
}

#rain-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
}

.rain-drop {
    position: absolute;
    top: 0;
    width: 1.2px;
    height: 8vh;
    background: linear-gradient(180deg, currentColor, transparent);
    border-radius: 1px;
    opacity: 0.7;
    will-change: transform, opacity;
    animation-name: rain-fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes rain-fall {
    0% {
        transform: translateY(-8vh);
        opacity: 0.7;
    }
    80% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}
