/* =========================
   Project Variables
========================= */

:root {
    --text-color: #504740;
    --header-color: #2a1c11;
    --bg-color: #fcf8f5;
    --bg-color-secondary: #f6ede8;
    --accent-color: #b78747;

    --fallback-color: #f5f5f5;
    --border-color: #ddd;

    --button-primary-color: var(--accent-color);
    --button-primary-text-color: white;

    --button-outline-color: var(--accent-color);
    --button-outline-text-color: var(--accent-color);

    --button-padding: 10px 20px;

    --text-size-p1: 20px;
    --text-size-p2: 18px;
    --header-size-H1: 36px;
    --header-size-H2: 24px;

    --font-main: "Commissioner", sans-serif;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
}


/* =========================
   Default / Reset Styles
========================= */

/* Remove default spacing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Improve font rendering */
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Body defaults */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;

    line-height: 1.5;
    font-family: var(--font-main);
    background: var(--bg-color);
    color: var(--text-color);
    font-size: var(--text-size-p2);
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-color);
    padding: 5px 10px;
    width: 100%;
    height: 60px;
    border-bottom: 1px solid var(--border-color);
}

main {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
}

footer {
    width: 100%;
    background: var(--bg-color);
    color: var(--header-color);
    text-align: center;
    padding: 10px 20px;
    border-top: 1px solid var(--border-color);
}

nav a {
    color: var(--header-color);
    margin: 0 10px;
    text-decoration: none;
    cursor: pointer;
}

/* Remove list styles */
ul, ol {
    list-style: none;
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
}

/* Buttons */
button {
    font: inherit;
    cursor: pointer;
    background: #767a7a;
    border: solid 1px #000000;
    padding: 2px 10px;
    margin: 2px;
}

/* tmp style */
button.tag-btn.active {
    background: #333;
    color: white;
}

/* Images */
img {
    max-width: 100%;
    display: block;
}

/* Inputs */
input,
textarea {
    font: inherit;
    outline: none;
}

/* logo */
.logo h1 {
    font-size: var(--header-size-H1);
    color: var(--header-color);
    font-weight: bold;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

/* =========================
   Utilities
========================= */

/* spacing helpers */
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }


.flex-center { 
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}