
.terminal {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    background-color: var(--terminal-bg);
    border: 5px solid var(--terminal-bg);
    border-radius: 5px;
    color: var(--terminal-text);
    font-family: consolas, monospace;
    font-size: 20px;
    width: 700px;
    height: 400px;
    overflow: hidden;
}

.terminal-bar {
    cursor: move;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    height: 23px;
}

.terminal-header {
    pointer-events: none;
    color: var(--terminal-header);
    padding: 0 5px;
    font-size: 15px;
    height: 22px;
}

.terminal-text {
    white-space: pre-wrap;
}

.terminal-control-btn {
    cursor: pointer;
    background-color: var(--terminal-controls);
    border-radius: 50%;
    width: 15px;
    height: 15px;
    display: inline-block;
}

.terminal-body {
    background-color: var(--terminal-fg);
    overflow-y: auto;
    padding: 5px;
    height: 370px;
}

/* For mobile devices */
@media only screen and (max-width: 710px) {
    .terminal {
        width: 100%;
        height: 100%;
        border-radius: 0;
        padding-top: 5px;
    }

    .terminal-body {
        height: calc(100% - 42px);
    }
}