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

body {
    font-family: 'Share Tech Mono', monospace;

    background: #000;
    color: #00ff00;
    overflow: hidden;
    height: 100vh;
}

.terminal-container {
    width: 100%;
    height: 100vh;
    background: #000;
    display: flex;
    flex-direction: column;
    border: 2px solid #333;
}

.terminal-header {
    background: #333;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #555;
}

.terminal-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
}

.control.close {
    background: #ff5f56;
}

.control.minimize {
    background: #ffbd2e;
}

.control.maximize {
    background: #27ca3f;
}

.terminal-title {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}

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

.output {
    flex: 1;
    white-space: pre-wrap;
    word-wrap: break-word;
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1.4;
}

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

.prompt {
    color: #00ffff;
    font-weight: bold;
    font-size: 20px;
    margin-right: 5px;
}

.command-input {
    background: transparent;
    border: none;
    color: #00ffff;
    font-family: 'VT323', monospace;
    font-size: 20px;
    outline: none;
    flex: 1;
    caret-color: transparent;
}

.cursor {
    color: #00ff00;
    
    animation: blink 1s infinite;
    position: absolute;
    font-size: 20px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.command-output {
    margin: 10px 0;
    padding-left: 0;
}

.command-line {
    color: #00ff00;
    margin-bottom: 5px;
}

.error {
    color: #ff6b6b;
}

.success {
    color: #51cf66;
}

.info {
    color: #74c0fc;
}

.warning {
    color: #ffd43b;
}

.highlight {
    color: #ffd43b;
    font-weight: bold;
}

.link {
    color: #74c0fc;
    text-decoration: underline;
    cursor: pointer;
}

.link:hover {
    color: #91d5ff;
}

.section-title {
    color: #ffd43b;
    font-weight: bold;
    margin: 15px 0 5px 0;
    font-size: 18px;
}

.project-item {
    margin: 10px 0;
    padding-left: 20px;
}

.project-title {
    color: #51cf66;
    font-weight: bold;
}

.project-description {
    color: #00ff00;
    margin: 2px 0;
}

.project-link {
    color: #74c0fc;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .terminal-container {
        border: none;
        height: 100vh;
    }
    
    .terminal-header {
        padding: 10px 15px;
    }
    
    .terminal-body {
        padding: 15px;
    }
    
    .output {
        font-size: 14px;
    }
    
    .prompt {
        font-size: 14px;
    }
    
    .command-input {
        font-size: 14px;
    }
    
    .cursor {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .terminal-header {
        padding: 8px 10px;
    }
    
    .terminal-body {
        padding: 10px;
    }
    
    .output {
        font-size: 13px;
        line-height: 1.3;
    }
    
    .prompt {
        font-size: 13px;
    }
    
    .command-input {
        font-size: 13px;
    }
    
    .cursor {
        font-size: 13px;
    }
}

/* Scrollbar Styling */
.terminal-body::-webkit-scrollbar {
    width: 8px;
}

.terminal-body::-webkit-scrollbar-track {
    background: #111;
}

.terminal-body::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

.terminal-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Selection styling */
::selection {
    background: #00ff00;
    color: #000;
}

/* Focus styling */
.command-input:focus {
    outline: none;
}

/* Loading animation */
.loading {
    display: inline-block;
    animation: loading 1s infinite;
}

@keyframes loading {
    0%, 33% { content: '.'; }
    34%, 66% { content: '..'; }
    67%, 100% { content: '...'; }
}