:root { --bg-color: #050505; --text-color: #00f3ff; --card-bg: #0a0a0f; --accent-color: #ff00ff; --link-color: #ffd700; --mono-font: 'SFMono-Regular', Consolas, Menlo, monospace; } /* Prevent animations/transitions on initial load */ .preload * { -webkit-transition: none !important; -moz-transition: none !important; -ms-transition: none !important; -o-transition: none !important; transition: none !important; animation: none !important; } @keyframes pulse-trace { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } } @keyframes scan-line { 0% { transform: translateX(-150%) skewX(-45deg); opacity: 0; } 10% { opacity: 0.5; } 20% { transform: translateX(150%) skewX(-45deg); opacity: 0; } 100% { transform: translateX(150%) skewX(-45deg); opacity: 0; } } @keyframes grow-reveal { from { opacity: 0; max-height: 0; transform: scale(0.95); } /* Start fading in early so the flash effect has content to highlight */ 15% { opacity: 0.3; } to { opacity: 1; max-height: 1000px; /* Reduced to match content better and speed up animation */ transform: scale(1); } } @keyframes shrink-fade-away { /* New animation for shrinking */ from { opacity: 1; max-height: 1000px; transform: scale(1); } to { opacity: 0; max-height: 0; transform: scale(0.95); } } * { box-sizing: border-box; } body { margin: 0; font-family: var(--mono-font); background-color: var(--bg-color); background-image: radial-gradient(rgba(0, 243, 255, 0.15) 1px, transparent 1px); /* Grid background */ background-size: 24px 24px; color: var(--text-color); display: flex; justify-content: center; align-items: flex-start; min-height: 100vh; padding: 40px 20px; overflow-x: hidden; } .bento-grid { display: grid; max-width: 800px; gap: 24px; grid-template-columns: repeat(3, 1fr); } .card { background: var(--card-bg); padding: 24px; border: 0.2rem solid transparent; overflow: hidden; filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.3)) drop-shadow(0 0 30px rgba(0, 243, 255, 0.15)); position: relative; transition: all 0.3s ease; backface-visibility: hidden; /* Fixes potential text blur on rotated cards */ clip-path: polygon( 0 15px, 15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100% ); } /* Desktop-only effects: Shuffle and Gradient Borders */ @media (min-width: 769px) { .card { background: linear-gradient(var(--card-bg), var(--card-bg)) padding-box, linear-gradient(135deg, rgba(0, 243, 255, 0.4), rgba(255, 0, 255, 0.4)) border-box; } .card:hover { filter: drop-shadow(0 0 15px rgba(0, 243, 255, 0.5)) drop-shadow(0 0 50px rgba(0, 243, 255, 0.3)); background: linear-gradient(var(--card-bg), var(--card-bg)) padding-box, linear-gradient(135deg, rgba(0, 243, 255, 0.8), rgba(255, 0, 255, 0.8)) border-box; } /* Desktop Grid Spans */ .profile { grid-column: span 3; } .about { grid-column: span 2; } .interests { grid-column: span 1; } .contact { grid-column: span 1; } .links { grid-column: span 2; } .hiring-toggle { grid-column: span 3; } .cv-container { grid-column: span 3; } .experience { grid-column: span 2; } .skills { grid-column: span 1; } .education { grid-column: span 3; } /* Shuffle Logic */ .profile { transform: rotate(0.1deg); } .about { transform: translate(-4px, 2px) rotate(-0.5deg); } .interests { transform: translate(6px, -2px) rotate(0.4deg); } .links { transform: translate(-2px, -4px) rotate(-0.3deg); } .contact { transform: translate(4px, 6px) rotate(0.5deg); } .hiring-toggle { transform: translate(-2px, 3px) rotate(0.2deg); } .experience { transform: translate(3px, -2px) rotate(-0.2deg); } .skills { transform: translate(-3px, 4px) rotate(0.6deg); } .education { transform: translate(2px, 3px) rotate(-0.4deg); } } .experience, .skills, .education { display: none; /* Keep out of layout entirely when off */ opacity: 0; max-height: 0; overflow: hidden; pointer-events: none; } @media (max-width: 768px) { .card { border-color: rgba(0, 243, 255, 0.3); } .card:hover { border-color: rgba(0, 243, 255, 0.6); } } .profile { display: flex; align-items: center; gap: 32px; } .hiring-toggle { padding: 12px 24px; cursor: pointer; transition: transform 0.2s ease, filter 0.3s ease; } .hiring-toggle:hover { filter: brightness(1.2); transform: translate(-2px, 3px) rotate(0.2deg) scale(1.01); background: linear-gradient(var(--card-bg), var(--card-bg)) padding-box, linear-gradient(135deg, rgba(255, 0, 255, 0.6), rgba(0, 243, 255, 0.6)) border-box; } .hidden { display: none !important; } .reveal { display: block !important; pointer-events: auto; animation: grow-reveal 0.3s cubic-bezier(0.16, 1, 0.3, 1) both; transition: none !important; will-change: opacity, max-height, transform; backface-visibility: hidden; } .fade-out { display: block !important; /* This class will be applied when content is being hidden */ animation: shrink-fade-away 0.3s cubic-bezier(0.16, 1, 0.3, 1) both; transition: none !important; will-change: opacity, max-height, transform; backface-visibility: hidden; } .shifting { filter: blur(1px) grayscale(0.8) brightness(0.7); z-index: 10; pointer-events: none !important; transition: filter 0.5s ease; } /* CV Specific Content Styles */ .cv-section { background: rgba(0, 243, 255, 0.03); border: 1px solid rgba(0, 243, 255, 0.15); padding: 20px; margin-top: 15px; clip-path: polygon( 0 10px, 10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100% ); transition: all 0.3s ease; } .cv-section:hover { background: rgba(0, 243, 255, 0.07); border-color: rgba(0, 243, 255, 0.3); } .cv-item { margin-bottom: 20px; border-left: 2px solid rgba(0, 243, 255, 0.2); padding-left: 15px; } .cv-item:last-child { margin-bottom: 0; } .cv-item-header, .cv-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; } .address.mono-addr { font-style: normal; margin-bottom: 15px; } .cv-title { margin: 0; font-weight: bold; color: #fff; font-size: 1rem; } .cv-date { font-size: 0.7rem; color: var(--accent-color); } .cv-org { margin: 0 0 8px 0; font-size: 0.8rem; color: var(--link-color); } .cv-desc { margin: 0; font-size: 0.85rem; line-height: 1.4; opacity: 0.9; } .cv-modified { text-align: right; font-size: 0.7rem; opacity: 0.5; margin-top: 0px; margin-bottom: 1rem; font-family: var(--mono-font); } .skill-categories { display: flex; flex-direction: column; gap: 2rem; padding: 1rem 0; } .skill-group h3 { font-size: 0.6rem; text-transform: uppercase; opacity: 0.4; letter-spacing: 3px; margin-bottom: 0.75rem; text-align: center; color: var(--text-color); } .skill-tags { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: center; align-items: center; } .tag { display: inline-block; opacity: 0; transform: translateX(-5px); transition: opacity 0.4s ease, transform 0.4s ease; } .reveal .tag { opacity: 1; transform: translateX(0); } .profile::before { content: ""; position: absolute; top: 0; left: 0; width: 60px; height: 100%; background: linear-gradient(90deg, transparent, rgba(0, 243, 255, 0.2), transparent); animation: scan-line 4s infinite linear; pointer-events: none; } .link-grid { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; } .link-grid a { font-size: 0.75rem; display: block; padding: 8px; border-left: 3px solid var(--text-color); color: var(--link-color); background: rgba(0, 243, 255, 0.15); /* Increased alpha for better visibility */ text-align: center; transition: all 0.2s ease; border: 1px solid rgba(0, 243, 255, 0.3); border-left: 3px solid var(--text-color); text-shadow: 0 0 5px rgba(255, 215, 0, 0.3); } .link-grid a:hover { background: rgba(0, 243, 255, 0.25); border-left-color: var(--accent-color); box-shadow: 0 0 15px var(--accent-color); transform: translateY(-2px); } /* Specific styling for the small contact buttons */ .contact .link-grid { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); margin-top: 15px; } .links::after { content: ""; position: absolute; top: 10px; right: 10px; width: 10px; height: 10px; background: var(--link-color); box-shadow: 0 0 15px 2px var(--link-color); border-radius: 50%; animation: pulse-trace 1s infinite; } /* Cyberpunk Toggle Switch */ .cv-toggle-container { display: flex; align-items: center; justify-content: space-between; width: 100%; font-size: 0.85rem; color: var(--accent-color); text-shadow: 0 0 10px var(--accent-color); text-transform: uppercase; letter-spacing: 4px; font-weight: bold; } .cv-mode .cv-toggle-container span { color: #fff; } .switch { position: relative; display: inline-block; width: 40px; height: 20px; } .switch input { opacity: 0; width: 0; height: 0; } .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(255, 0, 255, 0.2); transition: .4s; border: 1px solid var(--accent-color); } .slider:before { position: absolute; content: ""; height: 12px; width: 12px; left: 4px; bottom: 3px; background-color: var(--accent-color); transition: .4s; box-shadow: 0 0 10px var(--accent-color); } input:checked + .slider { background-color: rgba(0, 243, 255, 0.2); border-color: var(--text-color); } input:checked + .slider:before { transform: translateX(20px); background-color: var(--text-color); box-shadow: 0 0 10px var(--text-color); } .avatar { width: 120px; height: 160px; /* Explicit height for aspect ratio 3:4 */ object-fit: cover; filter: brightness(0.8) contrast(1.2) sepia(1) hue-rotate(140deg); border: 1px solid var(--text-color); } h1 { margin: 0; font-size: clamp(1.5rem, 5vw, 2.2rem); color: #fff; } h2 { font-size: 0.75rem; text-transform: uppercase; color: var(--accent-color); text-shadow: 0 0 8px var(--accent-color); margin-bottom: 16px; margin-top: 0; letter-spacing: 2px; } a { color: var(--link-color); text-decoration: none; } @media (max-width: 768px) { .bento-grid { grid-template-columns: 1fr; } .profile, .about, .interests, .links, .contact, .experience, .skills, .education { grid-column: span 1; } .profile { flex-direction: column; text-align: center; } }