.ascii-container {
    margin-bottom: 20px;
}
.ascii-output { 
    white-space: pre; 
    font-size: 5px; 
    line-height: 5px;
    letter-spacing: 0;
    width: 100%;
    text-align: center;
}
video { 
    display: none; 
}

/* Add this to your existing CSS */
* {
    box-sizing: border-box;
}

/* Modify these existing styles */
body {
    /* font-family: Arial, sans-serif;  */

    font-family: "Consolas"; 
    /* font-family: "monaco";  */
    /* font-family: "Courier New"; */
    background-color: #f5f5f5;
    font-variation-settings: "wght" 900;

    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    font-size: 16px;
    overflow-x: hidden; /* Prevent horizontal scrolling */
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box; /* Ensure padding doesn't add to width */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Add padding inside instead of overflow */
    min-height: 55px; /* Ensure header has a minimum height */
}

header {
    /* background-color: #fff; */
    background-color: #f5f5f5;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #eee;
    padding: 0px 0;
}

.name {
    font-size: 20px;
    font-weight: bold;
}

nav {
    text-align: right;
    margin-left: auto;
}

nav2 {
    text-align: center;
    margin-left: auto;
}

nav a {
    margin-left: 5px;
    margin-right: 5px;
    text-decoration: none;
    color: #333;
}

nav a:hover {
    text-decoration: underline;
}

.section {
    margin-top: 10px;
    margin-bottom: 20px;
}

h2 {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.highlight {
    font-weight: bold;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* PROFILE SECTION LAYOUT */
.profile-section {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.image-container {
    flex-shrink: 0;
}

.profile-info {
    flex: 1;
    line-height: 1.6;
}

/* MINIMALISTIC EXPERIENCE SECTION */
.experience-item {
    margin-bottom: 35px;
}

.experience-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.experience-description {
    margin-left: 20px;
    margin-top: 10px;
    line-height: 1.6;
    /* color: #666; */
    color: #333;
}

.side-by-side-container {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap; /* Ensures elements can wrap if needed */
}

/* Make sure media query handles width properly */
@media (max-width: 799px) {
    body {
        font-size: 15px; /* Smaller font size for mobile */
    }

    .name {
        font-size: 18px;
    }

    nav2 {
        order: 2;
    }

    nav {
        order: 3;
    }

    .ascii-container {
        width: 150px;
        height: 25px;
    }

    .side-by-side-container {
        flex-direction: column;
        width: 100%; /* Ensure full width */
        margin-left: 0;
        margin-right: 0;
    }

    .ascii-container {
        display: none;
    }

    .side-by-side-container .section {
        flex: 1;
        width: 100%; /* Ensure full width */
    }
    
    /* Adjust padding for smaller screens */
    .container {
        padding: 10px;
    }

    /* Mobile adjustments for profile section */
    .profile-section {
        flex-direction: column;
        gap: 20px;
    }

    .image-container img {
        width: 200px;
    }

    /* Mobile adjustments for experience section */
    .experience-description {
        margin-left: 15px;
    }
}

















/* Projects Grid */
        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 30px;
            margin-top: 30px;
        }

        .project-card {
            background: white;
            border: 1px dashed #898989;

            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }

        .project-card:hover {
            transform: translateY(-5px);
            /* box-shadow: 0 8px 30px rgba(0,0,0,0.15); */
        }

        .project-image {
            width: 100%;
            height: 200px;
            background: #667eea;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            font-weight: 500;
            position: relative;
            overflow: hidden;
        }

        .project-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            /* background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%); */
            transform: translateX(-100%);
            transition: transform 0.6s ease;
        }

        .project-card:hover .project-image::before {
            transform: translateX(100%);
        }

        .project-content {
            padding: 25px;
        }

        .project-title {
            font-size: 1.4rem;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 12px;
        }

        .project-description {
            color: #666;
            line-height: 1.6;
            margin-bottom: 15px;
        }

        .project-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

        .project-tag {
            background: #f5f5f5;

            /* background: #dde4ff; */
            /* #a8edea; */
            /* linear-gradient(120deg, #a8edea 0%, #fed6e3 100%); */
            color: #2c3e50;
            padding: 4px 12px;
            border: 1px dashed #000;
            /* border-radius: 20px; */
            font-size: 0.85rem;
            font-weight: 500;
            cursor: default;
        }
        

        @media (max-width: 768px) {
            .projects-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }

            .section h2 {
                font-size: 2rem;
            }

            .project-image {
                height: 180px;
            }

            .project-content {
                padding: 20px;
            }
        }