/*!
 * TerminalismCSS v1.0
 * Dark terminal-inspired terminal theme
 * Author: SmauDistribution
 *
 * NOTICE: This CSS theme is proprietary and confidential.
 * It is licensed for use only by the authorized recipient.
 * Redistribution, modification, or use by any other party is strictly prohibited
 * without the written permission of the author.
 */

 @import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');

html {
        padding: 32px;
        overflow: hidden;
    }

html, body {
    height: 100%;
    margin: 0;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
    user-select: none;
}

::selection {
    background-color: gray;
    color: black;
}

::-webkit-selection {
    background-color: gray;
    color: black;
}

#terminal {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: black;
    color: #C0C0C0;
    border: 1px solid #C0C0C0;
    font-family: "Source Code Pro", monospace;
    font-optical-sizing: auto;
    font-weight: 400;
    font-size: 16px;
    font-style: normal;
    overflow-y: auto;
    overflow-x: hidden;
    text-overflow: ellipsis;
}

pre {
    padding-top: 4px;
    margin: 4px 10px;
    user-select: text;
    text-wrap: wrap;
}

.item {
    padding: 4px 10px;
    cursor: pointer;
    color: #A0A0A0;
    text-decoration: none;
    width: 100%;
}

.item:first-of-type
{
    margin-top: 4px;
}

.item span {
    width: 90;
    display: block;
    max-width: calc(100% - 20px);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.item span::before
{
    content: "> ";
}

.item:hover {
    background-color: #A0A0A0;
    color: #111111;
}

.item:active {
    background-color: #B0B0B0;
    color: #222222;
}

@media (max-width: 810px) {

    html {
        padding: 24px;
    }

    .item {
        padding: 6px 12px;
        font-size: 17px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .item {
        padding: 8px 16px;
        font-size: 18px;
        line-height: 1.6;
    }
}