/* static/css/style.css */
:root {
    /* Light theme colors (default) */
    --background: #ffffff;
    --surface: #f0f0f0;
    --surface-light: #e0e0e0;
    --text: #000000;
    --border: #cccccc;
    --terminal-black: #000000;
    --terminal-gray: #333333;
    --terminal-dark: #555555;
    
    /* Dark theme colors */
    --dark-background: #000000;
    --dark-surface: #111111;
    --dark-surface-light: #222222;
    --dark-text: #ffffff;
    --dark-border: #333333;
    --dark-terminal-black: #ffffff;
    --dark-terminal-gray: #cccccc;
    --dark-terminal-dark: #aaaaaa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

body {
    background-color: var(--background);
    color: var(--text);
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    line-height: 1.6;
    overflow-x: hidden;
    padding: 20px;
    min-height: 100vh;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
}

.terminal-container {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    background: linear-gradient(to bottom, var(--surface), var(--background));
    position: relative;
    z-index: 1;
}

.terminal-header {
    background: #ffffff;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
    border-bottom: 1px solid var(--border);
}

.terminal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 3px;
    background: var(--terminal-black);
}

.header-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
}

.dot.close {
    background-color: #000000;
}

.dot.minimize {
    background-color: #333333;
}

.dot.maximize {
    background-color: #555555;
}

.header-title {
    color: var(--terminal-black);
    font-weight: 500;
    font-size: 1rem;
    flex-grow: 1;
    text-align: center;
}

.header-controls {
    display: flex;
    align-items: center;
}

.theme-toggle {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    color: var(--terminal-black);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: rgba(0, 0, 0, 0.2);
}

.terminal-body {
    background-color: var(--surface);
    padding: 20px;
    min-height: 500px;
}

.terminal-content {
    max-width: 1000px;
    margin: 0 auto;
}

