body {
    background-color: #000;
    color: #00ff00; /* Bright green text */
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Stack elements vertically */
    height: 100vh;
    margin: 0;
    overflow: hidden; /* Prevent scrollbars */
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Behind the terminal */
}

.terminal-heading {
    z-index: 2; /* Ensure it's above the canvas */
    font-size: 2.5em; /* Increase heading size */
    margin: 20px 0; /* Add margin above and below */
    color: #00ff00; /* Green color for heading */
}

.terminal {
    position: relative;
    z-index: 2; /* On top of the canvas */
    border: 2px solid #00ff00; /* Green border */
    padding: 20px;
    width: 90%; /* Increase width for better mobile visibility */
    max-width: 700px; /* Adjust max width */
    height: 450px; /* Slightly increased height */
    overflow-y: auto;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5); /* Glowing effect */
}

.character {
    font-size: 20px; /* Adjust size as needed */
    line-height: 1; /* Maintain spacing for ASCII art */
    white-space: pre; /* Preserve whitespace for ASCII art */
    margin: 0 0 10px; /* Margin below the ASCII art */
}

.output {
    white-space: pre-wrap; /* Preserve whitespace */
    margin-bottom: 10px;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    border: none;
    background: transparent;
    color: #00ff00; /* Bright green input text */
    outline: none;
    font-size: 1em;
}

input[type="text"]::placeholder {
    color: #66ff66; /* Lighter green for placeholder text */
}

.links {
    margin-top: 20px;
    text-align: center;
}

.links a {
    display: inline-block;
    margin: 5px;
    color: #00ff00;
    text-decoration: none;
    padding: 10px;
    border: 2px solid #00ff00; /* Button style */
    border-radius: 5px;
    transition: background-color 0.3s;
}

.links a:hover {
    background-color: #00ff00; /* Change background on hover */
    color: black; /* Change text color on hover */
}
