-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
241 lines (220 loc) · 4.86 KB
/
style.css
File metadata and controls
241 lines (220 loc) · 4.86 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
233
234
235
236
237
238
239
240
241
/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
/* Body Styling */
body {
min-height: 100vh;
background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); /* Sexy dark blue gradient */
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
color: #ffffff;
padding: 20px;
animation: bodyFadeIn 1s ease-in-out; /* Animation on page load */
}
/* Container Styling for form */
.container {
background: rgba(255, 255, 255, 0.1);
border-radius: 15px;
padding: 30px;
width: 100%;
max-width: 400px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
transform: translateY(-50px); /* Start from above */
opacity: 0;
animation: containerSlideIn 0.8s ease-out forwards; /* Slide-in animation */
}
/* Heading */
h1, h2 {
margin-bottom: 18px;
font-size: 2rem;
text-align: center;
color: #00BFA6; /* Soft teal for headlines */
animation: fadeInUp 1s ease-in-out; /* Animation for heading */
}
/* Input Fields */
input {
width: 100%;
padding: 12px 20px;
margin-bottom: 12px;
border: none;
border-radius: 8px;
background: #f5f5f5;
font-size: 1rem;
transition: 0.3s ease;
animation: inputBounce 0.8s ease-in-out; /* Bounce animation on focus */
}
input:focus {
outline: none;
background: #e0e0e0;
box-shadow: 0 0 10px #00BFA6;
transform: scale(1.05); /* Slight scaling effect when focused */
}
/* Buttons */
button {
width: 100%;
padding: 12px;
border: none;
margin-top: 13px;
border-radius: 50px;
background: linear-gradient(90deg, #007bff, #00BFA6);
color: white;
font-size: 1rem;
cursor: pointer;
transition: 0.4s ease;
animation: buttonFadeIn 0.8s ease-in-out; /* Fade-in effect */
}
button:hover {
background: linear-gradient(90deg, #6f42c1, #00BFA6);
transform: scale(1.05); /* Scaling effect on hover */
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}
/* Link Text */
p {
margin-top: 22px;
font-size: 1rem;
text-align: center;
}
a {
color: #00BFA6;
text-decoration: none;
font-weight: bold;
transition: 0.3s ease;
}
a:hover {
color: #6f42c1;
text-decoration: underline; /* Underline effect on hover */
}
/* Google Button */
.google-btn {
display: flex;
margin-top: 20px;
align-items: center;
justify-content: center;
gap: 10px;
background: white;
color: #000;
border: 1px solid #ddd;
width: 100%;
padding: 12px;
border-radius: 50px;
font-size: 1rem;
cursor: pointer;
transition: 0.3s ease;
animation: googleBtnFadeIn 1s ease-in-out; /* Fade-in animation */
}
.google-btn img {
width: 30px;
height: 30px;
}
/* Hover Effect on Google Button */
.google-btn:hover {
background: #f5f5f5;
box-shadow: 0 0 15px rgba(0, 191, 166, 0.6); /* Glowing effect */
transform: scale(1.05); /* Slight scale to make it feel like it’s lifting */
transition: 0.4s ease;
}
/* Active / Clicked Effect on Google Button */
.google-btn:active {
background: #e0e0e0;
transform: scale(0.97); /* Shrinks the button slightly to give a click effect */
box-shadow: 0 0 20px rgba(0, 191, 166, 0.8); /* Stronger glowing shadow */
animation: pulseEffect 0.6s ease-in-out; /* Pulse effect on click */
}
/* Google Button Focus (For accessibility) */
.google-btn:focus {
outline: none;
box-shadow: 0 0 15px rgba(0, 191, 166, 1); /* Brighter glow on focus for accessibility */
}
.login-btn1{
margin-top: -10px;
}
#google-btn1{
margin-top: -1px;
}
.password{
margin-top: -19px;
}
/* Pulse Effect Animation */
@keyframes pulseEffect {
0% {
transform: scale(0.97);
}
50% {
transform: scale(1.05); /* Expands slightly */
}
100% {
transform: scale(0.97);
}
}
/* Fade-in Animation */
@keyframes googleBtnFadeIn {
0% {
opacity: 0;
transform: translateY(20px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
/* Animations */
@keyframes bodyFadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes containerSlideIn {
0% {
opacity: 0;
transform: translateY(-50px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeInUp {
0% {
opacity: 0;
transform: translateY(30px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}
@keyframes inputBounce {
0% {
transform: scale(1);
}
30% {
transform: scale(1.05);
}
50% {
transform: scale(1);
}
100% {
transform: scale(1);
}
}
@keyframes buttonFadeIn {
0% {
opacity: 0;
transform: translateY(20px);
}
100% {
opacity: 1;
transform: translateY(0);
}
}