Google Stitch: DESIGN.md
# 1. Visual Theme & Atmosphere
The 'Matt Tutorials Personal Brand Website' design system embraces a **modern, premium aesthetic** rooted in deep purples, teals, and sophisticated neutrals. It evokes a sense of professionalism paired with creative energy—ideal for design education and creative tools. The visual language balances bold, italicized headlines with restrained, spacious layouts. A gradient-infused background (deep teal to purple) creates depth and movement, while minimal borders and soft shadows maintain elegance. The system prioritizes clarity and focus, with generous whitespace allowing content to breathe. This is a design system for forward-thinking creators who value structure, process, and confidence in their work.
**Key Characteristics**
- Deep, rich color palette anchored by purples and teals
- Generous whitespace and breathing room between elements
- Italicized, large-scale headlines for visual impact
- Minimal borders with subtle elevation via shadows
- Accessible neutral contrast for long-form reading
- Premium feel through restrained use of accent colors
- Mobile-first responsive strategy with flexible spacing
## 2. Color Palette & Roles
### Primary
- **Primary Purple** (`#7A64FF`): Core interactive and CTA elements; buttons, links, and primary actions
- **Secondary Purple** (`#535069`): Mid-tone supporting UI; used in secondary text and subtle accents
### Accent Colors
- **Hot Pink** (`#F43273`): High-attention alerts, emphasis, and standout CTAs
- **Cyan Accent** (`#53D1E3`): Complementary accent for highlights and secondary CTAs
### Interactive
- **Interactive Purple** (`#7A64FF`): Primary button backgrounds, link text, active states
- **Interactive Hover** (`#6B52E6`): Darkened purple for button hover states
### Neutral Scale
- **Text Primary** (`#333333`): Main body text, high contrast reading
- **Text Secondary** (`#697177`): Dimmed text, captions, helper text
- **Text Tertiary** (`#888888`): Disabled text, metadata
- **Pure White** (`#FFFFFF`): Light text on dark backgrounds, contrast elements
- **Light Gray** (`#CDCBDE`): Subtle dividers and borders
### Surface & Borders
- **Surface Light** (`#F6F5FC`): Light section backgrounds, gentle container fill
- **Surface Dark** (`#1F2124`): Dark section backgrounds, page overlays
- **Deep Charcoal** (`#081E21`): Darkest backgrounds and containers
- **Border Light** (`#CBC8DF`): Subtle card and container borders
- **Border Subtle** (`#DCE1E5`): Ultra-light dividers and separators
### Semantic / Status
- **Error Red** (`#CF2E2E`): Error states, validation failures, critical alerts
- **Warning Yellow** (`#FCB900`): Warning states and cautionary messaging
## 3. Typography Rules
### Font Family
- **Primary Font:** OPSA CON v2 (serif/display; italic for headlines)
- **Secondary Font:** POPP (sans-serif; body, UI, and interactive text)
- **Fallback Stack:** `'POPP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif`
### Hierarchy
| Role | Font | Size | Weight | Line Height | Letter Spacing | Notes |
|------|------|------|--------|-------------|----------------|-------|
| Display (H1) | OPSA CON v2 | 64px | 500 | 76.8px | 0px | Hero titles, page headers; typically italicized |
| Heading (H2) | POPP | 20px | 700 | 20px | 0px | Section labels, category markers |
| Heading (H3) | OPSA CON v2 | 32px | 500 | 41.6px | 0px | Subsection titles, course modules |
| Heading (H4) | POPP | 18px | 700 | 28.8px | 0px | Card titles, component headings |
| Body Text | POPP | 15px | 700 | 22.5px | 0px | Default paragraph text |
| Body Regular | POPP | 16px | 400 | 32px | 0px | Extended body copy, descriptions |
| Link Text | POPP | 16px | 700 | 32px | 0px | Inline and standalone links |
| Button Text | POPP | 16px | 700 | 32px | 0px | Button labels and CTAs |
| Caption | POPP | 14px | 400 | 20px | 0px | Fine print, metadata, helper text |
### Principles
- **Display hierarchy:** OPSA CON v2 is reserved for headlines only, creating strong visual distinction
- **Readability:** Body text uses POPP at 15–16px with generous line height for accessibility
- **Emphasis:** Bold weight (700) reserved for headings, buttons, and key interactive elements
- **Spacing:** Large line height (1.5–2.4x font size) ensures breathing room and reduces cognitive load
- **Contrast:** Pair dark text on light backgrounds with white text on dark brand colors for maximum accessibility
## 4. Component Stylings
### Buttons
#### Primary Button
- **Background:** `#7A64FF`
- **Text Color:** `#FFFFFF`
- **Font:** POPP, 16px, weight 700
- **Padding:** `15px 40px`
- **Border Radius:** `8px`
- **Height:** `52px` (min)
- **Border:** None
- **Box Shadow:** None
- **Hover State:** Background `#6B52E6`, no shadow change
- **Active State:** Background `#5A41D9`
- **Disabled State:** Background `#CDCBDE`, Text `#888888`, opacity `0.6`
#### Secondary Button
- **Background:** `rgba(255, 255, 255, 0)`
- **Text Color:** `#7A64FF`
- **Font:** POPP, 16px, weight 400
- **Padding:** `10px 25px`
- **Border Radius:** `8px`
- **Height:** `52px` (min)
- **Border:** `2px solid #7A64FF`
- **Box Shadow:** None
- **Hover State:** Background `rgba(122, 100, 255, 0.1)`, Text `#6B52E6`
#### Ghost Button
- **Background:** `rgba(255, 255, 255, 0)`
- **Text Color:** `#7A64FF`
- **Font:** POPP, 16px, weight 400
- **Padding:** `0px 0px`
- **Border Radius:** `0px`
- **Height:** Auto
- **Border:** None
- **Box Shadow:** None
- **Hover State:** Text `#6B52E6`, underline decoration added
### Cards & Containers
#### Card Outlined
- **Background:** `rgba(255, 255, 255, 0.05)`
- **Text Color:** `#333333`
- **Font:** POPP, 16px, weight 400
- **Padding:** `40px 40px`
- **Border Radius:** `10px`
- **Border:** `1px solid rgba(203, 200, 223, 0.09)`
- **Box Shadow:** `rgba(255, 255, 255, 0) 0px 0px 10px 0px`
- **Min Height:** `208px`
- **Hover State:** Border color to `rgba(122, 100, 255, 0.2)`, subtle lift
#### Card Transparent
- **Background:** `rgba(255, 255, 255, 0)`
- **Text Color:** `#333333`
- **Font:** POPP, 16px, weight 400
- **Padding:** `0px`
- **Border Radius:** `10px`
- **Border:** None
- **Box Shadow:** None
- **Min Height:** `208px`
#### Card with Background
- **Background:** `rgba(255, 255, 255, 0.05)`
- **Text Color:** `#333333`
- **Font:** POPP, 16px, weight 400
- **Padding:** `40px 40px`
- **Border Radius:** `0px`
- **Border:** None
- **Box Shadow:** None
- **Min Height:** `208px`
### Inputs & Forms
#### Text Input
- **Background:** `#FFFFFF`
- **Text Color:** `#333333`
- **Font:** POPP, 16px, weight 400
- **Padding:** `12px 16px`
- **Border Radius:** `6px`
- **Border:** `1px solid #CDCBDE`
- **Height:** `44px` (min)
- **Focus State:** Border `#7A64FF`, box shadow `0px 0px 0px 3px rgba(122, 100, 255, 0.1)`
- **Error State:** Border `#CF2E2E`, text color `#CF2E2E`
- **Disabled State:** Background `#F6F5FC`, Text `#888888`, opacity `0.5`
#### Textarea
- **Background:** `#FFFFFF`
- **Text Color:** `#333333`
- **Font:** POPP, 16px, weight 400
- **Padding:** `12px 16px`
- **Border Radius:** `6px`
- **Border:** `1px solid #CDCBDE`
- **Min Height:** `120px`
- **Focus State:** Border `#7A64FF`, box shadow `0px 0px 0px 3px rgba(122, 100, 255, 0.1)`
#### Label
- **Font:** POPP, 14px, weight 700
- **Text Color:** `#333333`
- **Margin Bottom:** `8px`
### Navigation
#### Nav Link
- **Font:** POPP, 16px, weight 400
- **Text Color:** `#333333`
- **Padding:** `12px 20px`
- **Border Radius:** `6px`
- **Background:** `rgba(255, 255, 255, 0)`
- **Hover State:** Background `rgba(122, 100, 255, 0.1)`, Text `#7A64FF`
- **Active State:** Background `#7A64FF`, Text `#FFFFFF`, font weight 700
#### Breadcrumb
- **Font:** POPP, 14px, weight 400
- **Text Color:** `#697177`
- **Separator:** `/` in `#CDCBDE`
- **Active Item Color:** `#333333`
- **Hover State:** Text `#7A64FF`
### Badges
- **Background:** `rgba(122, 100, 255, 0.15)`
- **Text Color:** `#7A64FF`
- **Font:** POPP, 12px, weight 700
- **Padding:** `4px 12px`
- **Border Radius:** `12px`
- **Border:** None
#### Badge Filled
- **Background:** `#7A64FF`
- **Text Color:** `#FFFFFF`
#### Badge Error
- **Background:** `rgba(207, 46, 46, 0.15)`
- **Text Color:** `#CF2E2E`
### Tabs
- **Background:** `rgba(255, 255, 255, 0)`
- **Border Bottom:** `2px solid #CDCBDE`
- **Font:** POPP, 16px, weight 400
- **Text Color:** `#697177`
- **Padding:** `16px 24px`
- **Active Tab Border:** `2px solid #7A64FF`
- **Active Tab Text:** `#333333`, weight 700
## 5. Layout Principles
### Spacing System
**Base Unit:** `4px`
**Scale:**
- `4px` – Tight gaps between inline elements
- `8px` – Small margin between closely related items
- `12px` – Input padding, tight component spacing
- `16px` – Standard margin, comfortable spacing
- `20px` – Section gap, breathing room
- `24px` – Generous padding within cards
- `32px` – Large section spacing
- `40px` – Card and container padding
- `48px` – Section divider spacing
- `64px` – Major section padding
- `80px` – Hero section padding
- `112px` – Extra-large section padding
**Usage Context:**
- Inline elements: `4px–8px`
- Component padding: `12px–16px`
- Card/container interiors: `24px–40px`
- Section separators: `48px–80px`
- Page margins: `16px–40px` (responsive)
### Grid & Container
- **Max Width:** `1200px` (content container)
- **Page Margin:** `40px` (desktop), `20px` (tablet), `16px` (mobile)
- **Column Strategy:** 12-column flexible grid; responsive collapse to 6 columns (tablet) and single column (mobile)
- **Gutter:** `20px` between columns
- **Section Patterns:** Full-width sections with centered max-width content container; alternating background colors for visual distinction
### Whitespace Philosophy
Whitespace is treated as an active design element—not merely empty space but a tool for focus and hierarchy. Generous margins around headlines and calls-to-action ensure they command attention. Paragraph text is surrounded by breathing room to reduce cognitive load. Sections are clearly delineated by spacing rather than borders, creating a sense of flow and elegance. Interactive elements are never crowded; every button and input field has adequate padding and external spacing.
### Border Radius Scale
- `0px` – Full-width sections, edge-aligned layouts
- `6px` – Input fields, small UI controls
- `8px` – Button corners, small cards
- `8px 8px 0px 0px` – Top-rounded images in cards
- `10px` – Standard card containers, major UI blocks
- `12px` – Badge and pill-shaped components
- `20px` – Large rounded containers, prominent cards
## 6. Depth & Elevation
| Level | Treatment | Use |
|-------|-----------|-----|
| Flat | No shadow; `box-shadow: none` | Card outlines with borders; flat UI sections |
| Subtle | `rgba(255, 255, 255, 0) 0px 0px 10px 0px` | Card soft glow; minimal elevation |
| Raised | `0px 4px 12px rgba(0, 0, 0, 0.08)` | Interactive hover states, slight lift |
| Elevated | `0px 12px 24px rgba(0, 0, 0, 0.12)` | Modal overlays, floating panels |
| High | `0px 20px 40px rgba(0, 0, 0, 0.15)` | Dropdowns, tooltips, overlay dialogs |
**Shadow Philosophy:** Shadows in this system are extremely subtle and rarely used, reinforcing the minimalist aesthetic. Instead of heavy shadows, the design relies on borders, background colors, and whitespace for visual hierarchy. When shadows do appear, they use low-opacity black or white, creating a soft glow rather than sharp depth. This maintains the system's premium, clean feel while ensuring accessibility and reduced visual clutter.
## 7. Do's and Don'ts
### Do
- Use `#7A64FF` for all primary CTAs and interactive elements; consistency builds trust
- Pair `#333333` text with light backgrounds and `#FFFFFF` text with dark backgrounds for WCAG AA compliance
- Employ OPSA CON v2 exclusively for headlines—never for body text or UI labels
- Maintain at least `16px` line height for all body text to ensure readability
- Surround interactive elements with `16px` minimum padding and external spacing
- Use the full spacing scale; avoid arbitrary pixel values not in the scale
- Apply border radius `8px–10px` to cards, buttons, and form elements for consistency
- Reserve `#F43273` (hot pink) for critical alerts and high-priority CTAs only
- Include descriptive labels, hints, and error messages for all form inputs
- Test all interactive states (hover, active, focus, disabled) on both light and dark backgrounds
### Don't
- Mix OPSA CON v2 and POPP in headlines; choose one per heading level
- Use `#333333` on `#081E21` or other very dark backgrounds—insufficient contrast
- Exceed `64px` padding on standard containers; it creates excessive whitespace
- Apply multiple box shadows to a single element; use the elevation scale instead
- Use secondary accent colors (`#F43273`, `#53D1E3`) for UI chrome; reserve for emphasis only
- Create custom border radius values outside the scale (`0px, 6px, 8px, 10px, 12px, 20px`)
- Set line height below `1.5x` font size for body text; readability suffers
- Forget to include `:focus` states for keyboard navigation on all interactive elements
- Overcomplicate forms with unnecessary fields; every input must serve the user goal
- Deploy gradients on text or critical UI elements; keep them reserved for backgrounds only
## 8. Responsive Behavior
### Breakpoints
| Name | Width | Key Changes |
|------|-------|-------------|
| Mobile | < 640px | Single column, `16px` padding, full-width buttons, `12px` gap, `32px` section padding |
| Tablet | 640px–1024px | 2 columns, `24px` padding, stacked CTAs, `16px` gap, `48px` section padding |
| Desktop | > 1024px | 12-column grid, `40px` padding, side-by-side layouts, `20px` gap, `64px` section padding |
### Touch Targets
- **Minimum Height:** `44px` for all interactive elements (buttons, inputs, links)
- **Minimum Width:** `44px` for icon buttons
- **Minimum Padding:** `12px` around text-only interactive regions
- **Spacing Between Targets:** `12px` minimum separation to avoid accidental activation
- **Font Size:** Never below `14px` on small screens; readable without zoom
### Collapsing Strategy
- **Navigation:** Hamburger menu on mobile (< 768px); horizontal nav bar on tablet+
- **Cards:** Full-width single-column on mobile; 2-column grid on tablet; 3–4 column grid on desktop
- **Buttons:** Full-width on mobile; inline `auto` width on tablet+
- **Modals:** Full-screen minus `16px` margins on mobile; centered max-width `600px` on desktop
- **Images:** `max-width: 100%` with `height: auto`; never expand beyond container
- **Typography:** Reduce headline size by `12px` on mobile; maintain baseline body size (`16px`)
- **Spacing:** Halve section padding on mobile (e.g., `64px` becomes `32px`); scale linearly to tablet
## 9. Agent Prompt Guide
### Quick Color Reference
- **Primary CTA:** Interactive Purple (`#7A64FF`) – buttons, primary links, interactive elements
- **Secondary CTA:** Cyan Accent (`#53D1E3`) – secondary actions, supporting CTAs
- **Alert/Danger:** Error Red (`#CF2E2E`) – validation errors, critical messages
- **Warning:** Warning Yellow (`#FCB900`) – cautionary alerts, informational warnings
- **Text (Primary):** Text Primary (`#333333`) – main body and headings on light backgrounds
- **Text (Contrast):** Pure White (`#FFFFFF`) – text on dark backgrounds, high contrast
- **Background (Light):** Surface Light (`#F6F5FC`) – light section backgrounds, subtle fills
- **Background (Dark):** Deep Charcoal (`#081E21`) – dark section backgrounds, overlays
- **Border/Divider:** Border Light (`#CBC8DF`) – card borders, subtle separators
- **Accent Secondary:** Secondary Purple (`#535069`) – supporting UI, mid-tone text
### Iteration Guide
1. **Color Consistency:** All primary interactive elements use `#7A64FF`. Never use a different purple or blue for buttons without explicit override.
2. **Typography Lock-In:** Headlines are OPSA CON v2 at sizes `32px` (H3) or `64px` (H1); all body and UI text is POPP at `15px–16px`. No exceptions.
3. **Spacing Snap:** All spacing must align to the scale (`4px, 8px, 12px, 16px, 20px, 24px, 32px, 40px, 48px, 64px, 80px, 112px`). Use CSS `gap` and `margin` properties; never hardcode arbitrary values.
4. **Padding & Borders:** Cards and containers use `40px` padding; form inputs use `12px` padding; all components use `border-radius: 8px–10px`. Borders are `1px solid` with colors from the Border Light scale.
5. **Focus & Accessibility:** Every interactive element has explicit `:focus` styles. Focus rings are `3px` offset, using `rgba(122, 100, 255, 0.2)` background. Links and buttons are keyboard-navigable.
6. **Elevation Minimalism:** Shadows are nearly invisible; use `rgba(255, 255, 255, 0) 0px 0px 10px 0px` for cards only. Prefer borders and whitespace over box shadows.
7. **Responsive Collapse:** At mobile (< 640px), all section padding becomes `32px`, button width becomes `100%`, and layouts collapse to single column. Test all breakpoints.
8. **Line Height Readability:** All body text has `line-height: 1.5–2x` font size. Headlines have `line-height: 1.3x`. Never compress line height below `1.2x`.
9. **Semantic Colors:** Use `#CF2E2E` for errors only; use `#FCB900` for warnings only. Do not repurpose these colors for generic UI.
10. **Hover & Active:** All buttons and links have distinct `:hover` and `:active` states. Hover states use slightly darker or lighter variants; active states show full `0.2` opacity change. No state should be ambiguous.
Google Stitch: The Master Prompt
The Matt Tutorials Personal Brand Hub
Reference: Use the attached DESIGN.md as the strict source of truth for all CSS values, spacing, and typography.
1. CORE BRAND ANCHORS (High Priority)
Atmosphere: Premium, deep atmospheric depth using the Deep Charcoal-to-Purple gradient defined in DESIGN.md.
Typography: Strict adherence to OPSA CON v2 (Italic) for H1/H3 and POPP for all UI/Body text.
Interactive: Use Interactive Purple (#7A64FF) for all primary actions and Hot Pink (#F43273) for high-attention emphasis.
2.. GLOBAL LAYOUT & NAVIGATION
Desktop: Navigation menu on top with a blur-background sticky effect.
Mobile: App-like experience with a navigation tab bar docked on bottom.
3. PAGE-SPECIFIC ARCHITECTURE
Here you can see different pages and their content:
"Current": Typography-focused Hero on top; blocks for current projects, current books and current interests.
"Professional": Grid-based resume with vertical time-frame. Structure: Implement a central, vertical timeline structure exactly following hierarchy. This section must feature a main header block followed by alternating timeline segments. Header (Top Section): A centered section title (e.g., "Resume" or "Experience") using H1 OPSA CON v2 (Italic) with a centered semantic badge (e.g., "Preview") above it. Timeline Axis: A central, continuous vertical line running down the middle of the page, anchored by large circular nodes for major milestones. Nodes: The nodes on the axis should use the standard outlined card styling (rgba(255, 255, 255, 0.05) background and low-opacity border rgba(203, 200, 223, 0.09)). The content alternates horizontally from the node: Standard Timeline Segment 1 (e.g., Job 1): Timeline Text (H3 OPSA CON v2) on the LEFT of the axis; detailed job description (Card Outlined) on the RIGHT. Standard Timeline Segment 2 (e.g., Job 2): Job details (Card Outlined) on the LEFT; Timeline Text (H3 OPSA CON v2) on the RIGHT.
"Digital Garden": A 3D bookshelf UI where each blog post appears as a physical book volume with visible thickness. Use skewed Y-axis rotation to create a deep perspective. On hover, the 'book' should straighten and lift toward the user.
"Hobby Vault": Masonry photo gallery (10px rounded corners).
"Media Kit": Statistical dashboard with "Live" metric counters.
"Contact": Simple clean page with a single line flow-like form that ask questions one-at-a-time.
4. CONTENT PLACEHOLDERS
Name: [INSERT_NAME_HERE] (e.g., Matt Tutorials)
Personal Projects: [INSERT_PROJECTS] (e.g., Marathon of NY, Holiday to Greece)
Interests: [INSERT_TOPICS] (e.g., Home Automation, Top Movies and shows)
n)
Resume: Added (e.g., upload a PDF or .docx file to Stitch)
Google Antigravity: The Master Prompt
In this folder you will find designs of different pages all in a different subfolders. The end goal is to create a fully working website with GSAP animations from all these designs. Here is how to do it:
Configure next.config.js for output: 'export'. This ensures the build is hosting-agnostic (Static Site Generation).
Tech Stack: Next.js (latest), Tailwind CSS, TypeScript.
Context: Root contains design.md. Page subfolders contain .html and .png exports from Google Stitch.
Phase A (Extraction): Scan all folders to identify recurring UI patterns (buttons, nav, cards) and create shared components in /components.
Phase B (Conversion): Convert the .html and .png per folder into responsive React pages. Use the .png as the 'Visual Source of Truth' for styling.
For easy upload, make sure to put the entire export of all needed files to a hosting company in a new folder called "export".
