-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
executable file
·232 lines (218 loc) · 5.6 KB
/
style.css
File metadata and controls
executable file
·232 lines (218 loc) · 5.6 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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
/* =============================
Jarvis AI – Futuristic UI
============================= */
:root{
--bg1:#050d1a;
--bg2:#0b2342;
--accent1:#00f5d4;
--accent2:#00bbf9;
--text:#f0faff;
--glass: rgba(255,255,255,0.08);
--glow: 0 0 15px rgba(0,245,212,0.5), 0 0 30px rgba(0,187,249,0.4);
}
*{ box-sizing:border-box; margin:0; padding:0; }
body{
font-family: 'Poppins', Arial, sans-serif;
text-align:center;
min-height:100vh;
display:flex;
flex-direction:column;
align-items:center;
justify-content:flex-start;
padding:48px 16px;
background: linear-gradient(135deg,var(--bg1),var(--bg2));
color:var(--text);
background-size: 400% 400%;
animation: gradientShift 18s ease infinite;
}
@keyframes gradientShift {
0%{background-position:0% 50%}
50%{background-position:100% 50%}
100%{background-position:0% 50%}
}
/* Header */
h1{
font-size:2.4rem;
margin-bottom:26px;
letter-spacing:1px;
background: linear-gradient(90deg,var(--accent1),var(--accent2));
-webkit-background-clip:text;
-webkit-text-fill-color:transparent;
text-shadow: var(--glow);
animation: float 6s ease-in-out infinite;
}
@keyframes float{
0%,100%{ transform:translateY(0) }
50%{ transform:translateY(-8px) }
}
/* Input field */
input#userInput{
padding:14px 16px;
font-size:16px;
width:340px;
border-radius:14px;
border:none;
outline:none;
color:var(--text);
background: var(--glass);
backdrop-filter: blur(14px);
box-shadow: 0 4px 20px rgba(0,0,0,0.4);
transition: all .25s ease;
}
input#userInput:focus{
border:1px solid var(--accent1);
box-shadow: var(--glow);
transform: scale(1.02);
}
/* Buttons */
button{
margin:10px 6px;
padding:12px 20px;
font-size:15px;
border-radius:14px;
border:none;
cursor:pointer;
background: linear-gradient(135deg,var(--accent1),var(--accent2));
color:#021018;
font-weight:600;
transition: all .25s ease;
box-shadow: 0 4px 14px rgba(0,0,0,0.4);
position:relative;
overflow:hidden;
}
button:hover{
transform:translateY(-3px) scale(1.05);
box-shadow: var(--glow);
}
button:active{ transform: scale(0.96) }
/* Ripple effect */
button::after{
content:"";
position:absolute;
top:50%; left:50%;
width:0; height:0;
background:rgba(255,255,255,0.3);
border-radius:50%;
transform:translate(-50%,-50%);
transition:width .4s ease, height .4s ease, opacity .6s ease;
}
button:active::after{
width:240%; height:240%; opacity:0;
}
/* Mic pulsing indicator */
.mic {
width:46px; height:46px; display:inline-grid; place-items:center;
border-radius:50%;
background:linear-gradient(145deg,var(--accent1),var(--accent2));
position:relative;
box-shadow: var(--glow);
}
.mic.pulse::after{
content:"";
position:absolute;
inset: -8px;
border-radius:50%;
animation: pulse 1.5s infinite;
background: radial-gradient(circle, rgba(0,245,212,0.16), transparent 60%);
}
@keyframes pulse{
0%{ transform: scale(.8); opacity:.9 }
70%{ transform: scale(1.6); opacity:0 }
100%{ transform: scale(1.8); opacity:0 }
}
/* Response box */
#response{
margin-top:26px;
font-size:18px;
max-width:780px;
background:var(--glass);
padding:20px;
border-radius:16px;
backdrop-filter: blur(14px);
box-shadow: 0 8px 28px rgba(0,0,0,0.5);
min-height:52px;
display:flex;
align-items:center;
justify-content:center;
animation: fadeIn .6s ease;
}
@keyframes fadeIn{ from{opacity:0; transform:translateY(10px)} to{opacity:1; transform:translateY(0)} }
/* Typing dots */
.typing {
display:inline-flex;
gap:8px;
}
.typing span{
width:10px; height:10px;
border-radius:50%;
background:var(--accent1);
animation: typingDots 1s infinite;
}
.typing span:nth-child(2){ animation-delay:.15s }
.typing span:nth-child(3){ animation-delay:.3s }
@keyframes typingDots{
0%{ transform:translateY(0); opacity:.6 }
50%{ transform:translateY(-8px); opacity:1 }
100%{ transform:translateY(0); opacity:.6 }
}
/* Responsive */
@media (max-width:480px){
input#userInput{ width:230px; font-size:14px }
h1{ font-size:1.8rem }
}
/* ==========================
Social Links + Footer
========================== */
.social-links{
margin-top: 36px;
text-align:center;
}
.follow-title{
font-weight:600;
margin-bottom:12px;
font-size:16px;
color:var(--accent1);
}
.links{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:12px;
}
.links a{
display:flex;
align-items:center;
gap:6px;
padding:8px 12px;
border-radius:12px;
text-decoration:none;
font-size:14px;
color:var(--text);
background: var(--glass);
backdrop-filter: blur(12px);
transition: transform .2s, box-shadow .2s;
}
.links a:hover{
transform:translateY(-3px);
box-shadow: var(--glow);
}
/* Social icons */
.links a img{
width:18px;
height:18px;
}
/* Footer */
footer{
margin-top:40px;
font-size:13px;
color:rgba(255,255,255,0.6);
text-align:center;
}
footer a{
color:var(--accent1);
text-decoration:none;
font-weight:500;
}
footer a:hover{
text-decoration:underline;
}