body {
    background-color: #1d1f21;
    color: #c5c8c6;
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.terminal {
    width: 95%;
    height: 95%;
    background-color: #282a2e;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #373b41;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.error-message {
    color: red;
}

.output-line span {
    font-size: 12px; /* Adjust this value as needed */
}

.title {
    font-size: 14px;
    color: #c5c8c6;
}

.body {
    flex-grow: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

#output {
    white-space: pre-wrap;
    word-wrap: break-word;
    flex-grow: 1;
    overflow-y: auto;
}

.output-line {
    display: block;
    font-family: 'Courier New', Courier, monospace;
}

.input-line {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.prompt {
    margin-right: 5px;
}

#input {
    flex-grow: 1;
    background: none;
    border: none;
    color: inherit;
    font: inherit;
    outline: none;
}

.buttons {
    display: flex;
    gap: 5px;
}

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

.close, .minimize, .maximize {
    border-radius: 100%;
    padding: 0;
    height: 12px;
    width: 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    margin-right: 3.5px;
    background-color: #ddd;
    position: relative;
    outline: none;

    &:before, &:after {
        content: '';
        position: absolute;
        border-radius: 1px;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        visibility: hidden;
    }
}

.buttons:hover .close,
.buttons:hover .minimize,
.buttons:hover .maximize {
    &:before, &:after {
        visibility: visible;
    }
}

.close {
    background-color: #ff5c5c;
    &:before, &:after {
        background-color: #4d0000;
        width: 8px;
        height: 1px;
    }
    &:before {
        transform: rotate(45deg);
    }
    &:after {
        transform: rotate(-45deg);
    }
    &:active:hover:before, &:active:hover:after {
        background-color: #190000;
    }
}

.minimize {
    background-color: #ffbd4c;
    &:before {
        background-color: #995700;
        width: 8px;
        height: 1px;
    }
    &:active:hover:before {
        background-color: #592800;
    }
}

.maximize {
    background-color: #00ca56;
    &:before {
        background-color: #006500;
        width: 6px;
        height: 6px;
    }
    &:after {
        background-color: #00ca56;
        width: 10px;
        height: 2px;
        transform: rotate(45deg);
    }
    &:active:hover:before {
        background-color: #003200;
    }
    &:active:hover:after {
        background-color: #1d9730;
    }
}

