.menu {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    padding-top: 2em;
}

#name-title {
    margin: 0 2em;
    font-size: 2.5em;
}

.menu-links {
    display: flex;
    gap: 1em; /* space between links */
    justify-content: center;
}

.menu-item {
    padding: 0.5em;
    border: 2px solid black;
    text-decoration: none;
    color: black;
    font-size: 1.5em;
    font-weight: 500;
}

@media (max-width: 800px) {
    .menu {
        flex-direction: column; /* stack title and links vertically */
        flex-wrap: wrap; /* allow wrapping on smaller screens */
    }
    
    #name-title {
        margin-bottom: 10px;
    }
}
