body, html {
height: 100%;
margin: 0;
font-family: monospace;
font-size: 16px;
line-height: 1.4;
overflow: hidden;
background-color: #000;
}
#background {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
}
.container {
position: relative;
display: flex;
justify-content: center;
align-items: center;
height: 100%;
padding: 20px;
box-sizing: border-box;
}
#terminal {
background-color: rgba(0, 0, 0, 0.8);
color: #fff;
width: 80%;
max-width: 800px;
height: 80%;
max-height: 600px;
border-radius: 10px;
box-shadow: 0 0 10px rgb(255, 255, 255);
display: flex;
flex-direction: column;
}
#output {
flex-grow: 1;
overflow-y: auto;
padding: 20px 20px 10px 20px;
display: flex;
flex-direction: column;
}
#input-container {
display: flex;
align-items: center;
padding: 0 20px 20px 20px;
}
#input {
background-color: transparent;
border: none;
color: rgb(255, 255, 255);
font-family: inherit;
font-size: inherit;
outline: none;
flex-grow: 1;
}
.prompt::before {
content: "$ ";
}
.output-line {
white-space: pre-wrap;
margin-bottom: 5px;
}