body {
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100dvh;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: large;
}

.terminal {
    margin-top: 10dvh;
    background-color: #000;
    padding: 20px;
    border: 5px solid #999;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    overflow: hidden;
    width: 80%;
    max-width: 800px;
    height: 60dvh;
    position: relative;
    animation: hum 0.1s infinite alternate;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.screen {
    flex: 1;
    height: 100%;
    overflow: scroll;
    position: relative;
    padding: 10px;
    color: #999;
    animation: jitter 15s infinite;
}

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

a:hover{
    font-style: italic;
}

input {
    width: calc(100% - 20px);
    height: 1.25rem;
    font: inherit;
    background-color: inherit;
    color: inherit;
    outline: none;
    margin-top: auto;
    color: #999;
    padding: 10px 0;
    border: none;
}

@keyframes jitter {
    0%, 99% {
        transform: translate(0, 0);
    }
    99.3% {
        transform: translate(20px, 0);
    }
    99.7% {
        transform: translate(-20px, 0);
    }
}

@keyframes hum {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(0.5px, 0);
    }
}

footer {
    text-align: center;
    margin-top: auto;
    color: #999;
    padding: 10px 0;
}

footer p {
    font-size: 14px;
}
