-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle2.css
More file actions
160 lines (145 loc) · 3.05 KB
/
style2.css
File metadata and controls
160 lines (145 loc) · 3.05 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
body {
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
background: none;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
position: relative;
overflow: hidden;
}
body::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url('https://png.pngtree.com/png-clipart/20241223/original/pngtree-cool-blue-dragon-logo-png-image_18141282.png') no-repeat center center/cover;
filter: blur(7px);
opacity: 0.4;
}
.container {
position: relative;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
width: 90%;
max-width: 1200px;
padding: 20px;
}
header {
margin-top: 20px;
width: 100%;
}
.neon-heading {
font-size: 2.5rem;
min-height: 60px; /* ✅ fix jumping by reserving space */
text-align: center;
background: linear-gradient(to right, #3003fb, #2906ab);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
white-space: nowrap;
overflow: hidden;
}
.model-wrapper {
margin: 30px 0;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
position: relative;
}
.model-wrapper::before {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: inherit;
backdrop-filter: blur(10px);
z-index: -1;
border-radius: 20px;
}
.chatbot-3d {
width: 100%;
max-width: 600px;
height: 400px;
border-radius: 20px;
/* background: rgba(0, 0, 0, 0.3); */
}
footer {
margin-bottom: 30px;
}
#startBtn {
font-size: 1.2em;
padding: 12px 28px;
background: linear-gradient(135deg, #435fe9 0%, #4b43de 100%);
border: none;
border-radius: 50px;
color: #000;
font-weight: bold;
cursor: pointer;
margin-bottom: 20px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
transition: transform 0.3s ease, background-color 0.3s ease;
}
#startBtn:hover {
transform: scale(1.1);
box-shadow: 0 0 5px rgb(4, 83, 230),
0 0 25px rgb(81, 6, 211),
0 0 50px rgb(3, 22, 231),
0 0 100px rgb(13, 36, 242),
0 0 200px rgb(18, 15, 229);
}
/* Mic recording active style */
#microphonr-voice-btn.listening {
color: white !important;
background: #ff4b5c !important;
animation: micPulse 1.2s infinite;
box-shadow: 0 0 10px rgba(255, 75, 92, 0.7), 0 0 20px rgba(255, 75, 92, 0.5);
}
/* Mic pulse animation */
@keyframes micPulse {
0% {
transform: scale(1);
box-shadow: 0 0 10px rgba(255, 75, 92, 0.7);
}
50% {
transform: scale(1.1);
box-shadow: 0 0 20px rgba(255, 75, 92, 1);
}
100% {
transform: scale(1);
box-shadow: 0 0 10px rgba(255, 75, 92, 0.7);
}
}
/*media quri*/
@media (max-width: 768px) {
.neon-heading {
font-size: 2rem;
min-height: 60px;
}
.chatbot-3d {
height: 400px;
}
#startBtn {
font-size: 1em;
padding: 10px 24px;
}
}
@media (max-width: 480px) {
.neon-heading {
font-size: 1.5rem;
min-height: 45px;
}
.chatbot-3d {
height: 400px;
}
}