@import url("https://fonts.googleapis.com/css2?family=Jersey+10&display=swap");

@media screen and (max-width: 768px) {
    html {
        font-size: 2rem;
    }

    body {
        padding-top: 7rem;
    }

    .navigation-bar {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0.5rem 12px;
        height: auto;
    }

    .navigation-menu {
        display: flex;
        color: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
        position: static;
        margin: 0;
        background-color: transparent;
        padding: 0.25rem 0;
        transition: none;
        z-index: 9;
        flex-wrap: wrap;
        font-size: 1rem;
    }

    .navigation-item {
        margin: 0;
        text-align: center;
    }



    main {
        text-align: center;
        margin-left: 1rem;
        margin-right: 1rem;
        justify-content: center;
    }

    .project-grid {
        grid-template-columns: 1fr;
        width: 90%;
        margin: 2rem auto;
    }

    .project-card {
        padding: 1.5rem;
    }

    footer {
        width: 100%;
        margin: 0;
    }

    h1 {
        font-size: 2.6rem;
        width: auto;
        word-wrap: break-word;
    }

    h2 {
        font-size: 2.2rem;
        width: auto;
        word-wrap: break-word;
    }
}