:root {
    --color-bg-primary: #0A0A0A; 
    --primary-black: #0a0a0a;
    --secondary-black: #1a1a1a;
    --accent-yellow: #ffd700;
    --bright-yellow: #ffed4a;
    --dark-yellow: #b8860b;
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --gradient-primary: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-yellow) 0%, var(--bright-yellow) 100%);
}



@media (max-width: 769px) {
    nav {
        pointer-events: none; /* Add this */
    }
    
    .nav-links {
        pointer-events: none; /* Add this */
    }
    
    .nav-links.show {
        left: 0;
        opacity: 1;
        pointer-events: auto; /* Add this */
    }
    
    .buttons{
    font-weight: 900;
    }
    .balls{
        width: 100px;
        /* display: none; */
        height: 100px;
        /* animation: none; */
    }
    .small{
        right: 40px;
    }
    .intro-btn{
        display: flex;
        justify-content: space-around;
        width: 100%;
        button{
            width: 50%;
            z-index: 30;
        }
    }
     .nav-links{
        pointer-events: none;
        all: unset;
        display: flex;
        place-content: center;
        place-items: center;
        flex-direction: column;
        gap: 3rem;
        top: 50px;
        width: 100vw;
        min-height: 100vh;
        /* height: 80vh; */
        padding-top: 700px;
        padding: 40px;
        box-sizing: border-box;
        margin-top: -60px;
        overflow: hidden;
        position: fixed;
        left:-400px;
        opacity: 0;
        z-index: 1000000000;
        transition: .4s ease;
        background-color: rgb(53, 13, 13);
        /* backdrop-filter: blur(50px); */
        animation: fall 0.8s ease-out both alternate;
        a{
            font-size: 1.7rem;
        }
        a::before{
            content: "";
            position: absolute;
            background-color: #b8860b;
            width: 0%;
            top: 40px;
        }
        a.active::before{
            width: 100%;
        }
    }
    .nav-links.show{
        left: 0;
        opacity: .9;
        pointer-events: auto;
    }
    .hamburger{
        display: flex;
        position: absolute;
        right: 40px;
        pointer-events: auto; /* Add this line */
    }
    .bar{
        display: block;
    }
    
    section{
        padding: 10px;
        /* min-height: 150vh; */
    }
    .intro{
        flex-direction: column-reverse;
        margin-top: 0px;
        padding: 80px 20px;
        justify-content: center;
        background: transparent;
        /* pointer-events: auto; */
        /* z-index: 0; */
       .intro-btn{ z-index: 1;}
        h1{
            margin-top: 20px;
            text-align: center;
            font-size: 2.3rem;
        }
        h3{
            font-size: 1.7rem;
        }
        .resume{
        display: none;
        }
        .mobile-download{
            display: flex;
        }
    }
    .intro-right{
        border:none;
        border-radius: 50%;
        transition: none;
        width: 250px;
        height: 150px;
        cursor: none;
        margin-bottom: 50px;
        .code{
            border: none;
        }
        img, picture{
            margin-top: 200px;
            margin-bottom: 550px;
            width: 200px;
            height: 200px;
        }
    }
    .about{
        width: 100%;
        padding: 0;
        display: flex;
        align-items: center;
        gap: 2rem;
        .about-title{
            font-size: 2.2rem;
        }
        .about-text{
            font-size: 1rem;
            text-align: center;
            width: 90%;
        }
    }

    .about-container{
        display: flex;
        flex-direction: column;
        place-content: center;
        place-items: center;
        width: 100%;
        min-height: 100vh;
        max-height: 200%;
        gap: 2rem;
        padding: 10px;
    }
    .me{
        display: flex;
        place-content: center;
        font-size: 1rem;
        max-width: 100%;
        width: 100vw;
    }
    .journey, .job{
        max-width: 100%;
        width: 100vh;
        height: 350px;
        padding: 20px 20px;
        h2{
            font-size:1.4rem;
        }
        p{
            font-size: 1.1rem;
        }
    }
    .mini-skills{
        margin-bottom: 30px;
    }
    .stats{
        width: 100vw;
        place-content: center;
        place-items: center;
        box-sizing: border-box;
        .stat{
            width: 90vw;
        }
    }
    .skills{
        .skill-title{
            font-size: 2.2rem;
        }
        .skill-text{
            font-size: 1rem;
            text-align: center;
            width: 90%;
        }
    }
    .skill-wrapper{
        width: 100%;
        padding: .5rem;
    }
     .section-subtitle{
            font-size: 1rem;
            text-align: center;
            width: 90%;
        }
    .projects-section {
        padding: 20px 10px 40px;
        min-height: auto;
    }
    .projects-section .head {
        height: auto;
        margin-bottom: 0.5rem;
    }
    .projects-title {
        font-size: 2.2rem;
    }
    .projects-title::before {
        width: 40%;
        left: 10px;
    }
    .projects-text {
        font-size: 1rem;
        text-align: center;
        width: 90%;
        margin-bottom: 0.5rem;
    }
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem 0;
        min-width: 100%;
        width: 100%;
    }
    .project-card--minimal {
        border-right: none;
        border-left: 3px solid var(--accent-yellow);
    }
    .project-card-inner {
        padding: 1.5rem 1.25rem;
        padding-top: 2rem;
        gap: 1rem;
    }
    .project-card h2 {
        font-size: 1.5rem;
    }
    .project-card p {
        font-size: 1rem;
        line-height: 1.5;
    }
    .project-card__badge {
        top: 0.75rem;
        right: 0.75rem;
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }
    .project-card__icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .project-tags {
        gap: 0.5rem;
    }
    .project-tag {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
    }
    .project-links {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 0.25rem;
    }
    .project-link {
        justify-content: center;
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }
     .contact-title{
            font-size: 2.2rem;
    }
    .mini-skills{
        display: none;
    }
    .contact{
        padding: 5px;
    }
    .contact-tables{
        padding: .9rem;
        flex-wrap: wrap;
        gap: rem;
        justify-content: center;
        h2{
            font-size: 1.5rem;
            margin-top: 10px;
        }
    }
    .table{
        padding: 1rem;
        z-index: 1;
    }
    .contact-text{
        font-size: .5rem;
    }
    .contact input, textarea{
        margin: 10px;
    }
    form{
        gap: 0rem;
        margin-top: 0;
    }
    .skill-category{
         place-self: center;
         z-index: 1;
    }
    .category-title p{
        display: none;
    }
}

