@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* 
    Custom CSS Reset based on Josh W. Comeau's reset
    Source: https://www.joshwcomeau.com/css/custom-css-reset/
*/
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        interpolate-size: allow-keywords;
    }
}

body {
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

p {
    text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
    text-wrap: balance;
}

#root, #__next {
    isolation: isolate;
}

/* CSS Variables */
:root {
    --bg-color: #F5F2DA;
    --text-color: #2E3A36;
    --button-bg: #2E3A36;
    --button-text: #F5F2DA;
    --accent: #205B28;
    --border-color: #808080;
    --caption-text: #4D4D4D;
    --hover-accent:#2A5A2B;
    --focus-ring: #397C3D;

    --header-shadow: 0 4px 0.8rem rgba(0, 0, 0, 0.08);
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #1E1E1E;
        --text-color: #E6F5DC;
        --button-bg: #A2D3A1;
        --button-text: #2D3934;
        --accent: #85B786;
        --border-color: #ABABAB;
        --caption-text: #A8A8A8;
        --hover-accent:#2A5A2B;
        --focus-ring: #A2D3A1;

        --header-shadow: 0 4px 1.2rem rgba(0, 0, 0, 0.15);
    }
}

[data-theme="dark"] {
    --bg-color: #1E1E1E;
    --text-color: #E6F5DC;
    --button-bg: #A2D3A1;
    --button-text: #2D3934;
    --accent: #85B786;
    --border-color: #ABABAB;
    --caption-text: #A8A8A8;
    --hover-accent:#2A5A2B;
    --focus-ring: #A2D3A1;

    --header-shadow: 0 4px 1.2rem rgba(0, 0, 0, 0.15);
}

[data-theme="light"] {
    --bg-color: #F5F2DA;
    --text-color: #2E3A36;
    --button-bg: #2E3A36;
    --button-text: #F5F2DA;
    --accent: #205B28;
    --border-color: #808080;
    --caption-text: #4D4D4D;
    --hover-accent:#2A5A2B;
    --focus-ring: #397C3D;

    --header-shadow: 0 4px 0.8rem rgba(0, 0, 0, 0.08);
}

/*
    Base Enhancements
*/
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
}

nav ul {
    list-style: none;
    padding: 0;
}

/* 
    Header Styles
*/
#site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.6rem;
    box-shadow: var(--header-shadow);
}

#site-logo {
    width: 5.6rem;
    height: auto;
}

.nav-list {
    display: flex;
    gap: 0.8rem;
}

.nav-btn {
    width: 4.8rem;
    height: 4.8rem;
    padding: 0;
    border: none;
    background-color: transparent;
    cursor: pointer;
}

.nav-btn svg {
    display: block;
    width: 100%;
    height: 100%;
    color: var(--button-bg);
    overflow: hidden;
    transition: color 0.2s ease;
}

.nav-btn svg:hover {
    color: var(--hover-accent);
}

.nav-btn:focus-visible {
    border-radius: 0.8rem;
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}

/* Media Queries */
@media (min-width: 480px) {
    
}

@media (min-width: 768px) {
    #site-header {
        padding: 0.8rem 2.4rem;
    }
}

@media (min-width: 1024px) {
    #site-header {
        padding: 0.8rem 12rem;
    }
}