/* AI Generated to make Mobile-Friendly Adjustments */
@media (max-width: 768px) {
    body {
        padding: 12px;
        text-align: center;
    }

    .bio {
        flex-direction: column;
        align-items: center;
        padding: 16px;
        gap: 16px;
    }

    .bio-text {
        text-align: center;
    }

    .ascii-profile {
        width: 120px;
        height: 120px;
        margin-bottom: 8px;
    }

    .ascii-profile pre {
        font-size: 8px;
    }

    .projects {
        flex-direction: column;
        gap: 12px;
        overflow-x: visible;
        padding: 12px 0;
    }

    .project {
        width: 100%;
        max-width: 300px;
        height: 200px;
        transition: none;
    }

    .project:hover {
        width: 100%;
        height: 200px;
    }

    .project img {
        object-fit: cover;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill {
        justify-content: center;
    }

    h2 {
        font-size: 1.3rem;
    }

    .project-info h3 {
        font-size: 1rem;
    }

    .project-info p {
        font-size: 0.8rem;
    }

    .social-icons a img {
        width: 28px;
        height: 28px;
        margin: 0 6px;
    }

    footer {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    /* Make hover state default for mobile */
    .project {
        width: 100%;
        max-width: 300px;
        height: 250px;
    }

    .project img {
        transform: scale(1.05);
        filter: brightness(70%);
    }

    .project-info {
        opacity: 1;
        pointer-events: auto;
    }

    .project:hover {
        width: 100%;
        height: 250px;
    }

    .project:hover img {
        transform: scale(1.05);
        filter: brightness(70%);
    }

    .project:hover .project-info {
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .pixel-board__form {
        flex-direction: column; /* stack vertically */
        align-items: stretch;   /* inputs fill width */
    }

    #authorInput,
    #descInput,
    #submitBtn {
        width: 100%;            /* full width on mobile */
        box-sizing: border-box; /* include padding in width */
    }

    #submitBtn {
        margin-top: 8px;        /* spacing between inputs and button */
    }
}

@media (max-width: 600px) {
    .pixel-board__timeline {
        grid-template-columns: 1fr; /* stack entries vertically */
    }
}