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

body {
    font-family: 'Courier New', monospace;
    background-color: #272822;
    color: #f8f8f2;
    overflow: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.terminal {
    width: 90%;
    max-width: 800px;
    height: 80%;
    background-color: #272822;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(248, 248, 242, 0.1);
    overflow: hidden;
}

.terminal-header {
    background-color: #333;
    height: 30px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    justify-content: space-between;
}

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

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

.btn.close {
    background-color: #ff5f57;
}

.btn.minimize {
    background-color: #ffbd2e;
}

.btn.maximize {
    background-color: #28ca42;
}

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

.terminal-body {
    padding: 20px;
    height: calc(100% - 30px);
    overflow-y: auto;
}

#output {
    margin-bottom: 10px;
}

.line {
    margin-bottom: 5px;
    word-wrap: break-word;
}

.prompt {
    color: #a6e22e;
    font-weight: bold;
}

.command {
    color: #f8f8f2;
    margin-left: 10px;
}

.text {
    color: #f8f8f2;
}

.error {
    color: #f92672;
}

.success {
    color: #a6e22e;
}

.info {
    color: #66d9ef;
}

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

#command-input {
    background: transparent;
    border: none;
    color: #f8f8f2;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    outline: none;
    flex-grow: 1;
    margin-left: 10px;
}

.project-item {
    margin: 10px 0;
    padding: 10px;
    border-left: 3px solid #00ff00;
    background-color: rgba(0, 255, 0, 0.05);
}

.project-title {
    color: #fff;
    font-weight: bold;
    margin-bottom: 5px;
}

.project-description {
    color: #f8f8f2;
    margin-bottom: 5px;
}

.project-tech {
    color: #75715e;
    font-style: italic;
}

.blinking-cursor {
    animation: blink 1s infinite;
}

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

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

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

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

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

/* Responsive design */
@media (max-width: 768px) {
    .terminal {
        width: 95%;
        height: 90%;
    }
    
    .terminal-body {
        padding: 15px;
    }
    
    body {
        font-size: 12px;
    }
}
