@font-face {
    font-family: 'LessPerfectDOSVGA';
    src: url('../assets/LessPerfectDOSVGA.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MorePerfectDOSVGA';
    src: url('../assets/MorePerfectDOSVGA.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    width: 100%;
    height: 100vh;
    min-width: 1500px;
    min-height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: monospace;
    background: #000000;
    overflow-y: hidden;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.file-item {
    color: #fff647; 
}

.folder-item {
    color: #f7ffc2; 
} 

.terminal {
    width: 1500px;
    height: 700px;
    background: #000000;
    padding: 20px;
    color: #c2c2c2;
    overflow-y: auto;
    overflow-x: hidden;
    font-family: 'LessPerfectDOSVGA', sans-serif;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    border-radius: 2px;
    position: fixed;
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

#terminal-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}

#terminal-content::-webkit-scrollbar {
    visibility: hidden;
}

.output {
    white-space: pre-wrap;
}

.input-line {
    display: flex;
    align-items: center;
}

.prompt {
    color: inherit;
    display: inline-block;
    white-space: nowrap;
    padding: 0;
}

.user-host {
    color: #ffffff;
    display: inline;
    margin: 0;
    padding: 0;
}

.path {
    color: #298071;
    display: inline;
    margin: 0;
    padding: 0;
}

.bracket {
    color: #a0a0a0;
    font-weight: bold;
    display: inline;
    margin: 0;
    padding: 0;
}

#terminal-output {
    flex: 1;
    white-space: pre-wrap;
    font-family: 'LessPerfectDOSVGA', sans-serif;
    padding-bottom: 10px;
    color: #ffffff;
}

#terminal-input {
    background: none;
    border: none;
    color: #c2c2c2;
    width: 100%;
    outline: none;
    font-family: inherit;
    font-size: inherit;
    padding-left: 2px;
}

.input-history {
    color: #8c8c8c;
    white-space: pre-wrap;
    font-family: inherit;
}

.locked-directory-error {
    color: #ff0000;
    text-transform: uppercase;
}

.fade-out {
    opacity: 0 !important;
}

.fade-in {
    opacity: 1 !important;
}

.click-to-enter {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease-out;
}

#click-prompt {
    color: white;
    font-family: 'LessPerfectDOSVGA', sans-serif;
    text-align: center;
    white-space: pre;
}

.click-text {
    color: rgb(207, 207, 207);
    font-family: 'LessPerfectDOSVGA', sans-serif;
    margin-top: 20px;
    font-size: 28px;
}

.ascii-text {
    font-family: monospace;
    white-space: pre;
    font-size: 5px;
    color: white;
}

*.unselectable {
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
 }

.media-overlay {
    position: fixed;
    top: 0;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 85%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.media-overlay.visible {
    opacity: 1;
}

.media-overlay img {
    max-width: 100%;
    max-height: 100%;
    border: 8px solid #444;
}

@keyframes screen-flicker {
    0% { opacity: 1; }
    5% { opacity: 0.90; }
    10% { opacity: 1; }
    15% { opacity: 0.90; }
    20% { opacity: 1; }
    100% { opacity: 1; }
}

.flicker-text {
    animation: screen-flicker .1s infinite;
    color: inherit;
}

@keyframes scanline {
    0.01% {
        height: 0;
    }
    99.99% {
        height: 100%
    }
    100% {
        height: 0;
    }
}

.scanline {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.03);
    animation: scanline 8s linear infinite;
    pointer-events: none;
    z-index: 1;
}

#click-prompt canvas {
    background: none;
    position: relative;
    max-width: 100%;
    height: auto;
}

.media-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
}

.media-overlay canvas {
    image-rendering: pixelated;
}

.audio-player {
    width: 640px;
    height: 400px;
    background-color: rgb(0 0 0);
    border: 8px solid #444;
    padding: 1rem;
    font-family: 'LessPerfectDOSVGA', monospace;
    color: #ffffff;
}

.audio-header {
    background-color: #ffffff;
    color: #000000;
    padding: 0.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.audio-info {
    color: #ffffff;
    margin-bottom: 1rem;
}

.audio-canvas-container {
    border: 1px solid #ffffff;
    padding: 0.25rem;
    margin-bottom: 1rem;
}

.audio-canvas {
    background-color: #000;
}

.audio-footer {
    color: #666;
    font-size: 1.2rem;
    margin-top: 1.7rem;
}

.boot-sequence {
    width: 1500px;
    height: 700px;
    color: #c2c2c2;
    background: #000000;
    overflow-y: auto;
    overflow-x: hidden;
    font-family: 'LessPerfectDOSVGA', monospace;
    text-align: left;
    white-space: pre-wrap;
    font-size: 18px;
    padding: 20px;
    margin: 0 auto;
    position: relative;
    top: 20px;
    left: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
.flash-text {
    color: black;
    background-color: #c2c2c2;
    padding: 5px 10px;
    animation: flash 1.25s infinite;
    display: inline-block;
    width: fit-content;
    border: 1px solid #000;
}

@keyframes flash {
    0%, 50% {
        background-color: #c2c2c2;
        color: rgb(0, 0, 0);
    }
    50%, 100% {
        background-color: black;
        color: #c2c2c2;
    }
}