/* Site nav crap */

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: large;
    background-color: #0064ff;
    color: white;
    padding: 1rem 1rem;
}
nav img {
    width: 50px;
    height: auto;
}
.nav-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.site-title {
    font-weight: bold;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
nav a:visited, nav a:link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
}
nav a:hover {
    color: aqua;
}
nav a:active {
    color: white;
}

footer {
    background-color: #0064ff;
    color: white;
    padding: 1vh;
    text-align: center;
}

footer a {
    color: white;
}

/* Responsive: stack nav items on small screens */
@media (max-width: 700px) {
    nav {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .nav-left {
        padding: 0.25rem 0;
        justify-content: center;
        align-items: center;
    }
    .nav-right {
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        width: 100%;
    }
    nav a:visited, nav a:link {
        padding: 0.75rem 1rem;
        width: 100%;
        text-align: center;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
}

@media (max-width: 400px) {
    .site-title { font-size: 1rem; }
    nav a { font-size: 0.95rem; padding: 0.6rem 0.8rem; }
}