@font-face {
    font-family: 'Consola';
    src: url('fonts/consola.ttf');
}

:root {
    --max-container-width: 960px;

    --green: #96FF00;
    --dark-green: #1b2f00;
    --overlay-green: #95ff0016;
}

body {
    margin: 0px;
    padding: 0px;

    font-family: 'Courier New';
    font-size: 14px;
    color: white;
}

h1 {
    padding: 0px 1px 0px 1px;
    width: fit-content;
    
    font-weight: lighter;
    font-size: 24px;
    
    user-select: none;

    color: black;
    background: var(--green);
}

p {
    line-height: 1.5;
}

p::selection {
    color: black;
    background: var(--green);
}

.background {
    width: 100vw;
    height: 100vh;

    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;

    filter: saturate(0.5);
    
    background-image: url('images/background-2.png');
    background-attachment: fixed;
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;

    animation: backgroundAnimation 12s ease infinite alternate;
}

.background-grain {
    width: 100vw;
    height: 100vh;

    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;

    background-image: url('images/found-footage.gif');
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
    
    background-blend-mode: screen;
    opacity: 20%;
}

.crt {
    width: 100vw;
    height: 100vh;

    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;

    background-image: linear-gradient(rgba(18, 16, 16, 0.1) 20%, rgba(0, 0, 0, 0.25) 30%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-attachment: scroll, scroll;
    background-repeat: repeat repeat;
    background-size: 100% 3px, 4px 100%;
    background-blend-mode: overlay;
    opacity: 90%;

    pointer-events: none;
}

@keyframes backgroundAnimation {
    0% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1.15);
    }
}

.page-content {
    max-width: var(--max-container-width);
    margin: 0px auto 0px auto;
}

.logo {
    display: block;
    width: 250px;
    margin: 12px auto 12px auto;
}

.container {
    min-height: 24px;
    
    padding: 2px 12px 2px 12px;
    margin: 12px 0px 12px 0px;

    backdrop-filter: blur(16px);
    background-color: var(--overlay-green);

    border-width: 1px 0px 1px 0px;
    border-style: solid;
    border-color: var(--green);
}

.container .close {
    position: absolute;
    top: 16px;
    right: 12px;

    width: 32px;
    height: 32px;

    background: transparent;
    border: none;

    cursor: pointer;
}

.navigation {
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: space-around;
}

.navigation .dropdown-toggle {
    padding-left: 12px;
    padding-right: 12px;
    border-style: dotted;
    border-width: 0px 0px 1px 0px;
    border-color: var(--green);

    text-wrap: nowrap;

    cursor: pointer;
}

.dropdown-items {
    display: fixed;
    min-width: 150px;
    
    position: absolute;
    z-index: 1;

    background: var(--dark-green);
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 1);

    cursor: pointer;
}

.dropdown-items a {
    display: flex;
    min-height: 30px;
    
    padding: 4px;
    margin: auto 0 auto 0;
    
    align-items: center;
    padding-left: 12px;

    color: white;
    text-decoration: none;
    text-shadow: 1px 1px black;

    user-select: none;
}

.dropdown-items a:hover {
    background: var(--green);
    color: black;
}

.block-cursor {
    color: var(--green);
    animation: cursorAnimation 0.5s step-start infinite;
}

@keyframes cursorAnimation {
    50% {
        color: transparent;
    }
}