/**
 * Single-Source Publishing styles
 */
:root {
    --max-width: 800px;
}

.navbar {
    background-color: var(--background-alt);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-container {
    align-items: center;
    display: flex;
    max-width: var(--max-width);
    padding: 1rem;
    margin: 0 auto;
}

.navbar .logo {
    display: flex;
    align-items: center;
    margin-right: 2rem;
    text-decoration: none;
}

.navbar .logo img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}

.navbar .logo img:hover {
    transform: rotate(360deg);
}

.navbar ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.navbar li {
    margin: 0;
}

.navbar a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.navbar a:hover {
    background-color: var(--button-hover);
}

.navbar a.active {
    background-color: var(--button-hover);
}

@font-face {
  font-family: 'Outfit';
  src:
    url("../fonts/Outfit-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: 'Figtree';
  src:
    url("../fonts/Figtree-VariableFont_wght.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-display: swap;
}

/* Ensure footer stays at bottom */
body {
    display: flex;
    flex-direction: column;
    font-family: "Figtree", sans-serif;
    font-weight: 400;
    margin: 0 auto;
    min-height: 100vh;
    max-width: unset;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Outfit", sans-serif;
    font-weight: 600;
}

main {
    flex: 1;
    margin: 0 auto;
    max-width: var(--max-width);
}

/* Footer Styles */
footer {
    background-color: var(--background-alt);
    padding-top: 0;
    width: 100%;
}

/* Ensure footer links are optically non-invasive */
footer a {
    color: var(--text-muted);
    max-width: var(--max-width);
}

.footer-container {
    align-items: center;
    display: flex;
    flex-direction: row;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    gap: 2rem;
    width: 100%;
}

.footer-container > div {
    align-items: center;
    color: var(--text-muted);
    display: flex;
    flex: 1;
}

.footer-container > div:last-child {
    justify-content: flex-end;
}

td > p:first-child {
    margin-top: 0;
}
