/* I do not know where this font came from, but https://transfonter.org/ was used to make it web compatible */
@font-face {
    font-family: 'matrix_code_nfiregular';
    src: url('../font/matrix_code_nfi/matrix_code_nfi-webfont.woff2') format('woff2'),
        url('../font/matrix_code_nfi/matrix_code_nfi-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Font retrieved from Google fonts (https://fonts.google.com/specimen/Inconsolata) */
/* Made into web font with https://transfonter.org/ */
@font-face {
    font-family: 'Inconsolata';
    src: url('../font/inconsolata/Inconsolata-Regular.woff2') format('woff2'),
        url('../font/inconsolata/Inconsolata-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

html{height: 100%;}
body{
    border: 4px solid White;
    width: calc(100% - 8px);
    height: calc(100% - 8px);

    font-family: "Inconsolata", monospace;

    background-color: black;
    margin: 0;
    display: grid;
    grid-template:  "t1 t1 p1 p1" 1fr
                    "t1 t1 p1 p1" 1fr
                    "t1 t1 m1 t2" 1fr
                    "t1 t1 m1 r1" 1fr / 1fr 1fr 1fr 1fr;
    justify-items: center;
    align-items: center;
}
canvas{background: black;}
.el{
    outline: 2px solid white;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
}
.terminal{
    outline: none;
    overflow-y: scroll;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.terminal::-webkit-scrollbar {display: none;}
.terminal p, .terminal pre{
    margin: 5px 10px;
    word-break: break-all;
    white-space: pre-wrap;
}

#terminal1{grid-area: t1;}
#pipes{grid-area: p1;}
#terminal2{grid-area: t2;}
#matrix{grid-area: m1;}
#rain{grid-area: r1;}