.terminal-line {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.prompt {
    color: var(--terminal-black);
    margin-right: 10px;
    white-space: nowrap;
}

.command {
    color: var(--terminal-gray);
    margin-right: 10px;
}

.cursor {
    color: var(--terminal-black);
    animation: blink 1s infinite;
}

.command-cursor {
    color: var(--terminal-black);
    animation: blink 1s infinite;
}

.output-content {
    opacity: 0;
    animation: fadeIn 0.5s forwards;
    animation-delay: 0.3s;
}

.section {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 6px;
    background: rgba(240, 240, 240, 0.8);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.section:hover {
    border-color: var(--terminal-black);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 3px;
    background: var(--terminal-black);
}

.section-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.section-prompt {
    color: var(--terminal-black);
    font-weight: 500;
    font-size: 1.1rem;
}

.profile-container {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid var(--terminal-black);
    background-color: var(--surface-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terminal-black);
    font-size: 5rem;
    overflow: hidden;
    position: relative;
    opacity: 0;
    transform: scale(0.8);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(80%) brightness(120%);
}

.online-status {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background-color: var(--terminal-black);
    border-radius: 50%;
    border: 2px solid var(--surface);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.profile-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.prompt-label {
    color: var(--terminal-black);
    margin-right: 12px;
    display: inline-flex;
    align-items: center;
    min-width: 150px;
    font-weight: 500;
    gap: 8px;
}

.prompt-label i {
    width: 20px;
    text-align: center;
    color: var(--terminal-gray);
}

.info-value {
    color: var(--text);
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.info-value::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--surface);
    animation: typing 2s steps(40, end) forwards;
    transform: translateX(-100%);
}

@keyframes typing {
    to {
        transform: translateX(100%);
    }
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.skills-progress {
    margin-top: 20px;
}

.skill-bar {
    margin-bottom: 15px;
}

.skill-name {
    color: var(--terminal-black);
    display: block;
    margin-bottom: 5px;
}

.progress-container {
    height: 10px;
    background: var(--surface-light);
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(to right, #000000, #333333);
    border-radius: 5px;
    transition: width 1.5s ease-in-out;
}

.os-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.os-column {
    padding: 20px;
    background: rgba(240, 240, 240, 0.6);
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.os-column:hover {
    border-color: var(--terminal-black);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.subsection-title {
    color: var(--terminal-black);
    margin-bottom: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.os-prompt {
    color: var(--terminal-black);
    display: flex;
    align-items: center;
    gap: 8px;
}

.os-item, .os-details .info-item {
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.os-item:hover, .os-details .info-item:hover {
    border-color: var(--terminal-black);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.os-item .prompt-label, .os-details .info-item .prompt-label {
    color: var(--terminal-black);
    margin-right: 12px;
    gap: 8px;
    min-width: 30px;
}

.os-item .info-value, .os-details .info-item .info-value {
    flex: 1;
}

/* OS Visualization Section */
.os-visualization {
    margin-top: 30px;
    padding: 20px;
    background: rgba(240, 240, 240, 0.6);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.visualization-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.os-chart {
    display: flex;
    height: 40px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.chart-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.chart-segment {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-segment.windows-segment {
    background: linear-gradient(90deg, #222222, #444444);
}

.chart-segment.linux-segment {
    background: linear-gradient(90deg, #222222, #444444);
}

.chart-segment.other-segment {
    background: linear-gradient(90deg, #222222, #444444);
}

.chart-label {
    position: absolute;
    width: 100%;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.chart-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.legend-color.windows-color {
    background: linear-gradient(90deg, #000000, #333333);
}

.legend-color.linux-color {
    background: linear-gradient(90deg, #222222, #444444);
}

.legend-color.other-color {
    background: linear-gradient(90deg, #333333, #555555);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.spec-item {
    margin-bottom: 15px;
    padding: 12px;
    background: rgba(240, 240, 240, 0.6);
    border-radius: 6px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
}

.spec-item.full-width {
    grid-column: 1 / -1;
}

.storage-container {
    margin-top: 10px;
}

.storage-item {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.projects-list {
    margin-bottom: 20px;
}

.project-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 10px;
    background: rgba(240, 240, 240, 0.6);
    border-radius: 6px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.project-item:hover {
    border-color: var(--terminal-black);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.project-status {
    margin-left: auto;
}

.status-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-left: 10px;
    background-color: var(--terminal-black);
}

.status-in-progress {
    box-shadow: 0 0 8px var(--terminal-black);
}

.status-completed {
    box-shadow: 0 0 8px var(--terminal-black);
}

.current-project {
    padding: 15px;
    background: rgba(240, 240, 240, 0.6);
    border-radius: 6px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
}

.games-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 10px;
}

.game-item {
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    height: 45px;
    width: 100%;
}

.game-item:hover {
    border-color: var(--terminal-black);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}
.no-data {
    color: var(--terminal-black);
    font-style: italic;
    padding: 20px;
    text-align: center;
}

/* Animations */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    70% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Sequential animations */
.animate {
    animation: slideUp 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.profile-pic.animate {
    animation: popIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Responsive */
@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-info {
        min-width: 100%;
    }
    
    .prompt-label {
        display: block;
        margin-bottom: 5px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .os-grid {
        grid-template-columns: 1fr;
    }
    
    .games-list {
        grid-template-columns: 1fr;
    }
    
    .terminal-header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .header-dots {
        order: 1;
    }
    
    .header-title {
        order: 2;
    }
    
    .header-controls {
        order: 3;
    }
    
    .chart-legend {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .os-chart {
        height: 30px;
    }
}

/* Light theme (default) */
body.light-theme {
    --background: #ffffff;
    --surface: #f0f0f0;
    --surface-light: #e0e0e0;
    --text: #000000;
    --border: #cccccc;
    --terminal-black: #000000;
    --terminal-gray: #333333;
    --terminal-dark: #555555;
}

/* Dark theme */
body.dark-theme {
    --background: var(--dark-background);
    --surface: var(--dark-surface);
    --surface-light: var(--dark-surface-light);
    --text: var(--dark-text);
    --border: var(--dark-border);
    --terminal-black: var(--dark-terminal-black);
    --terminal-gray: var(--dark-terminal-gray);
    --terminal-dark: var(--dark-terminal-dark);
}

body.dark-theme .terminal-container {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: linear-gradient(to bottom, var(--dark-surface), var(--dark-background));
}

body.dark-theme .section {
    background: rgba(17, 17, 17, 0.6);
}

body.dark-theme .os-column {
    background: rgba(17, 17, 17, 0.4);
}

body.dark-theme .os-item:hover, 
body.dark-theme .os-details .info-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-theme .os-visualization {
    background: rgba(17, 17, 17, 0.4);
}

body.dark-theme .spec-item,
body.dark-theme .project-item,
body.dark-theme .game-item,
body.dark-theme .current-project {
    background: rgba(17, 17, 17, 0.4);
}

body.dark-theme .section:hover {
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

body.dark-theme .os-column:hover {
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.05);
}

body.dark-theme .profile-pic img {
    filter: grayscale(100%) contrast(120%);
}

body.dark-theme .chart-segment {
    color: #000000;
}

body.dark-theme .terminal-header {
    background: #000000;
    border-bottom: 1px solid var(--dark-border);
}

body.dark-theme .terminal-header::before {
    background: var(--dark-terminal-black);
}

body.dark-theme .terminal-body {
    background-color: var(--dark-surface);
}

/* static/css/style.css (Add these styles) */

/* Code Editors & IDEs Section */
.editors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.editor-column {
    padding: 20px;
    background: rgba(240, 240, 240, 0.6);
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.editor-column:hover {
    border-color: var(--terminal-black);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.editor-prompt {
    color: var(--terminal-black);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 1.1rem;
}

.editor-item {
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.editor-item:hover {
    border-color: var(--terminal-black);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.editor-item .prompt-label {
    color: var(--terminal-black);
    margin-right: 12px;
    gap: 8px;
    min-width: 30px;
    display: flex;
    align-items: center;
}

.editor-item .info-value {
    flex: 1;
}

/* Editors Visualization */
.editors-visualization {
    margin-top: 30px;
    padding: 20px;
    background: rgba(240, 240, 240, 0.6);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.preference-chart {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chart-row {
    display: flex;
    align-items: center;
}

.chart-label {
    width: 120px;
    font-weight: 500;
    color: white;
}

.chart-bar-container {
    flex: 1;
    height: 20px;
    background: var(--surface-light);
    border-radius: 10px;
    overflow: hidden;
}

.chart-bar {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 10px;
    transition: width 1.5s ease-in-out;
}

.zed-bar {
    background: linear-gradient(90deg, #000000, #333333);
}

.vscode-bar {
    background: linear-gradient(90deg, #0078d7, #005a9e);
}

.pycharm-bar {
    background: linear-gradient(90deg, #00c853, #009624);
}

.vim-bar {
    background: linear-gradient(90deg, #009688, #00675b);
}

.vs-bar {
    background: linear-gradient(90deg, #5c2d91, #3c1d60);
}

.nano-bar {
    background: linear-gradient(90deg, #ff9800, #cc7a00);
}

.bar-value {
    margin-right: 5px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}

/* Dark theme adjustments */
body.dark-theme .editor-column {
    background: rgba(17, 17, 17, 0.4);
}

body.dark-theme .editor-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-theme .editors-visualization {
    background: rgba(17, 17, 17, 0.4);
}



body.dark-theme .chart-bar-container {
    background: var(--dark-surface-light);
}

/* Responsive adjustments */
/* Mobile First Responsive Design */

/* Mobile devices (phones up to 480px) */
@media only screen and (max-width: 480px) {
    body {
        padding: 8px;
    }

    .terminal-container {
        margin: 0;
        max-width: 100%;
    }

    .terminal-header {
        padding: 10px;
    }

    .header-title {
        font-size: 0.9rem;
    }

    /* Navigation Adjustments for Mobile */
    .nav-list {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 4px;
        margin-bottom: 15px;
        padding: 0;
        width: 100%;
    }

    .nav-item {
        margin: 0;
        padding: 6px 4px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        font-size: 0.8rem;
        border-radius: 6px;
        text-align: center;
        flex: 1;
        min-width: 0;
        width: calc(33.333% - 4px);
        height: 50px;
    }

    .nav-item i {
        margin: 0 4px 0 0;
        font-size: 1.2rem;
        display: inline-block;
    }

    .terminal-body {
        padding: 12px 8px;
    }

    .section {
        padding: 15px 12px;
        margin-bottom: 16px;
    }

    /* Profile Section for Mobile */
    .profile-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 20px;
    }

    .profile-pic {
        width: 120px;
        height: 120px;
        margin: 0 auto 15px;
    }

    .online-status {
        width: 15px;
        height: 15px;
        bottom: 6px;
        right: 6px;
    }

    .profile-info {
        min-width: 100%;
    }

    /* Info Items for Mobile */
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 15px;
    }

    .prompt-label {
        width: 100%;
        margin-bottom: 8px;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
    }

    .prompt-label i {
        margin-right: 10px;
        width: 18px;
        text-align: center;
    }

    .info-value {
        width: 100%;
        padding-left: 28px;
        font-size: 0.9rem;
    }

    /* OS Section Mobile Adjustments */
    .os-grid {
        gap: 15px;
        margin-bottom: 20px;
    }

    .os-column {
        padding: 15px;
        margin-bottom: 15px;
    }

    .subsection-title {
        margin-bottom: 15px;
        font-size: 1rem;
    }

    .os-prompt {
        margin-bottom: 12px;
    }

    .os-item, 
    .os-details .info-item {
        margin-bottom: 10px;
        padding: 8px 12px;
        display: flex;
        align-items: center;
    }

    .os-item .prompt-label, 
    .os-details .info-item .prompt-label {
        min-width: 30px;
        margin-right: 12px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .os-item .info-value, 
    .os-details .info-item .info-value {
        flex: 1;
    }

    .os-visualization {
        margin-top: 20px;
        padding: 15px;
    }

    .visualization-header {
        margin-bottom: 15px;
    }

    .os-chart {
        height: 30px;
        margin-bottom: 15px;
    }

    .chart-legend {
        gap: 15px;
    }

    /* Other mobile adjustments */
    .terminal-line {
        margin-bottom: 10px;
        padding: 0 3px;
    }

    .section {
        margin-bottom: 20px;
        padding: 12px 8px;
    }

    .section-header {
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .section-prompt {
        font-size: 1rem;
    }

    .project-item, 
    .common-item {
        padding: 8px;
        margin-bottom: 8px;
    }

    .project-item:last-child,
    .common-item:last-child {
        margin-bottom: 0;
    }

    .game-item {
        padding: 8px;
        margin-bottom: 8px;
    }

    .current-project {
        padding: 8px;
        margin-top: 12px;
    }

    .skills-progress {
        margin-top: 15px;
    }

    .skill-bar {
        margin-bottom: 10px;
    }

    .content-grid,
    .specs-grid,
    .games-list {
        gap: 10px;
        margin-bottom: 15px;
    }

    .os-grid {
        gap: 15px;
        margin-bottom: 20px;
    }

    .os-column {
        padding: 12px 8px;
    }

    .chart-legend {
        gap: 12px;
        margin-top: 10px;
    }
}




/* Small devices (larger phones, 375px and up) */
@media only screen and (min-width: 375px) {
    .terminal-container {
        margin: 15px;
    }

    .header-title {
        font-size: 1rem;
    }

    .profile-pic {
        width: 130px;
        height: 130px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .terminal-container {
        margin: 20px auto;
        max-width: 90%;
    }

    .terminal-header {
        padding: 12px 15px;
    }

    .nav-item {
        width: 48%;
        margin-right: 2%;
    }

    .profile-container {
        flex-direction: row;
        align-items: flex-start;
    }

    .profile-pic {
        width: 150px;
        height: 150px;
    }

    .info-item {
        flex-direction: row;
        align-items: center;
    }

    .prompt-label {
        margin-bottom: 0;
        margin-right: 12px;
    }

    .editors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Large devices (desktops, 1024px and up) */
@media only screen and (min-width: 1024px) {
    .terminal-container {
        max-width: 80%;
    }

    .nav-item {
        width: 32%;
        margin-right: 1%;
    }

    .content-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .editors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .terminal-container {
        max-width: 1000px;
    }

    .content-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Landscape orientation adjustments */
@media only screen and (orientation: landscape) and (max-height: 500px) {
    .terminal-container {
        margin: 10px;
    }

    .terminal-header {
        padding: 8px;
    }

    .profile-pic {
        width: 100px;
        height: 100px;
    }

    .section {
        margin-bottom: 15px;
        padding: 12px;
    }
}

/* High-DPI (Retina) displays */
@media only screen and (-webkit-min-device-pixel-ratio: 2),
       only screen and (min-resolution: 192dpi) {
    .profile-pic img {
        image-rendering: -webkit-optimize-contrast;
    }
}

a{
    color: inherit;
    text-decoration: none;
}

.nav-list {
    margin-bottom: 20px;
}

.nav-item {
    display: inline-flex;
    width: 32%;
    margin-bottom: 12px;
    margin-right: 8px;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.nav-item:hover {
    border-color: var(--terminal-black);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}


.common-list {
    margin-bottom: 20px;
}

.common-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 10px;
    background: rgba(240, 240, 240, 0.6);
    border-radius: 6px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.common-item:hover {
    border-color: var(--terminal-black);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}
.home-page-text {
    padding: 20px;
    text-align: center;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.text-section {
    padding: 20px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.text-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 3px;
}