@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Fira Code', monospace;
    line-height: 1.6;
    color: #00ff00;
    background-color: #000;
    padding: 50px;
    height: 100vh;
    overflow: hidden;
}

#terminal {
    width: 100%;
    height: 100%;
    background-color: #000;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden; /* Hide any overflow */
    position: relative;
}

#terminal-content {
    padding-right: 10px;
    height: 100%;
    overflow-y: auto; /* Enable vertical scrolling */
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */
}

#terminal-content::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari, and Opera */
}

.command-prompt::before {
    content: "dan@barcot.cz:~$ ";
    color: #00ff00;
}

.command-prompt {
    display: block;
    margin-bottom: 10px;
    white-space: pre-wrap; /* Ensures commands wrap if too long */
}

.output {
    margin-bottom: 0px;
    white-space: pre-wrap;
    word-wrap: break-word; /* Breaks long words to prevent overflow */
}

.matrix-text {
    font-size: 14px;
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
}

.cursor {
    display: inline-block;
    color: #00ff00;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 0; }
    25%, 75% { opacity: 0.5; }
    50% { opacity: 1; }
}
