:root {
    --background: #1e1e1e;
    --terminal-header-background: #333;
    --font-color: #dcdcdc;
    --font-family: monospace;
    --font-size: 16px;
    --space-unit: 4;
    --shadow: 0 0 10px rgba(0, 0, 0, 0.5);

    --close-button-background: #ff5f56;
    --minimize-button-background: #ffbd2e;
    --maximize-button-background: #27c93f;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: var(--background);
    color: var(--font-color);
    font-family: var(--font-family);
    font-size: var(--font-size);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.terminal {
    width: 800px;
    height: 700px;
    background: var(--background);
    box-shadow: var(--shadow);
    border-radius: 8px;
    overflow: hidden;
}

.terminal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 10px;
    background: var(--terminal-header-background);
    color: var(--font-color);
}

.terminal__header .buttons {
    display: flex;
    gap: 8px;
}

.terminal__header .buttons .button {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal__header .buttons .button.close {
    background: var(--close-button-background);
}

.terminal__header .buttons .button.minimize {
    background: var(--minimize-button-background);
}

.terminal__header .buttons .button.maximize {
    background: var(--maximize-button-background);
}

.terminal__content {
    height: 100%;
    padding: 10px;
    line-height: 1.5;
    overflow-y: scroll;
}

@media only screen and (max-width: 768px) {
    .terminal {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .terminal__content {
        padding-bottom: 360px;
    }

    .terminal__header {
        display: none;
    }
}

.prompt {
    color: #6a9955;
}

.command {
    color: #dcdcdc;
}

.output {
    white-space: pre-wrap;
}

.loading {
    white-space: pre-wrap;
}

.prompt-line {
    display: flex;
    align-items: center;
}

.input {
    width: 80px;
    background: inherit;
    color: inherit;
    font: inherit;
    outline: none;
    border: none;
}
