forked from ANSHIKA-26/WordWise
-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact_us.css
436 lines (373 loc) · 9.97 KB
/
contact_us.css
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
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
/* Dark mode */
/* Default light mode colors */
:root {
--background-color: rgb(244, 237, 227);
--text-color: rgb(59, 59, 88);
--header-bg: lightgray;
}
h2 {
color: var(--text-color);
}
/* Dark mode colors */
[data-theme="dark"] {
--background-color: #171717;
--text-color: #f2dede;
--header-bg: #1c1c1c;
}
p {
color: var(--text-color);
}
/* Body styles */
body {
font-family: 'Poppins', sans-serif;
background-color: var(--background-color);
margin: 0;
}
/* Container */
.container {
max-width: 600px;
margin: 0 auto;
background: white;
padding: 20px;
margin-top: 30px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease, transform 0.2s; /* Added transition for container */
}
.container:hover {
transform: translateY(-5px); /* Slight upward movement on hover */
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Increased shadow on hover */
}
/* Form styles */
.container p {
font-size: small;
margin: 0 60px;
color: #555;
font-family: 'Poppins';
}
.form-group {
margin-bottom: 15px;
}
label {
display: block;
margin-bottom: 5px;
color: #555;
}
/* Input styles */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
width: 100%;
padding: 15px; /* Increased padding */
border: 1px solid #939393; /* Updated border color */
border-radius: 8px; /* Increased border radius */
box-sizing: border-box;
font-size: 16px; /* Increased font size */
transition: border-color 0.3s; /* Added transition for interaction */
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
border-color: #ea5541; /* Change border color on focus */
outline: none; /* Remove default outline */
}
/* Textarea */
textarea {
resize: vertical;
}
/* Button styles */
button {
background-color: #ea5541; /* Updated button background color */
color: white;
padding: 15px 20px; /* Increased padding */
border: none;
border-radius: 8px; /* Increased border radius */
cursor: pointer;
width: 100%;
font-size: 18px; /* Increased font size */
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Added shadow */
transition: background-color 0.3s, transform 0.2s; /* Added transition */
}
button:hover {
background-color: #d94a38; /* Slightly darker shade on hover */
transform: translateY(-1px); /* Lift effect on hover */
}
/* Message styling */
.message {
color: #28a745;
text-align: center;
margin-top: 15px;
}
/* Import Montserrat font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;400;700;900&display=swap');
/* Global styles */
* {
font-family: "Montserrat", sans-serif;
box-sizing: border-box; /* Added for better box model handling */
margin: 0; /* Reset margin */
padding: 0; /* Reset padding */
}
/* Responsive Design */
@media (max-width: 768px) {
.nav-menu ul {
flex-direction: column;
gap: 10px;
}
.nav-menu ul li a {
text-align: center;
padding: 10px;
width: 100%; /* Ensures full-width for small screens */
}
}
.auth-buttons {
display: flex;
gap: 10px;
}
.auth-buttons .login-btn,
.auth-buttons .signup-btn {
text-decoration: none;
font-size: 1rem;
font-weight: 600;
padding: 8px 15px;
border-radius: 5px;
transition: background-color 0.3s ease;
}
.auth-buttons .login-btn {
background-color: var(--background-color);
color: var(--text-color);
}
.auth-buttons .signup-btn {
background-color: var(--background-color);
color: var(--text-color);
}
.auth-buttons .login-btn:hover {
background-color: var(--background-color);
}
.auth-buttons .signup-btn:hover {
background-color: var(--background-color);
}
.toggle-mode {
display: flex;
align-items: center;
gap: 5px;
}
.toggle-mode label {
font-size: 1rem;
color: var(--text-color);
}
input[type="checkbox"] {
transform: scale(1.2);
}
/* Navigation styling */
.nav-links {
display: flex;
gap: 20px; /* Space between links */
margin-left: auto; /* Push links to the right */
}
nav a:hover {
background-color: rgb(195, 164, 218); /* Slightly increased hover opacity */
}
.active-page {
color: #EEC48B;
background: rgba(159, 159, 159, 0.2);
}
/* Dropdown button styles */
.dropdown {
position: relative;
display: inline-block;
}
.dropdown-content {
display: none;
position: absolute;
background-color: var(--background-color);
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 1;
}
.dropdown:hover .dropdown-content {
display: block;
}
/* Dark mode styling */
body.dark {
background-color: var(--background-color);
}
body.dark h1,
body.dark .support a {
color: var(--text-color);
}
/* Checkbox for theme switcher */
.checkbox {
opacity: 0;
position: absolute;
}
.checkbox-label {
background-color: var(--background-color);
width: 50px;
height: 26px;
border-radius: 50px;
position: relative;
padding: 5px;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
}
/* Form Popup */
.form-popup {
display: none;
position: fixed;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
background-color: white;
border: 1px solid #888;
z-index: 9;
width: 300px;
padding: 20px;
box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
transition: all 0.3s ease; /* Added transition for popup */
}
.form-container h2 {
margin-bottom: 15px;
font-size: 24px;
}
.form-container input[type="email"],
.form-container input[type="password"],
.form-container input[type="text"] {
width: 100%;
padding: 15px; /* Increased padding */
margin: 5px 0 15px 0;
border: 1px solid #ccc;
border-radius: 8px; /* Increased border radius */
font-size: 16px; /* Increased font size */
}
/* Button styles */
.form-container .btn {
background-color: #3be56b;
color: rgb(255, 255, 255);
padding: 15px; /* Increased padding */
margin: 5px;
width: 100%;
border: none;
border-radius: 8px; /* Increased border radius */
cursor: pointer;
font-size: 18px; /* Increased font size */
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Added shadow */
transition: background-color 0.3s, transform 0.2s; /* Added transition */
}
.form-container .btn:hover {
background-color: #218838;
transform: translateY(-1px); /* Lift effect on hover */
}
.form-container .cancel {
background-color: #ec6371;
}
.form-container .cancel:hover {
background-color: #c82333;
}
/* Center icons styling */
.center-icons {
display: flex; /* Enable flexbox */
justify-content: center; /* Center items horizontally */
align-items: center; /* Center items vertically */
flex-wrap: wrap; /* Allow items to wrap if necessary */
gap: 30px; /* Increased space between the icons */
}
.circle-icon {
display: flex; /* Use flexbox for centering */
align-items: center; /* Center the icon vertically */
justify-content: center; /* Center the icon horizontally */
width: 70px; /* Increased icon circle size */
height: 70px; /* Increased icon circle size */
border-radius: 50%; /* Circle shape */
background-color: #f0f0f0; /* Light gray background */
transition: background-color 0.3s, transform 0.3s; /* Added transitions */
cursor: pointer; /* Change cursor on hover */
}
.circle-icon:hover {
background-color: #e0e0e0; /* Change background color on hover */
transform: scale(1.15); /* Increase size more on hover */
}
.circle-icon img {
width: 60px; /* Increased icon size */
height: 60px; /* Increased icon size */
transition: transform 0.3s; /* Added transition for icon */
}
.circle-icon:hover img {
transform: translateY(-5px); /* Move icon up on hover */
}
/* Toggle icons for login and signup */
.toggle-icon {
display: flex; /* Enable flexbox for positioning */
justify-content: center; /* Center the icon horizontally */
align-items: center; /* Center the icon vertically */
cursor: pointer; /* Change cursor on hover */
transition: transform 0.3s; /* Add transition for rotation */
}
.toggle-icon:hover {
transform: rotate(360deg); /* Rotate icon on hover */
}
.tags.social {
display: flex;
justify-content: center; /* Center the icons */
/* Space above icons */
}
.circle-icon {
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
width: 80px; /* Increased width */
height: 80px; /* Increased height */
margin: 10px; /* Space between icons */
transition: background-color 0.3s, transform 0.3s; /* Smooth transition */
color: #007bff; /* Icon color */
}
.circle-icon i {
font-size: 32px; /* Increased icon size */
}
.circle-icon:hover {
background-color: rgba(0, 123, 255, 0.1); /* Light background on hover */
transform: scale(1.1); /* Scale effect on hover */
}
.fade-in {
opacity: 0; /* Start invisible */
transform: translateY(20px); /* Start slightly lower */
animation: fadeIn 0.5s forwards; /* Animation details */
}
@keyframes fadeIn {
to {
opacity: 1; /* End fully visible */
transform: translateY(0); /* Move to original position */
}
}
/* Optional: Add a delay for a staggered effect */
.fade-in:nth-child(1) {
animation-delay: 0.2s; /* Delay for the header */
}
.fade-in:nth-child(2) {
animation-delay: 0.4s; /* Delay for the paragraph */
}
.d-flex-gap {
display: flex;
gap: 15px; /* Space between buttons */
flex-wrap: wrap; /* Wrap items to the next line if necessary */
justify-content: center; /* Center the buttons horizontally */
}
.category-btn {
padding: 12px 20px; /* Padding for a better touch target */
background-color: #ec8791; /* Primary color from the palette */
color: #11080800; /* White text color */
border: 2px solid transparent; /* Transparent border for hover effect */
border-radius: 5px; /* Rounded corners */
transition: background-color 0.3s, color 0.3s, border-color 0.3s; /* Smooth transitions */
text-decoration: none; /* Remove underline */
font-size: 16px; /* Font size */
}
.category-btn:hover {
background-color:#ec8791; /* Darker shade on hover */
color: #060606; /* Keep text color white on hover */
border-color: #ec8791; /* Maintain the border color on hover */
}