
:root {
    --background: #1a1a1a;
    --foreground: #f0f0f0;
    --primary: #00f5d4;
    --highlight: #00f5d4;
    --secondary: #f0f0f0;
    --red: #ff4b4b;
    --dark-cyan: #008a79;
    --sidebar-bg: #262730;
    --font: 'Roboto Mono', monospace;
}

body {
    background-color: #000000;
    background-image: url('assets/image.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    color: var(--foreground);
    font-family: var(--font);
    margin: 0;
    padding: 0;
}

.container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 230px;
    flex-shrink: 0;
    background-color: transparent;
    backdrop-filter: blur(15px);

    padding: 2rem;
    display: flex;
    flex-direction: column;
    border-right: 2px solid var(--primary);
}


.profile-pic {
    width: 230px;
    height: 230px;
    border-radius: 10px;
    border: 3px solid var(--primary);
    align-self: center;
    margin-bottom: 1rem;
    object-fit: cover;
}

.name {
    color: var(--primary);
    text-align: center;
    margin: 0;
}

.title {
    color: var(--foreground);
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.sidebar hr {
    border-color: var(--primary);
    opacity: 0.3;
}

.contact-info, .tech-stack {
    margin: 1rem 0;
}

.contact-info a, .tech-stack a {
    display: block;
    color: var(--foreground);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

.contact-info a:hover {
    color: var(--primary);
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary);
    width: 20px;
    text-align: center;
}

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.pills span {
    background: #333;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid #444;
}


.terminal {
    flex-grow: 1;
    padding: 2rem;
    overflow-y: auto;
}

#history {
    margin-bottom: 1rem;
}

.history-item {
    margin-bottom: 1.5rem;
}

.prompt {
    color: var(--highlight);
    font-weight: bold;
    margin-right: 10px;
}

.command-input {
    background: transparent;
    border: none;
    color: var(--foreground);
    font-family: var(--font);
    font-size: 1rem;
    outline: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
    caret-color: var(--primary);
}


.input-line {
    display: flex;
    align-items: center;
    padding-left: 1rem;
}

.output h4 {
    color: var(--secondary);
    display: inline-block;
    margin-right: 10px;
    margin-top: 0;
    margin-bottom: 0;
}

.output {
    margin-top: 15px;
    margin-bottom: 15px;
    padding-left: 1rem;
}

.output ul {
    list-style-type: none !important;
    padding-left: 0;
    margin-top: px;
}

.output a {
    color: var(--foreground) !important;
    text-decoration: underline !important;
}


.output .highlight { color: var(--highlight); }
.output h4 { color: var(--secondary); margin-bottom: 5px; }
.output .meta { font-size: 0.9em; opacity: 0.8; margin-top: 0; }
.output ul { list-style-type: '» '; padding-left: 20px; }
.output a { color: var(--primary); }
.output .help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
}


.text-justify {
    text-align: justify;
}


.output-line {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.output-line.visible {
    opacity: 1;
    transform: translateY(0);
}

.blinking-cursor {
    display: inline-block;
    width: 10px;
    height: 1.1em;
    background-color: var(--primary);
    animation: blink 1s step-end infinite;
    vertical-align: bottom;
    margin-left: 2px;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .help-grid-2x4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .container {
        flex-direction: column;
        height: auto;
    }

    .sidebar {
        width: 100%;
        box-sizing: border-box;
        border-right: none;
        border-bottom: 2px solid var(--primary);
    }

    .terminal {
        padding: 1.5rem 1rem;
    }

    .output {
        font-size: 1.1em;
    }


}