122 lines
2.2 KiB
CSS
122 lines
2.2 KiB
CSS
:root {
|
|
--primary: #111827;
|
|
--secondary: #4b5563;
|
|
--accent: #2563eb;
|
|
--bg: #ffffff;
|
|
--surface: #f9fafb;
|
|
--border: #e5e7eb;
|
|
--radius: 6px;
|
|
--font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-main);
|
|
background-color: var(--bg);
|
|
color: var(--primary);
|
|
line-height: 1.5;
|
|
-webkit-font-smoothing: antialiased;
|
|
position: relative;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
/* Interactive Background */
|
|
#bg-canvas {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: -1;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.section-padding {
|
|
padding: 80px 0;
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: var(--accent);
|
|
border-color: var(--accent);
|
|
border-radius: var(--radius);
|
|
padding: 10px 20px;
|
|
font-weight: 500;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: #1d4ed8;
|
|
border-color: #1d4ed8;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
/* 3D Portfolio Card Effects */
|
|
.portfolio-card-container {
|
|
perspective: 1000px;
|
|
}
|
|
|
|
.portfolio-card {
|
|
transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
|
|
transform-style: preserve-3d;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.portfolio-card:hover {
|
|
transform: rotateY(10deg) rotateX(5deg) scale(1.05);
|
|
box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
|
|
}
|
|
|
|
.card {
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
box-shadow: none;
|
|
transition: all 0.3s ease;
|
|
background-color: rgba(255, 255, 255, 0.8);
|
|
backdrop-filter: blur(5px);
|
|
}
|
|
|
|
.card:hover {
|
|
border-color: var(--accent);
|
|
box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.nav-link {
|
|
color: var(--secondary);
|
|
font-weight: 500;
|
|
font-size: 0.95rem;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.nav-link:hover {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.hero {
|
|
padding: 120px 0 80px;
|
|
background-color: transparent;
|
|
}
|
|
|
|
h1, h2, h3 {
|
|
font-weight: 700;
|
|
letter-spacing: -0.025em;
|
|
}
|
|
|
|
.portfolio-img {
|
|
width: 100%;
|
|
height: 240px;
|
|
object-fit: cover;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.footer {
|
|
border-top: 1px solid var(--border);
|
|
padding: 40px 0;
|
|
background-color: rgba(249, 250, 251, 0.8);
|
|
backdrop-filter: blur(5px);
|
|
}
|
|
|
|
.toast-container {
|
|
position: fixed;
|
|
bottom: 24px;
|
|
right: 24px;
|
|
z-index: 1050;
|
|
} |