/* Responsive adjustments for the document layout */

@media screen and (max-width: 600px) {
    .document-container {
        padding: 0 1.5rem;
    }

    .doc-header {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 0;
    }

    .hero-header {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }

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

    .section__text__p1,
    .title {
        text-align: center;
    }

    .title {
        font-size: 2.5rem;
    }

    #social-container,
    .btn-container {
        justify-content: center;
    }

    .hero-pic {
        width: 120px;
        height: 120px;
        margin-bottom: 1rem;
    }

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

    .doc-footer {
        flex-direction: column-reverse;
        gap: 1rem;
        text-align: center;
    }
}