@font-face {
    font-family: "White Rabbit";
    src: url('fonts/whitrabt.woff') format('woff');
    font-display: swap;
}

body, html {
    background-color: black;
    height: 100%;
    font-size: 20px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    display: flex;
    justify-content: center;
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center items horizontally */
}

.command {
    font-family: "White Rabbit", monospace;
    color: rgb(0, 176, 0);
    border-right: 5px solid green;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    animation: 
        typing 2s steps(32),
        cursor .6s step-end infinite alternate 2s;
}

.hidden {
    display: none;
    font-family: "White Rabbit", monospace;
    color: green;
}

.output {
    display: block;
    text-align: left;
    font-family: "White Rabbit", monospace;
    color: rgb(0, 176, 0);
}

@keyframes typing {
    from { width: 0ch; } 
    to { width: 32ch; } /* Ensure this width is appropriate for your text */
}

@keyframes cursor {
    50% { border-color: transparent; }
}

/* Mobile styles */
@media screen and (max-width: 748px) {
    body, html {
        font-size: 18px;
    }

    .container {
        padding: 5%;
    }

    .output {
        display: block;
        text-align: center;
    }
}