Skip to content

Commit 0937127

Browse files
committed
done
1 parent dff92b9 commit 0937127

File tree

1 file changed

+40
-27
lines changed

1 file changed

+40
-27
lines changed

css/style.css

Lines changed: 40 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@ body {
1515
line-height: 1.7;
1616
color: #334155;
1717
background: #f8fafc;
18-
18+
19+
}
20+
21+
body.menu-open {
22+
overflow: hidden;
1923
}
2024

2125
section[id],
@@ -408,6 +412,7 @@ footer {
408412
position: sticky;
409413
top: 0;
410414
z-index: 1100;
415+
will-change: transform;
411416
}
412417

413418
.hamburger {
@@ -423,37 +428,39 @@ footer {
423428
.nav-links {
424429
position: fixed;
425430
top: 0;
426-
right: -100%;
427-
width: 33%;
428-
height: 98vh;
429-
align-items: center;
430-
border-radius: 2%;
431-
432-
/* PROFESSIONAL CONSULTING BACKGROUND */
433-
background:
434-
linear-gradient(180deg,
435-
#0b1f2a 0%,
436-
#0e2f3f 55%,
437-
#0dcaf0 120%);
431+
right: 0;
432+
433+
width: min(320px, 85vw);
434+
height: 100dvh;
435+
436+
background: rgba(15, 23, 42, 0.92);
437+
backdrop-filter: blur(16px);
438+
438439
display: flex;
439440
flex-direction: column;
440441
justify-content: flex-start;
441-
padding-top: 90px;
442-
transition: right 0.35s ease;
442+
padding-top: 76px;
443+
444+
transform: translateX(100%);
445+
transition: transform 0.35s ease;
446+
443447
z-index: 1000;
444-
box-shadow:
445-
inset 1px 0 0 rgba(255, 255, 255, 0.08),
446-
-18px 0 40px rgba(0, 0, 0, 0.45);
447-
transform: translateX(0);
448-
opacity: 0;
448+
box-shadow: -18px 0 40px rgba(0, 0, 0, 0.45);
449+
}
449450

451+
/* DIVIDER BELOW BRAND AREA */
452+
.nav-links::before {
453+
content: "";
454+
position: absolute;
455+
top: 64px;
456+
left: 24px;
457+
right: 24px;
458+
height: 1px;
459+
background: rgba(255, 255, 255, 0.08);
450460
}
451461

452462
.nav-links.open {
453-
color: #0f172a;
454-
font-weight: 600;
455-
right: 0;
456-
opacity: 1;
463+
transform: translateX(0);
457464
}
458465

459466
.nav-links li {
@@ -466,7 +473,8 @@ footer {
466473
.nav-links a {
467474
padding: 10px 0;
468475
letter-spacing: 0.3px;
469-
color: #e5f6ff;
476+
color: #e5e7eb;
477+
font-size: 16px;
470478
display: block;
471479
align-items: center;
472480
}
@@ -476,13 +484,18 @@ footer {
476484
opacity: 0.6;
477485
}
478486

487+
.nav-links a:hover {
488+
color: #ffffff;
489+
background: rgba(255, 255, 255, 0.06);
490+
}
491+
479492
/* ===== BLUR OVERLAY ===== */
480493
body.menu-open::before {
481494
content: "";
482495
position: fixed;
483496
inset: 0;
484-
background: rgba(2, 8, 23, 0.55);
485-
backdrop-filter: blur(5px);
497+
background: rgba(2, 8, 23, 0.65);
498+
backdrop-filter: blur(8px);
486499
z-index: 900;
487500
}
488501

0 commit comments

Comments
 (0)