-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcss_updates.css
More file actions
137 lines (123 loc) · 2.41 KB
/
css_updates.css
File metadata and controls
137 lines (123 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
@keyframes gradientFlow {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
@keyframes float {
0%,
100% {
transform: translateY(0) rotate(0deg);
}
50% {
transform: translateY(-20px) rotate(5deg);
}
}
:root {
--fs-h1: clamp(2.5rem, 8vw, 4.5rem);
--fs-h2: clamp(2rem, 6vw, 3.5rem);
--fs-h3: clamp(1.5rem, 4vw, 2.25rem);
--fs-body: clamp(1rem, 2vw, 1.125rem);
}
.hero {
background: linear-gradient(-45deg, oklch(0.14 0.02 250), oklch(0.2 0.05 250), oklch(0.14 0.02 250), oklch(0.25 0.08 250));
background-size: 400% 400%;
animation: gradientFlow 15s ease infinite;
position: relative;
overflow: hidden;
}
.ornament {
position: absolute;
width: 150px;
height: 150px;
background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
opacity: 0.1;
filter: blur(40px);
pointer-events: none;
z-index: 1;
}
.ornament-1 {
top: 10%;
left: 10%;
animation: float 10s ease-in-out infinite;
}
.ornament-2 {
bottom: 20%;
right: 15%;
animation: float 12s ease-in-out infinite reverse;
}
.ornament-3 {
top: 40%;
right: 30%;
animation: float 15s ease-in-out infinite;
}
.primary-button,
.secondary-button {
position: relative;
overflow: hidden;
}
.primary-button::after,
.secondary-button::after {
content: '';
position: absolute;
top: -50%;
left: -150%;
width: 200%;
height: 200%;
background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: 0.5s;
pointer-events: none;
}
.primary-button:hover::after,
.secondary-button:hover::after {
left: 150%;
}
.card:hover {
transform: translateY(-12px) scale(1.02);
box-shadow: 0 20px 40px oklch(from var(--accent) l c h / 0.2);
}
.mobile-nav {
position: fixed;
top: 72px;
left: 0;
width: 100%;
background: var(--bg-canvas);
backdrop-filter: blur(12px);
border-bottom: 1px solid var(--line-soft);
transform: translateY(-100%);
transition: transform 0.3s ease;
z-index: 90;
display: flex;
flex-direction: column;
padding: 20px;
gap: 15px;
}
body.menu-open .mobile-nav {
transform: translateY(0);
}
.mobile-toggle {
display: none;
}
@media (max-width: 768px) {
.mobile-toggle {
display: flex;
}
.header-actions .pill-button {
display: none;
}
}
.mobile-nav-link {
display: flex;
align-items: center;
gap: 12px;
padding: 12px;
border-radius: var(--radius-sm);
background: var(--bg-soft);
font-weight: 600;
text-align: left;
}