121 lines
3.2 KiB
CSS
121 lines
3.2 KiB
CSS
:root {
|
|
--bg-color: #050505;
|
|
--text-color: #00f3ff;
|
|
--card-bg: #0a0a0f;
|
|
--accent-color: #ff00ff;
|
|
--link-color: #ffd700;
|
|
--shadow: 0 0 20px rgba(0, 243, 255, 0.1);
|
|
--mono-font: 'SFMono-Regular', Consolas, Menlo, monospace;
|
|
}
|
|
|
|
@keyframes pulse-trace {
|
|
0%, 100% { opacity: 0.3; }
|
|
50% { opacity: 1; }
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: var(--mono-font);
|
|
background-color: var(--bg-color);
|
|
background-image: radial-gradient(rgba(19, 69, 72, 0.21) 1px, transparent 1px);
|
|
background-size: 18px 18px;
|
|
color: var(--text-color);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
min-height: 100vh;
|
|
padding: 20px;
|
|
}
|
|
|
|
.bento-grid {
|
|
display: grid;
|
|
max-width: 900px;
|
|
gap: 24px;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
}
|
|
|
|
.card {
|
|
background: var(--card-bg);
|
|
padding: 24px;
|
|
border: 1px solid rgba(0, 243, 255, 0.15);
|
|
box-shadow: var(--shadow);
|
|
position: relative;
|
|
backface-visibility: hidden; /* Fixes potential text blur on rotated cards */
|
|
/* Chamfered tech-cut corners */
|
|
clip-path: polygon(
|
|
0 15px, 15px 0,
|
|
100% 0,
|
|
100% calc(100% - 15px), calc(100% - 15px) 100%,
|
|
0 100%
|
|
);
|
|
}
|
|
|
|
.profile { grid-column: span 4; display: flex; align-items: center; gap: 32px; }
|
|
|
|
/* Organic Displacement */
|
|
.about { grid-column: span 2; transform: translate(-8px, 4px) rotate(-0.4deg); }
|
|
.interests { grid-column: span 2; transform: translate(12px, 8px) rotate(0.6deg); }
|
|
.links { grid-column: span 2; transform: translate(-4px, -6px) rotate(-0.3deg); }
|
|
.contact { grid-column: span 2; transform: translate(6px, -12px) rotate(0.5deg); }
|
|
|
|
/* Navigation Blink - Restricted to the navigation card only */
|
|
.links::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 10px; right: 10px;
|
|
width: 6px; height: 6px;
|
|
background: var(--link-color);
|
|
box-shadow: 0 0 10px var(--link-color);
|
|
border-radius: 50%;
|
|
animation: pulse-trace 1s infinite;
|
|
}
|
|
|
|
.avatar {
|
|
width: 120px;
|
|
height: 160px; /* Explicit height for aspect ratio 3:4 */
|
|
object-fit: cover;
|
|
filter: brightness(1.2) 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;
|
|
text-shadow: 2px 2px 0 var(--accent-color), -2px -2px 0 var(--text-color);
|
|
}
|
|
|
|
h2 {
|
|
font-size: 0.75rem;
|
|
text-transform: uppercase;
|
|
color: var(--accent-color);
|
|
margin-bottom: 16px;
|
|
margin-top: 0;
|
|
letter-spacing: 2px;
|
|
}
|
|
|
|
.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(255, 255, 255, 0.02);
|
|
text-align: center;
|
|
}
|
|
|
|
a { color: var(--link-color); text-decoration: none; }
|
|
|
|
@media (max-width: 768px) {
|
|
.bento-grid { grid-template-columns: 1fr; }
|
|
.profile, .about, .interests, .links, .contact {
|
|
grid-column: span 1;
|
|
transform: none;
|
|
}
|
|
.profile { flex-direction: column; text-align: center; }
|
|
}
|