body {
    background-color: black;
    color: green;
    font-family: 'Courier New', monospace;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.terminal {
    width: 80%;
    margin: 20px auto;
    padding: 20px;
    background-color: black;
    border: 2px solid green;
    height: 500px;
    overflow-y: scroll;
/*    overflow-x: hidden; /* This prevents horizontal scrolling */
    overflow-wrap: break-word; /* This property makes text wrap to the next line */
    word-wrap: break-word; /* This property is for certain browsers */
    overflow: auto; /* Use 'auto' for vertical scrolling when needed */
    white-space: pre-wrap; /* This property makes text wrap to the next line */
}

#terminal-input {
    width: 100%;
    background-color: black;
    color: green;
    border: none;
    outline: none;
    padding: 5px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
}

/* Style the scrollbar for Chrome, Edge, and Safari */
.terminal::-webkit-scrollbar {
    width: 12px;
}

.terminal::-webkit-scrollbar-thumb {
    background-color: green;
    border-radius: 6px;
}

.terminal::-webkit-scrollbar-thumb:hover {
    background-color: darkgreen;
}

.terminal::-webkit-scrollbar-track {
    background-color: black;
}

/* Style the scrollbar for Firefox */
.terminal {
    scrollbar-width: thin;
    scrollbar-color: green black;
}

.terminal::-webkit-scrollbar-thumb:hover {
    background-color: darkgreen;
}
