/* The body and terminal background remain the same */
body {
    background-color: #121212;
    font-family: 'Courier New', Courier, monospace; /* Retro font */
    color: #00ff00;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

/* Terminal styles */
.terminal {
    background-color: black;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    padding-top: 15%;
}

/* Output area */
.output {
    overflow-y: auto;
    margin-bottom: 20px;
    font-size: 1.1em;
}

/* Input area styles */
.input {
    font-family: 'Courier New', Courier, monospace; /* Retro font */
    display: flex;
    align-items: center;
    width: 100%;
}

/* Prompt text color */
.prompt {
    color: #00ff00;
    margin-right: 10px;
}

/* Input styles */
input {
    background: transparent;
    border: none;
    color: #00ff00;
    width: 100%;
    font-size: 1.1em;
    outline: none;
}

/* Static/Noise Overlay */
.terminal::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/dots-3.png'); /* Static noise texture */
    pointer-events: none; /* So it doesn’t block interactions */
    opacity: 0.2; /* Adjust opacity to control how visible the noise is */
    z-index: 1; /* Put overlay above terminal content */
}

/* Optional: Add flickering effect to text */
@keyframes flicker {
    0% { opacity: 1; }
    50% { opacity: 0.75; }
    100% { opacity: 1; }
}

.output, .input {
    animation: flicker 0.1s infinite alternate;
}
