:root {
    /* Strawberry */
    --strawberry-000: #fff0ed;
    --strawberry-100: #ffc8c2;
    --strawberry-300: #ed5353;
    --strawberry-500: #c6262e;
    --strawberry-700: #a10705;
    --strawberry-900: #7a0000;

    /* Orange */
    --orange-000: #fff5e6;
    --orange-100: #ffc27d;
    --orange-300: #ffa154;
    --orange-500: #f37329;
    --orange-700: #cc3b02;
    --orange-900: #a62100;

    /* Banana */
    --banana-000: #fffbe5;
    --banana-100: #fff394;
    --banana-300: #ffe16b;
    --banana-500: #f9c440;
    --banana-700: #d48e15;
    --banana-900: #ad5f00;

    /* Lime */
    --lime-000: #f6ffe8;
    --lime-100: #d1ff82;
    --lime-300: #9bdb4d;
    --lime-500: #68b723;
    --lime-700: #3a9104;
    --lime-900: #206b00;

    /* Mint */
    --mint-000: #eafff7;
    --mint-100: #89ffdd;
    --mint-300: #43d6b5;
    --mint-500: #28bca3;
    --mint-700: #0e9a83;
    --mint-900: #007367;

    /* Blueberry */
    --blueberry-000: #eaf6ff;
    --blueberry-100: #8cd5ff;
    --blueberry-300: #64baff;
    --blueberry-500: #3689e6;
    --blueberry-700: #0d52bf;
    --blueberry-900: #002e99;

    /* Grape */
    --grape-000: #f7f0fd;
    --grape-100: #e4c4fa;
    --grape-300: #cd9ef7;
    --grape-500: #a56de2;
    --grape-700: #7239b3;
    --grape-900: #452981;

    /* Bubblegum */
    --bubblegum-000: #fff0f7;
    --bubblegum-100: #fe9ab8;
    --bubblegum-300: #f4679d;
    --bubblegum-500: #de3e80;
    --bubblegum-700: #bc245d;
    --bubblegum-900: ;

    /* Cocoa */
    --cocoa-000: #f7f4f1;
    --cocoa-100: #a3907c;
    --cocoa-300: #8a715e;
    --cocoa-500: #715344;
    --cocoa-700: #57392d;
    --cocoa-900: #3d211b;

    /* Silver */
    --silver-100: #fafafa;
    --silver-150: #f1f1f1;
    --silver-200: #eeeeee;
    --silver-300: #d4d4d4;
    --silver-500: #abacae;
    --silver-700: #7e8087;
    --silver-900: #555761;

    /* Slate */
    --slate-100: #95a3ab;
    --slate-300: #667885;
    --slate-500: #485a6c;
    --slate-700: #273445;
    --slate-900: #0e141f;

    /* Black */
    --black-100: #666666;
    --black-300: #4d4d4d;
    --black-500: #333333;
    --black-700: #1a1a1a;
    --black-900: #000000;

    /*Tan*/
    --tan-100: #F5EDDF;

    /*Box Shadow*/
    --shadow-standard: rgba(0, 0, 0, 0.1);
    --typical-box-shadow: 0 2px 4px var(--shadow-standard);
}

/* ====================================================
   GLOBAL STYLES & BASE ELEMENTS
   ==================================================== */
html {
    background-color: var(--silver-100);
}

