﻿@font-face {
    font-family: "Veteran Typewriter";
    src: url('./fonts/veteran typewriter.ttf') format('truetype');
}

body {
    margin: 0;
    font-family: Source Sans Pro, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
}

.page {
    display: grid;
    width: 100%;
    height: 100vh;
    grid-template-areas: "head" "main" "footer";
    grid-template-rows: auto 1fr auto;
    grid-template-columns: 1fr;
}

    .page > .header {
        grid-area: head;
        padding: 10px;
        text-align: center;
        font-size: 24px;
        font-weight: bold;
    }

    .page > .main {
        grid-area: main;
        text-align: center;
        align-content: center;
        overflow-y: auto;
        line-height: 1.5rem;
        background-color: #414141;
    }

    .page > .footer {
        grid-area: footer;
        padding: 10px;
        text-align: center;
        font-size: 14px;
    }

.header-title {
    font-family: "Veteran Typewriter", sans-serif;
    font-size: 1.6rem;
}

.rime {
    color: white;
}

.loopa {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: #ffff00;
}

.crt {
    position: relative;
    background-color: black;
    background-image: radial-gradient(rgba(0, 150, 0, 0.75), black 120%);
    margin: 0;
    overflow: hidden;
    padding: 1rem;
    color: white;
    text-shadow: 0 0 5px #C8C8C8;
    border: solid 1px rgba(0, 150, 0, 0.50);
}

    .crt::after {
        position: absolute;
        content: "";
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.15) 1px, transparent 1px, transparent 2px);
        pointer-events: none;
    }

