﻿.terminal {
    background-color: #fff6f5;
    position: relative;
    color: black;
    font-family: "Courier New", Courier, monospace;
    font-size: 1.2rem; /* Zvětšeno z výchozí hodnoty */
    padding: 1rem;
    border-radius: 5px;
    border: #5b5b5b inset 1.5px;
    overflow: hidden;
    height: 300px; /* Nastavte podle potřeby */
}

    .terminal div {
        margin: 2px 0;
    }

.terminal-controls{
    display:flex;
    flex-direction:column;
    position: absolute;
    gap:0.5rem;
    right:1rem;
}
.terminal .lines {
    overflow:auto;
    max-height:100%;
}

.terminal-controls button {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 2rem;
    height: 2.1rem;
    width: 2.1rem;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    filter: invert(80%);
}

    .terminal-controls button:hover {
        background-color: #e0e0e0;
    }

    .terminal-controls button img {
        width: 1.1rem;
        height: 1.1rem;
    }

    .terminal-controls button.active {
        filter: none;
        border: solid 1px black;
    }

    .terminal-controls button.active {
        filter: none;
        border: solid 1px black;
    }

.clear-button {
    transition: transform 0.2s ease;
}
    .clear-button.animate {
        animation: flash 0.6s ease;
    }

.input-line {
    background-color: #fff6f5;
    color: black;
    border: none;
    outline: none;
    font-family: "Courier New", Courier, monospace;
    font-size: 1.2rem; /* Zvětšeno z výchozí hodnoty */
    width: 100%;
}

.rotating-symbol {
    display: inline-block;
    margin-left: 5px;
    width: 10px;
    height: 10px;
    border: 2px solid green;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
