761 lines
13 KiB
CSS
761 lines
13 KiB
CSS
/* Modern resume layout driven by me.json */
|
|
:root {
|
|
--bg: #0b1324;
|
|
--bg-2: #0f172a;
|
|
--bg-overlay: rgba(5, 8, 15, 0.55);
|
|
--card: rgba(10, 14, 26, 0.8);
|
|
--border: rgba(255, 255, 255, 0.12);
|
|
--text: #f5f7fb;
|
|
--muted: #cbd5e1;
|
|
--accent: #0ea5e9;
|
|
--accent-2: #f59e0b;
|
|
--shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
|
|
--radius: 14px;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
|
|
color: var(--text);
|
|
background:
|
|
radial-gradient(circle at 20% 20%, rgba(14, 165, 233, 0.12), transparent 30%),
|
|
radial-gradient(circle at 80% 0%, rgba(245, 158, 11, 0.12), transparent 28%),
|
|
linear-gradient(145deg, var(--bg), var(--bg-2));
|
|
background-blend-mode: screen, screen, normal;
|
|
min-height: 100vh;
|
|
line-height: 1.6;
|
|
scroll-behavior: smooth;
|
|
position: relative;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.resume-body {
|
|
position: relative;
|
|
}
|
|
|
|
body::before {
|
|
content: "";
|
|
position: fixed;
|
|
inset: 0;
|
|
background: var(--bg-overlay);
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
}
|
|
|
|
.page-shell {
|
|
max-width: 1080px;
|
|
margin: 0 auto;
|
|
padding: 1.5rem 1.5rem 3rem;
|
|
}
|
|
|
|
.bg-gradient {
|
|
position: fixed;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
background: radial-gradient(circle at 30% 20%, rgba(14, 165, 233, 0.16), transparent 35%);
|
|
filter: blur(40px);
|
|
opacity: 0.65;
|
|
z-index: 0;
|
|
}
|
|
|
|
.topbar {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 50;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
padding: 0.85rem 1.5rem;
|
|
background: rgba(10, 14, 30, 0.8);
|
|
backdrop-filter: blur(10px);
|
|
border-bottom: 1px solid var(--border);
|
|
z-index: 2;
|
|
}
|
|
|
|
.brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.brand-avatar {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 14px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--border);
|
|
background: var(--card);
|
|
}
|
|
|
|
.brand-avatar img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.brand-name {
|
|
font-weight: 700;
|
|
font-family: "Sora", "Inter", sans-serif;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.top-nav {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
font-size: 0.95rem;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.top-nav a {
|
|
padding: 0.4rem 0.6rem;
|
|
border-radius: 10px;
|
|
transition: color 0.2s ease, background-color 0.2s ease;
|
|
}
|
|
|
|
.top-nav a:hover {
|
|
color: var(--text);
|
|
background: rgba(255, 255, 255, 0.06);
|
|
}
|
|
|
|
.top-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.hero {
|
|
padding: 2rem 0 0.5rem;
|
|
}
|
|
|
|
.hero-card {
|
|
display: grid;
|
|
grid-template-columns: 220px 1fr;
|
|
gap: 1.75rem;
|
|
padding: 2rem;
|
|
border-radius: calc(var(--radius) + 6px);
|
|
background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
|
|
border: 1px solid var(--border);
|
|
box-shadow: var(--shadow);
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.hero-photo {
|
|
position: relative;
|
|
width: 220px;
|
|
height: 220px;
|
|
border-radius: 24px;
|
|
overflow: hidden;
|
|
border: 2px solid rgba(255, 255, 255, 0.08);
|
|
background: var(--card);
|
|
}
|
|
|
|
.hero-photo img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.hero-copy h1 {
|
|
margin: 0.2rem 0;
|
|
font-size: clamp(2rem, 3vw, 2.6rem);
|
|
font-family: "Sora", "Inter", sans-serif;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.role {
|
|
margin: 0.35rem 0 0.75rem;
|
|
font-size: 1.1rem;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.about-text {
|
|
margin: 0 0 1.2rem;
|
|
color: var(--text);
|
|
max-width: 720px;
|
|
}
|
|
|
|
.cta-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.solid-btn,
|
|
.ghost-btn {
|
|
border-radius: 999px;
|
|
border: 1px solid var(--border);
|
|
padding: 0.6rem 1rem;
|
|
font-weight: 600;
|
|
font-size: 0.95rem;
|
|
cursor: pointer;
|
|
transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
|
|
}
|
|
|
|
.solid-btn {
|
|
background: linear-gradient(90deg, var(--accent), var(--accent-2));
|
|
color: #0b0f1a;
|
|
border-color: transparent;
|
|
}
|
|
|
|
.ghost-btn {
|
|
background: transparent;
|
|
color: var(--text);
|
|
}
|
|
|
|
.solid-btn:hover,
|
|
.ghost-btn:hover {
|
|
transform: translateY(-1px);
|
|
border-color: rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
.social-row {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
.chip {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0.5rem;
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.06);
|
|
border: 1px solid var(--border);
|
|
transition: transform 0.15s ease, background 0.2s ease;
|
|
}
|
|
|
|
.chip:hover {
|
|
transform: translateY(-1px) scale(1.01);
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.chip img {
|
|
width: 26px;
|
|
height: 26px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.section {
|
|
margin-top: 2.5rem;
|
|
}
|
|
|
|
.section-head {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.section-head h2 {
|
|
margin: 0.15rem 0 0;
|
|
font-family: "Sora", "Inter", sans-serif;
|
|
letter-spacing: -0.01em;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.section-sub {
|
|
color: var(--muted);
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.eyebrow {
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
font-size: 0.75rem;
|
|
color: #7de3ff;
|
|
margin: 0;
|
|
}
|
|
|
|
body.theme-light .section-head h2 {
|
|
color: #0f172a;
|
|
}
|
|
|
|
body.theme-light .eyebrow {
|
|
color: #2563eb;
|
|
}
|
|
|
|
body.theme-light .card h3 {
|
|
color: #0f172a;
|
|
}
|
|
|
|
.timeline {
|
|
list-style: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.timeline-item {
|
|
display: grid;
|
|
grid-template-columns: 180px 1fr;
|
|
gap: 1rem;
|
|
padding: 1rem;
|
|
border-radius: var(--radius);
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.timeline-meta {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.pill {
|
|
display: inline-block;
|
|
padding: 0.35rem 0.75rem;
|
|
border-radius: 999px;
|
|
background: rgba(14, 165, 233, 0.16);
|
|
color: #cbeafe;
|
|
font-weight: 600;
|
|
font-size: 0.9rem;
|
|
border: 1px solid rgba(14, 165, 233, 0.3);
|
|
}
|
|
|
|
.pill-ghost {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: var(--text);
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.timeline-body h3 {
|
|
margin: 0.15rem 0 0.3rem;
|
|
font-size: 1.15rem;
|
|
}
|
|
|
|
.timeline-body .meta {
|
|
color: var(--muted);
|
|
margin: 0;
|
|
}
|
|
|
|
.bullets {
|
|
margin: 0.5rem 0 0;
|
|
padding-left: 1.2rem;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.bullets li + li {
|
|
margin-top: 0.3rem;
|
|
}
|
|
|
|
.card-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
|
gap: 1rem;
|
|
}
|
|
|
|
.card {
|
|
padding: 1rem;
|
|
border-radius: var(--radius);
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
color: var(--text);
|
|
}
|
|
|
|
.card h3 {
|
|
margin: 0.3rem 0 0.4rem;
|
|
color: #f8fafc;
|
|
}
|
|
|
|
.card .muted {
|
|
margin: 0 0 0.5rem;
|
|
}
|
|
|
|
.chips,
|
|
.subchips {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
.chip-ghost {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
color: var(--text);
|
|
border: 1px solid var(--border);
|
|
padding: 0.35rem 0.65rem;
|
|
border-radius: 10px;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.chip-accent {
|
|
background: linear-gradient(90deg, var(--accent), var(--accent-2));
|
|
border-color: transparent;
|
|
color: #0b0f1a;
|
|
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
|
|
}
|
|
|
|
.chips.tight {
|
|
gap: 0.3rem;
|
|
}
|
|
|
|
.skill-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.4rem;
|
|
margin-top: 0.4rem;
|
|
}
|
|
|
|
.skill-row {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.35rem;
|
|
padding: 0.7rem 0.75rem;
|
|
border-radius: 10px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
border: 1px solid var(--border);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.skill-label {
|
|
font-weight: 700;
|
|
color: #f8fafc;
|
|
}
|
|
|
|
.skill-level {
|
|
width: 100%;
|
|
height: 8px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
overflow: hidden;
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.skill-level-fill {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, var(--accent), var(--accent-2));
|
|
border-radius: 999px;
|
|
}
|
|
|
|
.skill-recent .skill-label {
|
|
color: var(--accent);
|
|
}
|
|
|
|
body.theme-light .skill-row {
|
|
background: rgba(0, 0, 0, 0.04);
|
|
border-color: rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
body.theme-light .skill-label {
|
|
color: #0f172a;
|
|
}
|
|
|
|
.skill-card {
|
|
min-height: 200px;
|
|
}
|
|
|
|
.projects-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
|
gap: 1rem;
|
|
}
|
|
|
|
.project-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.8rem;
|
|
padding: 1rem;
|
|
border-radius: var(--radius);
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.project-thumb {
|
|
width: 100%;
|
|
aspect-ratio: 16 / 9;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--border);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.project-thumb img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.project-meta {
|
|
display: flex;
|
|
gap: 0.4rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.project-links {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
margin-top: 0.35rem;
|
|
}
|
|
|
|
.small-btn {
|
|
padding: 0.45rem 0.85rem;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.testimonial-slider {
|
|
position: relative;
|
|
overflow: hidden;
|
|
padding: 0.25rem 0;
|
|
}
|
|
|
|
.testimonial-track {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
gap: 1rem;
|
|
transition: transform 0.4s ease;
|
|
will-change: transform;
|
|
padding: 0.25rem 0;
|
|
}
|
|
|
|
.testimonial-card {
|
|
flex: 0 0 calc(50% - 0.5rem);
|
|
min-width: 0;
|
|
}
|
|
|
|
.testimonial-slider[data-visible="1"] .testimonial-card {
|
|
flex: 0 0 100%;
|
|
}
|
|
|
|
.testimonial-avatar {
|
|
width: 56px;
|
|
height: 56px;
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
border: 2px solid var(--border);
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.testimonial-avatar img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.testimonial-dots {
|
|
display: flex;
|
|
gap: 0.35rem;
|
|
margin-top: 0.75rem;
|
|
}
|
|
|
|
.testimonial-dots .dot {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
background: var(--border);
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.testimonial-dots .dot.active {
|
|
background: var(--accent);
|
|
}
|
|
|
|
.rating {
|
|
color: #fbbf24;
|
|
letter-spacing: 2px;
|
|
}
|
|
|
|
.contact-strip {
|
|
position: fixed;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 1rem;
|
|
padding: 0.85rem 1.1rem;
|
|
background: rgba(10, 14, 30, 0.9);
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
.contact-strip a,
|
|
.contact-strip button {
|
|
color: var(--text);
|
|
font-weight: 600;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
border: 1px solid var(--border);
|
|
border-radius: 10px;
|
|
padding: 0.55rem 0.9rem;
|
|
}
|
|
|
|
.contact-strip button {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.contact-strip a:hover,
|
|
.contact-strip button:hover {
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.chip.chip-ghost:hover {
|
|
background: rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
.pill + .pill {
|
|
margin-left: 0.35rem;
|
|
}
|
|
|
|
.two-col {
|
|
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
|
}
|
|
|
|
.interest-block {
|
|
padding: 0.8rem 1rem;
|
|
border-radius: var(--radius);
|
|
background: var(--card);
|
|
border: 1px solid var(--border);
|
|
}
|
|
|
|
.interest-chips {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
|
gap: 0.9rem;
|
|
}
|
|
|
|
.quote {
|
|
margin: 0.5rem 0 0;
|
|
font-style: italic;
|
|
color: var(--text);
|
|
}
|
|
|
|
.muted {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.small {
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.page-footer {
|
|
max-width: 1080px;
|
|
margin: 2rem auto 3rem;
|
|
padding: 1rem 1.5rem 0;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.footer-actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.glass {
|
|
backdrop-filter: blur(12px);
|
|
}
|
|
|
|
body.theme-light {
|
|
--bg: #f6f7fb;
|
|
--bg-2: #e9edf5;
|
|
--bg-overlay: rgba(255, 255, 255, 0.05);
|
|
--card: rgba(255, 255, 255, 0.94);
|
|
--border: rgba(0, 0, 0, 0.08);
|
|
--text: #0f172a;
|
|
--muted: #475569;
|
|
--accent: #2563eb;
|
|
--accent-2: #d946ef;
|
|
color: var(--text);
|
|
background:
|
|
linear-gradient(rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.05)),
|
|
url("../ress/mountedRess/background.jpeg") center/cover fixed;
|
|
background-blend-mode: normal, overlay;
|
|
}
|
|
|
|
body.theme-light .topbar,
|
|
body.theme-light .contact-strip {
|
|
background: rgba(255, 255, 255, 0.85);
|
|
}
|
|
|
|
body.theme-light .pill {
|
|
color: #0f172a;
|
|
background: rgba(37, 99, 235, 0.12);
|
|
border-color: rgba(37, 99, 235, 0.35);
|
|
}
|
|
|
|
body.theme-light .chip-accent {
|
|
background: rgba(37, 99, 235, 0.16);
|
|
border-color: rgba(37, 99, 235, 0.4);
|
|
color: #0f172a;
|
|
box-shadow: none;
|
|
}
|
|
|
|
body.theme-light .timeline-item,
|
|
body.theme-light .card,
|
|
body.theme-light .project-card,
|
|
body.theme-light .hero-card {
|
|
box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
@media (max-width: 960px) {
|
|
.topbar {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.top-nav {
|
|
order: 3;
|
|
width: 100%;
|
|
justify-content: flex-start;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.hero-card {
|
|
grid-template-columns: 1fr;
|
|
text-align: left;
|
|
}
|
|
|
|
.hero-photo {
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.timeline-item {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.page-shell {
|
|
padding: 1rem;
|
|
}
|
|
|
|
.topbar {
|
|
position: sticky;
|
|
top: 0;
|
|
}
|
|
|
|
.top-actions {
|
|
width: 100%;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.hero-card {
|
|
padding: 1.25rem;
|
|
}
|
|
|
|
.cta-row {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.skill-row {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.contact-strip {
|
|
display: flex;
|
|
}
|
|
}
|