FILES: - index.html - assets/style.css - assets/script.js --- path: index.html --- Enzo M. · creative developer

Enzo M.

creative technologist · code & design

building minimal, expressive things for the web.

see work ↓

selected projects

flow state

ambient sound visualizer – web audio + canvas

grid garden

css playground for learning flex & grid

chrono·log

tiny journaling pwa with markdown

say hello

drop me a line – i’m open to ideas & collaboration.

✉️ hello@enzom.duckdns.org
--- path: assets/style.css --- /* -------------------- RESET & VARIABLES -------------------- */ * { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; } body { font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif; line-height: 1.6; background-color: #fafaf8; color: #1e1e2a; transition: background-color 0.3s, color 0.3s; padding: 0 1.5rem; } @media (prefers-color-scheme: dark) { body { background-color: #16161e; color: #ececf0; } } /* -------------------- TYPOGRAPHY & SPACING -------------------- */ h1 { font-size: clamp(2.8rem, 10vw, 4.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; } h2 { font-size: 2rem; font-weight: 500; margin-bottom: 2rem; border-bottom: 2px solid currentColor; display: inline-block; padding-bottom: 0.25rem; } h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 0.5rem; } p { margin-bottom: 1rem; max-width: 60ch; } a { color: inherit; text-decoration: none; } /* -------------------- HERO -------------------- */ .hero { min-height: 85vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1rem; } .glitch { position: relative; animation: glitch-skew 4s infinite linear alternate-reverse; } @keyframes glitch-skew { 0% { transform: skew(0deg); } 20% { transform: skew(2deg); } 40% { transform: skew(-2deg); } 60% { transform: skew(1deg); } 80% { transform: skew(-1deg); } 100% { transform: skew(0deg); } } .tagline { font-size: 1.3rem; opacity: 0.85; font-weight: 300; letter-spacing: 0.5px; } .about-line { font-size: 1.2rem; background: linear-gradient(145deg, #2563eb, #7c3aed); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 500; } @media (prefers-color-scheme: dark) { .about-line { background: linear-gradient(145deg, #60a5fa, #a78bfa); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } } .cta-button { display: inline-block; margin-top: 1rem; padding: 0.8rem 2rem; border: 2px solid currentColor; border-radius: 3rem; font-weight: 600; transition: 0.25s ease; } .cta-button:hover { background: #1e1e2a; color: #fafaf8; border-color: #1e1e2a; } @media (prefers-color-scheme: dark) { .cta-button:hover { background: #ececf0; color: #16161e; border-color: #ececf0; } } /* -------------------- PROJECTS -------------------- */ .projects { padding: 4rem 0; } .card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; margin-top: 2rem; } .card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(4px); border-radius: 2rem; padding: 2rem 1.5rem; box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1); border: 1px solid rgba(0, 0, 0, 0.05); transition: transform 0.2s ease, box-shadow 0.2s ease; } @media (prefers-color-scheme: dark) { .card { background: rgba(30, 30, 40, 0.8); border: 1px solid rgba(255, 255, 255, 0.05); box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.5); } } .card:hover { transform: translateY(-6px); box-shadow: 0 25px 40px -10px rgba(37, 99, 235, 0.3); } .card-content h3 { margin-bottom: 0.5rem; } .card-content p { font-size: 0.95rem; opacity: 0.8; } /* -------------------- CONTACT -------------------- */ .contact { padding: 4rem 0; text-align: center; } .mail-link { display: inline-block; font-size: 1.3rem; padding: 0.75rem 2rem; border-radius: 4rem; background: #1e1e2a; color: #fafaf8; transition: 0.2s; } @media (prefers-color-scheme: dark) { .mail-link { background: #ececf0; color: #16161e; } } .mail-link:hover { filter: invert(1); } /* -------------------- FOOTER -------------------- */ footer { padding: 3rem 0 2rem; border-top: 1px dashed rgba(0,0,0,0.2); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-align: center; font-size: 0.9rem; opacity: 0.7; } @media (prefers-color-scheme: dark) { footer { border-top: 1px dashed rgba(255,255,255,0.2); } } .easter-hint code { background: rgba(0,0,0,0.1); padding: 0.2rem 0.4rem; border-radius: 0.3rem; } /* -------------------- UTILS -------------------- */ section { max-width: 1000px; margin: 0 auto; } --- path: assets/script.js --- (function() { // ---------- simple easter egg: type "enzom" ---------- const targetSequence = ['e', 'n', 'z', 'o', 'm']; let index = 0; window.addEventListener('keydown', (e) => { // ignore if typing in input/textarea if (e.target.matches('input, textarea, [contenteditable]')) return; const key = e.key.toLowerCase(); if (key === targetSequence[index]) { index++; if (index === targetSequence.length) { // easter egg triggered alert('✨ you found the easter egg! ✨\n"code is poetry" – enzo'); index = 0; // reset // optional: add a little visual flair document.body.style.transition = 'background-color 0.5s'; document.body.style.backgroundColor = getComputedStyle(document.body).backgroundColor.includes('26') ? '#2a1e3a' : '#f0e6d2'; setTimeout(() => { document.body.style.backgroundColor = ''; }, 600); } } else { index = 0; // reset on wrong key } }); // ---------- small hover bonus for footer ---------- const footer = document.querySelector('footer'); if (footer) { footer.addEventListener('mouseenter', () => { const hint = footer.querySelector('.easter-hint'); if (hint) hint.style.opacity = '1'; }); footer.addEventListener('mouseleave', () => { const hint = footer.querySelector('.easter-hint'); if (hint) hint.style.opacity = '0.7'; }); } // ---------- smooth scroll for anchor links (fallback) ---------- document.querySelectorAll('a[href^="#"]').forEach(anchor => { anchor.addEventListener('click', function(e) { const href = this.getAttribute('href'); if (href === '#') return; const target = document.querySelector(href); if (target) { e.preventDefault(); target.scrollIntoView({ behavior: 'smooth' }); } }); }); })();