@font-face {
    font-family: 'Mozilla Headline';
    src: url('/assets/fontface/MozillaHeadline-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mozilla Headline';
    src: url('/assets/fontface/MozillaHeadline-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mozilla Headline';
    src: url('/assets/fontface/MozillaHeadline-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mozilla Headline';
    src: url('/assets/fontface/MozillaHeadline-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mozilla Text';
    src: url('/assets/fontface/MozillaText-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mozilla Text';
    src: url('/assets/fontface/MozillaText-Bold.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mozilla Headline';
    src: url('/assets/fontface/MozillaHeadline-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mozilla Headline';
    src: url('/assets/fontface/MozillaHeadline-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mozilla Text';
    src: url('/assets/fontface/MozillaText-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mozilla Text';
    src: url('/assets/fontface/MozillaText-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mozilla Text';
    src: url('/assets/fontface/MozillaText-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Mozilla Text';
    src: url('/assets/fontface/MozillaText-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Mozilla Text', sans-serif;
    background-color: var(--silver-100);
    color: var(--slate-900);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

h1 {
    margin: 0;
    font-weight: 300;
    font-family: Mozilla Headline, sans-serif;
}

h2,
h3,
h4,
h5,
h6 {
    font-family: Mozilla Headline, sans-serif;
    margin: 0;
    font-weight: 800;
}

p {
    margin-top: 0.5rem;
    margin: 0;
    color: var(--slate-700);
}

div p {
    margin-top: 0.5rem;
    color: var(--slate-700);
}

hr {
    border: 0.05rem solid var(--silver-300);
    width: 50%;
    margin: 4rem;
}

a:hover {
    filter: brightness(1.1);
}

/* ====================================================
   GENERAL COMPONENTS
   ==================================================== */
.pillButton,
.rectButton {
    font-family: Mozilla Headline, sans-serif;
    cursor: pointer;
    transition: background-color 0.15s ease, filter 0.15s ease, border-color 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 1. Pill Button Styles */
.pillButton {
    border: none;
    font-weight: 700;
    background: linear-gradient(var(--slate-100), var(--slate-500));
    border: 1px solid var(--slate-500);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
    padding: 1rem 3rem;
    border-radius: 4rem;
    /* Defines the pill shape */
}

/* Hover Effect for Pill Button */
.pillButton:hover {
    /* Use 'filter' for a quick, universal darkening/lightening effect */
    filter: brightness(0.95);
}

/* 2. Rectangular Button Styles */
.rectButton {
    display: inline-block;
    /* Essential for 'a' tags acting as buttons */
    border: 1px solid rgba(0, 0, 0, 0.2);
    font-weight: 400;
    color: var(--silver-100);
    background: linear-gradient(var(--blueberry-300), var(--blueberry-500));
    padding: 0.4rem 1.5rem;
    border-radius: 0.2rem;
    text-decoration: none;
    /* Remove underline from <a> tags */
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);

    /* Correct text-shadow syntax: X-offset Y-offset Blur Color */
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

/* === MINT === */
.rectButton.mint {
    background: linear-gradient(var(--mint-300), var(--mint-500));
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

/* === STRAWBERRY === */
.rectButton.strawberry {
    background: linear-gradient(var(--strawberry-300), var(--strawberry-500));
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

/* === ORANGE === */
.rectButton.orange {
    background: linear-gradient(var(--orange-300), var(--orange-500));
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

/* === BANANA (Light Button - Requires Dark Text) === */
.rectButton.banana {
    color: var(--cocoa-900);
    /* Using dark cocoa for contrast */
    background: linear-gradient(var(--banana-300), var(--banana-500));
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    /* Light shadow for dark text */
    border-color: rgba(0, 0, 0, 0.1);
}

/* === LIME (Light Button - Requires Dark Text) === */
.rectButton.lime {
    background: linear-gradient(var(--lime-300), var(--lime-500));
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
    /* Light shadow for dark text */
    border-color: rgba(0, 0, 0, 0.1);
}

/* === GRAPE === */
.rectButton.grape {
    background: linear-gradient(var(--grape-300), var(--grape-500));
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

/* === BUBBLEGUM === */
.rectButton.bubblegum {
    background: linear-gradient(var(--bubblegum-300), var(--bubblegum-500));
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

/* === COCOA === */
.rectButton.cocoa {
    background: linear-gradient(var(--cocoa-300), var(--cocoa-500));
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

/* === SLATE === */
.rectButton.slate {
    background: linear-gradient(var(--slate-300), var(--slate-500));
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

/* === SILVER === */
.rectButton.silver {
    background: linear-gradient(var(--silver-100), var(--silver-150));
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
    color: var(--silver-900);
}


/* Hover Effect for Rectangular Button */
.rectButton:hover {
    /* Slightly change the gradient or use filter to indicate interaction */
    filter: brightness(1.05);
}

#btnSeeMore {
    background-color: var(--grape-900);
    color: white;
}

button:hover {
    filter: brightness(0.9);
}

input[type=text] {
    margin-top: 1rem;
    font-family: Inter, sans-serif;
    padding: 0.5rem;
    border: 1px solid var(--silver-500);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
    border-radius: 0.2rem;
    background: linear-gradient(to bottom, var(--silver-200), var(--silver-100));
    width: 92%;
    font-family: Mozilla Text, sans serif;
}

#listView {
    margin-top: 0.5rem;
    overflow-y: scroll;
}

.listItem {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.listItem p {
    margin: 0;
}

input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #999;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    background-color: white;
    pointer-events: none;
}

/* Checked state */
input[type="checkbox"]:checked {
    background-color: #0066cc;
    border-color: #0066cc;
}

/* Checkmark */
input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}


/* ====================================================
   MAIN LAYOUT & CONTENT SECTIONS
   ==================================================== */
.mainContent {
    background-color: var(--silver-100);
    width: 100vw;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.secContent {
    margin-top: 2rem;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
}


/* ====================================================
   CARD AND LIST COMPONENTS
   ==================================================== */
.genContainer {
    width: 100%;
    /* fills grid-sizer column */
    box-sizing: border-box;
    padding: 1rem !important; 
    background-color: var(--silver-100);
    border-radius: 0.5rem;
    box-shadow: 0 4px 4px var(--shadow-standard);
    border: 0.05rem solid rgba(0, 0, 0, 0.25) !important;
    margin-bottom: 12px;
}

.jointRowWrapper {
    width: 100%;
    border-radius: 0.2rem;
    box-shadow: var(--typical-box-shadow);
}

.jointRowItem {
    margin-top: -1px;
    display: flex;
    padding: 1rem;
    border: 1px solid var(--silver-300);
    align-items: center;
    gap: 1rem;
}

.jointRowItem:hover {
    background-color: var(--silver-200);
}

.jointRowItem.first {
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
    display: flex;
    border: 1px solid var(--silver-300);
}

.jointRowItem.last {
    border-bottom-left-radius: 0.3rem;
    border-bottom-right-radius: 0.3rem;
    display: flex;
    border: 1px solid var(--silver-300);
}

.photoCard {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 90%;
    padding: 0.5rem;
}

.photoCard img {
    width: 100%;
    height: 80%;
    object-fit: cover;
    border-radius: 0.5rem;
}

.photoCard h1 {
    font-weight: 700;
}

.twoColumnGrid {
    max-width: 90vw;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.gallerycard {
    border-radius: 0.5rem;
    background-color: var(--silver-100);
    border: 1px solid var(--silver-300);
}

.gallerycard.imgpreview {
    height: 50%;

}

.gallerycard.textcontainer {
    padding: 0.5rem
}

#faux-window-controls {
    justify-content: space-between;
    display: flex;
    width: 100%;
    margin-bottom: 1rem;
}
#faux-window-controls img {
    width: 24px;
    height: 24px;
}
#faux-window-controls p {
    font-family: Mozilla Headline, sans-serif;
    margin: 4px;
    font-weight: bold;
}

/* ====================================================
   MISCELLANEOUS LAYOUT
   ==================================================== */
.masonry {
    margin-top: 1rem;
    max-width: 90vw;
    margin: 0 auto;
    margin-bottom: 4rem;
}

.grid-sizer {
    width: 100%;
    visibility: hidden;
    pointer-events: none;
}

.hidden {
    display: none;
}

/* ====================================================
   RESPONSIVE LAYOUT CHANGES
   ==================================================== */

@media (max-width: 809px) {
    .twoColumnGrid {
        grid-template-columns: repeat(1, 1fr);
        max-width: 90vw;
    }
}

@media (min-width: 832px) {
    .genContainer {
        width: 394px;
        background-color: var(--silver-100);
        padding: 2rem;
        gap: 0.5rem;
        box-shadow: 0 4px 6px var(--shadow-standard);
        border-radius: 0.5rem;
        border: 0.05rem solid rgba(0, 0, 0, 0.1);
        margin-bottom: 12px;
        box-sizing: border-box;
    }

    .jointRowWrapper {
        width: 394px;
        border-radius: 0.5rem;
        box-shadow: var(--typical-box-shadow);
    }

    .masonry {
        display: block;
        direction: 1tr;
        margin: 2rem auto;
        margin-bottom: 3rem;
        max-width: 800px;
        padding: 0 0.5rem;
    }

    .grid-sizer {
        display: none;
    }

    .photoCard {
        width: 394px;
    }

}

/* ====================================================
   WEBKIT/CHROMIUM BROWSERS SUCK!!!
   ==================================================== */

/* width */
::-webkit-scrollbar {
    width: 3px;
}

/* Track */
::-webkit-scrollbar-track {
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--silver-300);
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background-color: var(--silver-500);
}