@media (width: 768px) {
    .about{
        width: 100vw;
    }
    .journey{
        width: 100vw;
    }
    .stat{
        width: 90vw;
    }
}

@media (max-width: 480px) {
    .intro{
        padding:80px 10px;
    }
    .projects-section {
        padding: 15px 8px 30px;
    }
    .projects-title {
        font-size: 1.85rem;
    }
    .projects-text {
        font-size: 0.95rem;
    }
    .project-card-inner {
        padding: 1.25rem 1rem;
        padding-top: 1.75rem;
    }
    .project-card h2 {
        font-size: 1.35rem;
    }
    .project-card p {
        font-size: 0.95rem;
    }
    .project-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    .project-link {
        font-size: 0.85rem;
        padding: 0.5rem 0.85rem;
    }
    .skill-wrapper {
        max-width: 350px;
    }
    .skill-category{
        padding-right: 0;
        max-width: 2px;
        min-width: 80vw;
        max-width: 90%;
        min-height: 70px;
        span{
            font-size: 1rem;
        }
    }
    .skill-icon{
        width: 35px;
        height: 35px;
    }
    .skill-card-wrapper{
        place-content: start;
        padding: 0;
        .skill-card.show{
            height: 90px;
            width: 95px;
            font-size: .3rem;
            p{
                text-align: center;
                font-size: .7rem;
            }
        }
    }
}