1884 lines
33 KiB
CSS
1884 lines
33 KiB
CSS
*,
|
|
*::before,
|
|
*::after {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
:root {
|
|
--bg-primary: #0a0a0b;
|
|
--bg-secondary: #111113;
|
|
--bg-card: #18181b;
|
|
--border: #27272a;
|
|
--text-primary: #fafafa;
|
|
--text-secondary: #a1a1aa;
|
|
--text-muted: #71717a;
|
|
--accent: #eab308;
|
|
--accent-hover: #facc15;
|
|
--accent-glow: rgba(234, 179, 8, 0.15);
|
|
--gradient-1: linear-gradient(135deg, #eab308, #ca8a04, #a16207);
|
|
--gradient-2: linear-gradient(135deg, #eab308, #ca8a04);
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: var(--border) var(--bg-primary);
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
background: var(--bg-primary);
|
|
color: var(--text-primary);
|
|
line-height: 1.6;
|
|
overflow-x: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
/* Server Rack Background */
|
|
.server-rack-bg {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
pointer-events: none;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.rack-container {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 100px;
|
|
transform: translateX(-50%);
|
|
width: 680px;
|
|
transition: transform 0.1s linear, opacity 0.5s ease;
|
|
opacity: 0.4;
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.rack-container.opaque {
|
|
opacity: 1;
|
|
}
|
|
|
|
.rack-top-bar {
|
|
width: 100%;
|
|
height: 36px;
|
|
background: linear-gradient(180deg, #2a2a30 0%, #222228 100%);
|
|
border-radius: 4px 4px 0 0;
|
|
position: relative;
|
|
margin-bottom: -1px;
|
|
border: 1px solid #3a3a40;
|
|
border-bottom: none;
|
|
}
|
|
|
|
.rack-top-bar::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 1px;
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
|
|
}
|
|
|
|
.rack-bottom-bar {
|
|
width: 100%;
|
|
height: 36px;
|
|
background: linear-gradient(180deg, #222228 0%, #1e1e22 100%);
|
|
border-radius: 0 0 4px 4px;
|
|
position: relative;
|
|
margin-top: -1px;
|
|
border: 1px solid #3a3a40;
|
|
border-top: none;
|
|
}
|
|
|
|
.rack-bottom-bar::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 1px;
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
|
|
}
|
|
|
|
/* Ethernet Switch */
|
|
.eth-switch-face {
|
|
flex: 1;
|
|
height: calc(100% - 4px);
|
|
margin: 2px 16px;
|
|
background: linear-gradient(180deg, #1c1c20 0%, #18181c 100%);
|
|
border: 1px solid #2a2a2e;
|
|
border-radius: 3px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 6px 12px;
|
|
gap: 5px;
|
|
position: relative;
|
|
}
|
|
|
|
.eth-port-row {
|
|
display: flex;
|
|
gap: 6px;
|
|
align-items: center;
|
|
overflow: hidden;
|
|
max-width: 100%;
|
|
}
|
|
|
|
|
|
|
|
.eth-port {
|
|
width: 20px;
|
|
height: 18px;
|
|
background: linear-gradient(180deg, #2a2a2e 0%, #1a1a1e 100%);
|
|
border: 1px solid #3a3a40;
|
|
border-radius: 2px;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.eth-port::before {
|
|
content: '';
|
|
width: 12px;
|
|
height: 6px;
|
|
background: linear-gradient(180deg, #111114 0%, #1a1a1e 100%);
|
|
border-radius: 1px;
|
|
border-bottom: 1px solid #2a2a2e;
|
|
}
|
|
|
|
.eth-port-led {
|
|
position: absolute;
|
|
top: -2px;
|
|
right: -4px;
|
|
width: 5px;
|
|
height: 5px;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.eth-port-led.on {
|
|
background: #ffffff;
|
|
box-shadow: 0 0 3px #ffffff;
|
|
}
|
|
|
|
.eth-port-led.blink {
|
|
animation: blink1 2s ease-in-out infinite;
|
|
}
|
|
|
|
.eth-port-label {
|
|
font-size: 0.55rem;
|
|
color: #4a4a50;
|
|
font-family: monospace;
|
|
letter-spacing: 0.05em;
|
|
margin-top: 3px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.service-label {
|
|
position: absolute;
|
|
bottom: 6px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
font-size: 0.6rem;
|
|
color: #4a4a50;
|
|
font-family: monospace;
|
|
font-weight: 600;
|
|
letter-spacing: 0.05em;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* Terminal Display */
|
|
.terminal-display {
|
|
flex: 1;
|
|
height: calc(100% - 4px);
|
|
margin: 2px 16px;
|
|
background: #0a0a0c;
|
|
border: 1px solid #2a2a2e;
|
|
border-radius: 3px;
|
|
padding: 8px 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: relative;
|
|
overflow: hidden;
|
|
cursor: text;
|
|
transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
|
|
}
|
|
|
|
.terminal-display.opaque {
|
|
opacity: 1;
|
|
}
|
|
|
|
.terminal-display.grown {
|
|
height: calc(100% - 4px);
|
|
}
|
|
|
|
.server-face {
|
|
transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
|
|
.terminal-display::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background: repeating-linear-gradient(0deg,
|
|
transparent,
|
|
transparent 2px,
|
|
rgba(0, 0, 0, 0.15) 2px,
|
|
rgba(0, 0, 0, 0.15) 4px);
|
|
z-index: 1;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.terminal-display:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.terminal-content {
|
|
font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
|
|
font-size: 0.7rem;
|
|
color: #22c55e;
|
|
position: relative;
|
|
z-index: 2;
|
|
line-height: 1.6;
|
|
overflow-y: auto;
|
|
flex: 1;
|
|
}
|
|
|
|
.terminal-prompt {
|
|
color: #eab308;
|
|
}
|
|
|
|
.terminal-cursor {
|
|
display: inline-block;
|
|
width: 7px;
|
|
height: 12px;
|
|
background: #22c55e;
|
|
vertical-align: text-bottom;
|
|
animation: cursorBlink 1s step-end infinite;
|
|
margin-left: 1px;
|
|
}
|
|
|
|
.terminal-cursor.red {
|
|
background: #ef4444;
|
|
}
|
|
|
|
.vim-block-cursor {
|
|
background: #22c55e;
|
|
color: #0a0a0c;
|
|
border-radius: 1px;
|
|
}
|
|
|
|
@keyframes cursorBlink {
|
|
|
|
0%,
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
|
|
50% {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
.eth-brand {
|
|
font-size: 0.65rem;
|
|
color: #3a3a40;
|
|
font-family: monospace;
|
|
font-weight: 600;
|
|
letter-spacing: 0.1em;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.eth-switch-led {
|
|
position: absolute;
|
|
top: 6px;
|
|
right: 6px;
|
|
width: 5px;
|
|
height: 5px;
|
|
background: #ffffff;
|
|
border-radius: 50%;
|
|
box-shadow: 0 0 5px #ffffff;
|
|
}
|
|
|
|
.rack-unit {
|
|
width: 100%;
|
|
max-height: 90px;
|
|
height: 90px;
|
|
background: linear-gradient(180deg, #1a1a1f 0%, #151518 100%);
|
|
border: 1px solid #2a2a30;
|
|
border-radius: 2px;
|
|
margin-bottom: 8px;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
box-shadow:
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.03),
|
|
0 2px 8px rgba(0, 0, 0, 0.4);
|
|
overflow: visible;
|
|
transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1), max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.rack-unit.grown {
|
|
height: 290px;
|
|
max-height: none;
|
|
}
|
|
|
|
.rack-unit::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 1px;
|
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
|
|
}
|
|
|
|
.rail {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 14px;
|
|
background: linear-gradient(90deg, #2a2a30 0%, #222228 100%);
|
|
z-index: 2;
|
|
}
|
|
|
|
.rail.left {
|
|
left: 0;
|
|
border-radius: 2px 0 0 2px;
|
|
}
|
|
|
|
.rail.right {
|
|
right: 0;
|
|
border-radius: 0 2px 2px 0;
|
|
}
|
|
|
|
.rail::before,
|
|
.rail::after {
|
|
content: '';
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 8px;
|
|
height: 8px;
|
|
background: radial-gradient(circle, #1a1a1e 30%, #2a2a30 100%);
|
|
border-radius: 50%;
|
|
border: 1px solid #3a3a40;
|
|
}
|
|
|
|
.rail::before {
|
|
top: 18px;
|
|
}
|
|
|
|
.rail::after {
|
|
bottom: 18px;
|
|
}
|
|
|
|
.server-face {
|
|
flex: 1;
|
|
height: calc(100% - 4px);
|
|
margin: 2px 16px;
|
|
background: linear-gradient(180deg, #1e1e22 0%, #1a1a1e 100%);
|
|
border: 1px solid #2a2a2e;
|
|
border-radius: 3px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.server-drive-bay {
|
|
width: 64px;
|
|
height: 36px;
|
|
background: #151518;
|
|
border: 1px solid #2a2a2e;
|
|
border-radius: 2px;
|
|
position: relative;
|
|
}
|
|
|
|
.server-drive-bay::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 10px;
|
|
width: 28px;
|
|
height: 4px;
|
|
background: #2a2a2e;
|
|
border-radius: 1px;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
/* Server Grills */
|
|
.server-grill {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
pointer-events: none;
|
|
z-index: 1;
|
|
}
|
|
|
|
.grill-h {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
width: 100%;
|
|
padding: 0 8px;
|
|
}
|
|
|
|
.grill-h-bar {
|
|
height: 3px;
|
|
background: #2a2a2e;
|
|
border-radius: 1px;
|
|
}
|
|
|
|
.grill-v {
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: 5px;
|
|
height: 100%;
|
|
padding: 10px 0;
|
|
}
|
|
|
|
.grill-v-bar {
|
|
width: 3px;
|
|
background: #2a2a2e;
|
|
border-radius: 1px;
|
|
}
|
|
|
|
/* Fan Animation */
|
|
.fan-container {
|
|
position: absolute;
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
}
|
|
|
|
.fan {
|
|
width: 44px;
|
|
height: 44px;
|
|
border-radius: 50%;
|
|
border: 2px solid #2a2a2e;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
animation: spin 0.8s linear infinite;
|
|
background: radial-gradient(circle, #1a1a1e 0%, transparent 70%);
|
|
}
|
|
|
|
.fan-blade {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.fan-blade::before,
|
|
.fan-blade::after {
|
|
content: '';
|
|
position: absolute;
|
|
background: #1e1e22;
|
|
border: 1px solid #2a2a2e;
|
|
}
|
|
|
|
.fan-blade::before {
|
|
width: 75%;
|
|
height: 4px;
|
|
top: 50%;
|
|
left: 12.5%;
|
|
transform: translateY(-50%);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.fan-blade::after {
|
|
width: 4px;
|
|
height: 75%;
|
|
left: 50%;
|
|
top: 12.5%;
|
|
transform: translateX(-50%);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.fan-center {
|
|
width: 10px;
|
|
height: 10px;
|
|
background: #2a2a2e;
|
|
border-radius: 50%;
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
@keyframes spin {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.fan-slow {
|
|
animation-duration: 1.5s;
|
|
}
|
|
|
|
.fan-medium {
|
|
animation-duration: 0.8s;
|
|
}
|
|
|
|
.fan-fast {
|
|
animation-duration: 0.4s;
|
|
}
|
|
|
|
.led-group {
|
|
display: flex;
|
|
gap: 6px;
|
|
align-items: center;
|
|
}
|
|
|
|
.led {
|
|
width: 6px;
|
|
height: 6px;
|
|
border-radius: 50%;
|
|
box-shadow: 0 0 6px currentColor;
|
|
}
|
|
|
|
.led-green {
|
|
background: #22c55e;
|
|
color: #22c55e;
|
|
}
|
|
|
|
.led-blue {
|
|
background: #3b82f6;
|
|
color: #3b82f6;
|
|
}
|
|
|
|
.led-yellow {
|
|
background: #eab308;
|
|
color: #eab308;
|
|
}
|
|
|
|
.led-red {
|
|
background: #ef4444;
|
|
color: #ef4444;
|
|
}
|
|
|
|
.led-blink-1 {
|
|
animation: blink1 2s ease-in-out infinite;
|
|
}
|
|
|
|
.led-blink-2 {
|
|
animation: blink2 3s ease-in-out infinite;
|
|
}
|
|
|
|
.led-blink-3 {
|
|
animation: blink3 1.5s ease-in-out infinite;
|
|
}
|
|
|
|
.led-blink-4 {
|
|
animation: blink4 2.5s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes blink1 {
|
|
|
|
0%,
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
|
|
50% {
|
|
opacity: 0.2;
|
|
}
|
|
}
|
|
|
|
@keyframes blink2 {
|
|
|
|
0%,
|
|
100% {
|
|
opacity: 0.3;
|
|
}
|
|
|
|
50% {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
@keyframes blink3 {
|
|
|
|
0%,
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
|
|
30% {
|
|
opacity: 0.1;
|
|
}
|
|
|
|
60% {
|
|
opacity: 0.8;
|
|
}
|
|
}
|
|
|
|
@keyframes blink4 {
|
|
|
|
0%,
|
|
100% {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
25% {
|
|
opacity: 1;
|
|
}
|
|
|
|
75% {
|
|
opacity: 0.2;
|
|
}
|
|
}
|
|
|
|
.rack-mount {
|
|
position: absolute;
|
|
left: -8px;
|
|
width: 8px;
|
|
height: 100%;
|
|
background: linear-gradient(180deg, #2a2a30 0%, #222228 100%);
|
|
border-radius: 2px 0 0 2px;
|
|
}
|
|
|
|
.rack-mount.right {
|
|
left: auto;
|
|
right: -8px;
|
|
border-radius: 0 2px 2px 0;
|
|
}
|
|
|
|
.rack-mount::before,
|
|
.rack-mount::after {
|
|
content: '';
|
|
position: absolute;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 4px;
|
|
height: 4px;
|
|
background: #1a1a1e;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.rack-mount::before {
|
|
top: 8px;
|
|
}
|
|
|
|
.rack-mount::after {
|
|
bottom: 8px;
|
|
}
|
|
|
|
.rack-vertical-bar {
|
|
position: absolute;
|
|
left: -8px;
|
|
width: 16px;
|
|
height: 100%;
|
|
background: linear-gradient(180deg, #2a2a30 0%, #222228 50%, #2a2a30 100%);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.rack-vertical-bar.right {
|
|
left: auto;
|
|
right: -8px;
|
|
}
|
|
|
|
.rack-vertical-bar::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: repeating-linear-gradient(180deg,
|
|
transparent,
|
|
transparent 20px,
|
|
rgba(0, 0, 0, 0.3) 20px,
|
|
rgba(0, 0, 0, 0.3) 21px);
|
|
}
|
|
|
|
.rack-label {
|
|
position: absolute;
|
|
bottom: 4px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
font-size: 0.55rem;
|
|
color: #3a3a40;
|
|
font-family: monospace;
|
|
letter-spacing: 0.1em;
|
|
}
|
|
|
|
|
|
|
|
::selection {
|
|
background: var(--accent);
|
|
color: white;
|
|
}
|
|
|
|
/* Navigation */
|
|
nav {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
z-index: 100;
|
|
padding: 1rem 2rem;
|
|
background: rgba(10, 10, 11, 0.8);
|
|
backdrop-filter: blur(20px);
|
|
border-bottom: 1px solid var(--border);
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
nav .nav-inner {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.logo {
|
|
font-size: 1.25rem;
|
|
font-weight: 700;
|
|
background: var(--gradient-1);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
gap: 2rem;
|
|
list-style: none;
|
|
}
|
|
|
|
.nav-links a {
|
|
color: var(--text-secondary);
|
|
text-decoration: none;
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
transition: color 0.2s;
|
|
position: relative;
|
|
}
|
|
|
|
.nav-links a:hover {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.nav-links a::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: -4px;
|
|
left: 0;
|
|
width: 0;
|
|
height: 2px;
|
|
background: var(--gradient-1);
|
|
transition: width 0.3s ease;
|
|
border-radius: 1px;
|
|
}
|
|
|
|
.nav-links a:hover::after {
|
|
width: 100%;
|
|
}
|
|
|
|
.hamburger {
|
|
display: none;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
cursor: pointer;
|
|
background: none;
|
|
border: none;
|
|
padding: 4px;
|
|
}
|
|
|
|
.hamburger span {
|
|
display: block;
|
|
width: 24px;
|
|
height: 2px;
|
|
background: var(--text-primary);
|
|
border-radius: 1px;
|
|
transition: all 0.3s;
|
|
}
|
|
|
|
/* Hero Section */
|
|
.hero {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 6rem 2rem 4rem;
|
|
position: relative;
|
|
z-index: 10;
|
|
transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.hero.shifted {
|
|
transform: translateY(400px);
|
|
}
|
|
|
|
.hero-content {
|
|
max-width: 800px;
|
|
text-align: center;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.hero-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.375rem 1rem;
|
|
background: var(--accent-glow);
|
|
border: 1px solid rgba(234, 179, 8, 0.3);
|
|
border-radius: 100px;
|
|
font-size: 0.8rem;
|
|
color: var(--accent-hover);
|
|
margin-bottom: 2rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.hero-badge .dot {
|
|
width: 6px;
|
|
height: 6px;
|
|
background: #22c55e;
|
|
border-radius: 50%;
|
|
animation: pulse 2s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
|
|
0%,
|
|
100% {
|
|
opacity: 1;
|
|
}
|
|
|
|
50% {
|
|
opacity: 0.4;
|
|
}
|
|
}
|
|
|
|
.hero h1 {
|
|
font-size: clamp(2.5rem, 6vw, 4.5rem);
|
|
font-weight: 800;
|
|
line-height: 1.1;
|
|
letter-spacing: -0.03em;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
|
|
.hero h1 .gradient-text {
|
|
background: var(--gradient-1);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.hero p {
|
|
font-size: 1.15rem;
|
|
color: var(--text-secondary);
|
|
max-width: 560px;
|
|
margin: 0 auto 2.5rem;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.hero-buttons {
|
|
display: flex;
|
|
gap: 1rem;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.75rem 1.75rem;
|
|
border-radius: 10px;
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
transition: all 0.25s ease;
|
|
cursor: pointer;
|
|
border: none;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--gradient-1);
|
|
color: white;
|
|
box-shadow: 0 4px 20px var(--accent-glow);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 30px rgba(234, 179, 8, 0.3);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: var(--bg-card);
|
|
color: var(--text-primary);
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: var(--border);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
/* Sections */
|
|
section {
|
|
padding: 6rem 2rem;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.section-label {
|
|
font-size: 0.8rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
color: var(--accent-hover);
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.section-title {
|
|
font-size: clamp(1.75rem, 4vw, 2.5rem);
|
|
font-weight: 800;
|
|
letter-spacing: -0.02em;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.section-desc {
|
|
color: var(--text-secondary);
|
|
max-width: 560px;
|
|
margin-bottom: 3rem;
|
|
font-size: 1.05rem;
|
|
}
|
|
|
|
/* About */
|
|
.about-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 4rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.about-image {
|
|
position: relative;
|
|
}
|
|
|
|
.about-image .avatar-frame {
|
|
width: 100%;
|
|
aspect-ratio: 1;
|
|
max-width: 360px;
|
|
margin: 0 auto;
|
|
display: block;
|
|
background: var(--gradient-1);
|
|
border-radius: 24px;
|
|
padding: 3px;
|
|
position: relative;
|
|
}
|
|
|
|
.about-image .avatar-inner {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 22px;
|
|
background: var(--bg-secondary);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 6rem;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.about-image .avatar-inner svg {
|
|
width: 60%;
|
|
height: 60%;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.about-text p {
|
|
color: var(--text-secondary);
|
|
margin-bottom: 1.25rem;
|
|
font-size: 1.02rem;
|
|
}
|
|
|
|
.about-stats {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 1.5rem;
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.stat {
|
|
text-align: center;
|
|
padding: 1.25rem;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: 12px;
|
|
}
|
|
|
|
.stat-number {
|
|
font-size: 1.75rem;
|
|
font-weight: 800;
|
|
background: var(--gradient-1);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
background-clip: text;
|
|
}
|
|
|
|
.stat-label {
|
|
font-size: 0.75rem;
|
|
color: var(--text-muted);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
/* Experience Timeline */
|
|
.timeline {
|
|
position: relative;
|
|
padding-left: 2rem;
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.timeline::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 7px;
|
|
top: 8px;
|
|
bottom: 8px;
|
|
width: 2px;
|
|
background: var(--border);
|
|
border-radius: 1px;
|
|
}
|
|
|
|
.timeline-item {
|
|
position: relative;
|
|
padding-bottom: 2.5rem;
|
|
}
|
|
|
|
.timeline-item:last-child {
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.timeline-marker {
|
|
position: absolute;
|
|
left: -2rem;
|
|
top: 6px;
|
|
width: 16px;
|
|
height: 16px;
|
|
border-radius: 50%;
|
|
background: var(--bg-primary);
|
|
border: 2px solid var(--accent);
|
|
z-index: 1;
|
|
}
|
|
|
|
.timeline-content {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: 16px;
|
|
padding: 1.5rem;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.timeline-content:hover {
|
|
border-color: rgba(234, 179, 8, 0.3);
|
|
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.timeline-header {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 0.75rem;
|
|
margin-bottom: 0.25rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.timeline-header h3 {
|
|
font-size: 1.1rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.timeline-company {
|
|
color: var(--accent);
|
|
font-weight: 600;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.timeline-date {
|
|
display: inline-block;
|
|
font-size: 0.8rem;
|
|
color: var(--text-muted);
|
|
margin-bottom: 1rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.timeline-list {
|
|
list-style: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.timeline-list li {
|
|
color: var(--text-secondary);
|
|
font-size: 0.875rem;
|
|
line-height: 1.6;
|
|
padding-left: 1rem;
|
|
position: relative;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.timeline-list li::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0.55rem;
|
|
width: 5px;
|
|
height: 5px;
|
|
border-radius: 50%;
|
|
background: var(--accent);
|
|
opacity: 0.6;
|
|
}
|
|
|
|
/* Skills */
|
|
.skills-section {
|
|
background: var(--bg-secondary);
|
|
border-top: 1px solid var(--border);
|
|
border-bottom: 1px solid var(--border);
|
|
max-width: 100%;
|
|
padding: 6rem 2rem;
|
|
}
|
|
|
|
.skills-section .skills-inner {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.skills-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
gap: 1.25rem;
|
|
}
|
|
|
|
.skill-card {
|
|
padding: 1.75rem;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: 16px;
|
|
transition: all 0.3s ease;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.skill-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 2px;
|
|
background: var(--gradient-1);
|
|
opacity: 0;
|
|
transition: opacity 0.3s;
|
|
}
|
|
|
|
.skill-card:hover {
|
|
border-color: rgba(234, 179, 8, 0.3);
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.skill-card:hover::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
.skill-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--accent-glow);
|
|
border: 1px solid rgba(234, 179, 8, 0.2);
|
|
border-radius: 12px;
|
|
font-size: 1.5rem;
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
.skill-card h3 {
|
|
font-size: 1.1rem;
|
|
font-weight: 700;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.skill-card p {
|
|
color: var(--text-secondary);
|
|
font-size: 0.875rem;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.skill-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.skill-tag {
|
|
padding: 0.25rem 0.625rem;
|
|
background: rgba(234, 179, 8, 0.1);
|
|
border: 1px solid rgba(234, 179, 8, 0.15);
|
|
border-radius: 6px;
|
|
font-size: 0.75rem;
|
|
color: var(--accent-hover);
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* Projects */
|
|
.projects-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
|
|
gap: 1.5rem;
|
|
}
|
|
|
|
.project-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: 16px;
|
|
overflow: hidden;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.project-card:hover {
|
|
border-color: rgba(234, 179, 8, 0.3);
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.project-preview {
|
|
height: 200px;
|
|
background: var(--bg-secondary);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.project-preview .code-block {
|
|
font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
|
|
font-size: 0.75rem;
|
|
color: var(--text-muted);
|
|
padding: 1.5rem;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.code-line {
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.code-keyword {
|
|
color: #c084fc;
|
|
}
|
|
|
|
.code-function {
|
|
color: #60a5fa;
|
|
}
|
|
|
|
.code-string {
|
|
color: #34d399;
|
|
}
|
|
|
|
.code-comment {
|
|
color: #52525b;
|
|
font-style: italic;
|
|
}
|
|
|
|
.code-variable {
|
|
color: #f472b6;
|
|
}
|
|
|
|
.code-operator {
|
|
color: #fbbf24;
|
|
}
|
|
|
|
.project-info {
|
|
padding: 1.5rem;
|
|
}
|
|
|
|
.project-info h3 {
|
|
font-size: 1.15rem;
|
|
font-weight: 700;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.project-info p {
|
|
color: var(--text-secondary);
|
|
font-size: 0.875rem;
|
|
line-height: 1.6;
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
.project-meta {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.project-tech {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.project-tech span {
|
|
padding: 0.2rem 0.5rem;
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--border);
|
|
border-radius: 6px;
|
|
font-size: 0.7rem;
|
|
color: var(--text-muted);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.project-links {
|
|
display: flex;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.project-links a {
|
|
color: var(--text-muted);
|
|
transition: color 0.2s;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.project-links a:hover {
|
|
color: var(--accent-hover);
|
|
}
|
|
|
|
/* Contact */
|
|
.contact-section {
|
|
text-align: center;
|
|
}
|
|
|
|
.contact-section .section-desc {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.contact-links {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 1.25rem;
|
|
flex-wrap: wrap;
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.contact-link {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
padding: 1rem 1.75rem;
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: 12px;
|
|
text-decoration: none;
|
|
color: var(--text-primary);
|
|
transition: all 0.25s;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.contact-link:hover {
|
|
border-color: rgba(234, 179, 8, 0.3);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
.contact-link .link-icon {
|
|
width: 36px;
|
|
height: 36px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--accent-glow);
|
|
border-radius: 8px;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
/* GPG Keys */
|
|
.gpg-section {
|
|
text-align: center;
|
|
}
|
|
|
|
.gpg-section .section-desc {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.gpg-keys-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr));
|
|
gap: 1.5rem;
|
|
margin-top: 2rem;
|
|
text-align: left;
|
|
}
|
|
|
|
.gpg-key-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: 16px;
|
|
padding: 1.5rem;
|
|
transition: all 0.3s ease;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.gpg-key-card:hover {
|
|
border-color: rgba(234, 179, 8, 0.3);
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.gpg-key-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.gpg-key-icon {
|
|
width: 44px;
|
|
height: 44px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--accent-glow);
|
|
border: 1px solid rgba(234, 179, 8, 0.2);
|
|
border-radius: 10px;
|
|
font-size: 1.3rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.gpg-key-header h3 {
|
|
font-size: 1rem;
|
|
font-weight: 700;
|
|
margin-bottom: 0.15rem;
|
|
}
|
|
|
|
.gpg-key-email {
|
|
color: var(--text-muted);
|
|
font-size: 0.8rem;
|
|
margin: 0;
|
|
}
|
|
|
|
.gpg-key-fingerprint {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
padding: 0.625rem 0.875rem;
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--border);
|
|
border-radius: 8px;
|
|
font-size: 0.75rem;
|
|
margin-bottom: 0.75rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.gpg-key-fingerprint span {
|
|
color: var(--text-muted);
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
font-size: 0.65rem;
|
|
letter-spacing: 0.05em;
|
|
}
|
|
|
|
.gpg-key-fingerprint code {
|
|
color: var(--accent-hover);
|
|
font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
|
|
font-size: 0.7rem;
|
|
}
|
|
|
|
.gpg-key-block {
|
|
background: var(--bg-secondary);
|
|
border: 1px solid var(--border);
|
|
border-radius: 10px;
|
|
padding: 1rem;
|
|
margin: 0;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.gpg-key-block code {
|
|
font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
|
|
font-size: 0.65rem;
|
|
line-height: 1.5;
|
|
color: var(--text-secondary);
|
|
white-space: pre;
|
|
display: block;
|
|
min-width: max-content;
|
|
}
|
|
|
|
/* Footer */
|
|
footer {
|
|
padding: 3rem 2rem;
|
|
text-align: center;
|
|
border-top: 1px solid var(--border);
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
background: var(--bg-primary);
|
|
position: relative;
|
|
z-index: 10;
|
|
}
|
|
|
|
footer p {
|
|
color: var(--text-muted);
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
/* Scroll animations */
|
|
.fade-in {
|
|
opacity: 0;
|
|
transform: translateY(30px);
|
|
transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.fade-in.visible {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
/* Achievements Section */
|
|
.achievements-section {
|
|
background: var(--bg-secondary);
|
|
border-top: 1px solid var(--border);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.achievements-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
|
|
gap: 1rem;
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.achievement-card {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--border);
|
|
border-radius: 12px;
|
|
padding: 1.25rem;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 1rem;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.achievement-card.locked {
|
|
opacity: 0.4;
|
|
}
|
|
|
|
.achievement-card.unlocked {
|
|
border-color: rgba(234, 179, 8, 0.3);
|
|
box-shadow: 0 0 20px rgba(234, 179, 8, 0.08);
|
|
}
|
|
|
|
.achievement-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--accent-glow);
|
|
border: 1px solid rgba(234, 179, 8, 0.2);
|
|
border-radius: 10px;
|
|
font-size: 1.2rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.achievement-card.locked .achievement-icon {
|
|
filter: grayscale(1);
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.achievement-info h3 {
|
|
font-size: 0.9rem;
|
|
font-weight: 700;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.achievement-info p {
|
|
color: var(--text-muted);
|
|
font-size: 0.8rem;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.achievement-card.locked .achievement-info h3 {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.achievement-card.locked .achievement-info p {
|
|
color: var(--text-muted);
|
|
opacity: 0.5;
|
|
}
|
|
|
|
/* Toast Notification */
|
|
.toast-container {
|
|
position: fixed;
|
|
top: 80px;
|
|
right: 20px;
|
|
z-index: 10001;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.toast {
|
|
background: var(--bg-card);
|
|
border: 1px solid var(--accent);
|
|
border-radius: 12px;
|
|
padding: 1rem 1.25rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 20px var(--accent-glow);
|
|
pointer-events: auto;
|
|
animation: toastIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
|
|
max-width: 340px;
|
|
z-index: 10001;
|
|
}
|
|
|
|
.toast.removing {
|
|
animation: toastOut 0.3s ease forwards;
|
|
}
|
|
|
|
.toast-icon {
|
|
width: 36px;
|
|
height: 36px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: var(--accent-glow);
|
|
border: 1px solid rgba(234, 179, 8, 0.3);
|
|
border-radius: 8px;
|
|
font-size: 1.1rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.toast-content {
|
|
flex: 1;
|
|
}
|
|
|
|
.toast-label {
|
|
font-size: 0.65rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.1em;
|
|
color: var(--accent);
|
|
font-weight: 600;
|
|
margin-bottom: 0.15rem;
|
|
}
|
|
|
|
.toast-title {
|
|
font-size: 0.9rem;
|
|
font-weight: 700;
|
|
}
|
|
|
|
@keyframes toastIn {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateX(100px) scale(0.9);
|
|
}
|
|
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(0) scale(1);
|
|
}
|
|
}
|
|
|
|
@keyframes toastOut {
|
|
from {
|
|
opacity: 1;
|
|
transform: translateX(0) scale(1);
|
|
}
|
|
|
|
to {
|
|
opacity: 0;
|
|
transform: translateX(100px) scale(0.9);
|
|
}
|
|
}
|
|
|
|
/* Responsive */
|
|
@media (max-width: 768px) {
|
|
.nav-links {
|
|
visibility: hidden;
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 0;
|
|
right: 0;
|
|
flex-direction: column;
|
|
gap: 0;
|
|
background: rgba(10, 10, 11, 0.95);
|
|
backdrop-filter: blur(20px);
|
|
border-bottom: 1px solid var(--border);
|
|
padding: 0 2rem;
|
|
overflow: hidden;
|
|
max-height: 0;
|
|
transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
|
|
}
|
|
|
|
.nav-links.active {
|
|
visibility: visible;
|
|
max-height: 500px;
|
|
padding: 1rem 2rem;
|
|
}
|
|
|
|
.nav-links li {
|
|
padding: 0.75rem 0;
|
|
opacity: 0;
|
|
transform: translateY(-10px);
|
|
transition: opacity 0.3s ease, transform 0.3s ease;
|
|
}
|
|
|
|
.nav-links.active li {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.nav-links.active li:nth-child(1) {
|
|
transition-delay: 0.05s;
|
|
}
|
|
|
|
.nav-links.active li:nth-child(2) {
|
|
transition-delay: 0.1s;
|
|
}
|
|
|
|
.nav-links.active li:nth-child(3) {
|
|
transition-delay: 0.15s;
|
|
}
|
|
|
|
.nav-links.active li:nth-child(4) {
|
|
transition-delay: 0.2s;
|
|
}
|
|
|
|
.nav-links.active li:nth-child(5) {
|
|
transition-delay: 0.25s;
|
|
}
|
|
|
|
.nav-links.active li:nth-child(6) {
|
|
transition-delay: 0.3s;
|
|
}
|
|
|
|
.nav-links.active li:nth-child(7) {
|
|
transition-delay: 0.35s;
|
|
}
|
|
|
|
.nav-links.active li:nth-child(8) {
|
|
transition-delay: 0.4s;
|
|
}
|
|
|
|
.hamburger {
|
|
display: flex;
|
|
}
|
|
|
|
.hamburger.active span:nth-child(1) {
|
|
transform: translateY(7px) rotate(45deg);
|
|
}
|
|
|
|
.hamburger.active span:nth-child(2) {
|
|
opacity: 0;
|
|
}
|
|
|
|
.hamburger.active span:nth-child(3) {
|
|
transform: translateY(-7px) rotate(-45deg);
|
|
}
|
|
|
|
.about-grid {
|
|
grid-template-columns: 1fr;
|
|
gap: 2.5rem;
|
|
}
|
|
|
|
.about-image {
|
|
order: -1;
|
|
}
|
|
|
|
.about-image .avatar-frame {
|
|
max-width: 240px;
|
|
}
|
|
|
|
.about-stats {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.projects-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
section {
|
|
padding: 4rem 1.25rem;
|
|
}
|
|
|
|
.hero {
|
|
padding: 5rem 1.25rem 3rem;
|
|
}
|
|
|
|
.contact-links {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.gpg-keys-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.gpg-key-block code {
|
|
font-size: 0.6rem;
|
|
}
|
|
|
|
.timeline {
|
|
padding-left: 1.5rem;
|
|
}
|
|
|
|
.timeline::before {
|
|
left: 5px;
|
|
}
|
|
|
|
.timeline-marker {
|
|
left: -1.5rem;
|
|
width: 12px;
|
|
height: 12px;
|
|
}
|
|
|
|
.timeline-content {
|
|
padding: 1.25rem;
|
|
}
|
|
|
|
.timeline-header {
|
|
flex-direction: column;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.rack-container {
|
|
width: 90vw;
|
|
max-width: 320px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.about-stats {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
} |