-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
526 lines (452 loc) · 9.21 KB
/
style.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
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
* {
margin: 0;
padding: 0;
}
.shadowl {
filter: brightness(120%);
filter: contrast(120%);
filter: drop-shadow(5px 5px 3px #4976b6);
}
/*Here I design scroll bar*/
::-webkit-scrollbar {
width: 0.7rem;
transition: transform 0.5s ease;
}
::-webkit-scrollbar-thumb {
background: blueviolet;
border-radius: 4px;
}
::-webkit-scrollbar-track {
background: #cbc6ff;
}
::-webkit-scrollbar-thumb:hover {
background: #ff4d4d;
border-radius: 4px;
}
/*Scroll bar CSS ends here.*/
::selection {
background-color: blueviolet;
}
::-webkit-scrollbar-corner {
color: #0053bd;
}
.resume:hover {
background-color: rgb(5, 236, 63);
box-shadow: 0 0 5px #26ff31, 0 0 15px #26ff31, 0 0 20px #26ff31,
0 0 100px #26ff31;
}
.resume {
margin: 0;
border: 0;
text-decoration: none;
color: white;
border: 2px solid rgb(5, 236, 63);
padding: 5px 15px;
border-radius: 10px;
transition: background-color 0.5s ease;
font-weight: bold;
}
.whatsapp {
position: fixed;
width: 50px;
height: 50px;
padding-top: 11px;
right: 20px;
bottom: 15px;
z-index: 999999;
}
.ccc {
position: fixed;
width: 150px;
height: 160px;
right: 20px;
bottom: 75px;
z-index: 999999;
}
.whatsapp + a {
display: none;
opacity: 0;
}
.whatsapp:hover + a {
display: block;
opacity: 1;
cursor: pointer;
}
.ccc:hover {
display: block;
opacity: 1;
}
.whatsapp:hover {
cursor: pointer;
}
.inline {
display: block;
}
code {
color: white;
font-weight: 900;
}
#color {
color: white;
}
.contact_icon {
font-size: 3rem;
}
.card-texft {
margin-top: 2rem;
}
.email-icon {
width: 24px;
height: 24px;
fill: currentColor;
}
.email-icon {
width: 48px;
height: 48px;
fill: blue;
}
.contact_partition {
text-align: center;
align-content: center;
justify-content: center;
}
.grid_margin {
margin: 30px;
}
.contact_partition:first-child {
margin-right: 10px; /* Adjust the gap size as needed */
}
.contact_partition:last-child {
margin-left: 10px; /* Adjust the gap size as needed */
}
#contact {
margin: 50px;
}
.contact_partition {
margin: 5000px;
}
.card-title {
height: 5vh;
}
.card-text {
height: 7vh;
/* Adjust the maximum height as needed */
overflow: auto;
/* Add scrollbars when content overflows */
}
.imgicon {
width: 35px;
height: 35px;
}
.progress {
color: #00cf5d;
height: 40px;
flex-grow: 1;
/* Let the progress bar grow to fill available space */
border-radius: 0 10px 10px 0;
}
.flex-con {
display: flex;
height: 20px;
/* align-items: center; Align items vertically to the center */
justify-content: center;
/* Align items horizontally to the center */
align-items: flex-end;
margin-top: 50px;
flex-wrap: nowrap;
transition: transform 0.7s;
}
.flex-con:hover {
transform: scale(1.05);
/* Zoom in by 10% */
}
.div1 {
height: 40px;
color: #007bff;
background-color: white;
font-size: 20px;
padding-top: 1px;
padding-bottom: 19px;
padding-left: 15px;
padding-right: 15px;
border-radius: 10px 0 0 10px;
}
.div3 {
min-width: 40vw;
}
.project-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
grid-gap: 50px;
}
.project {
width: 100%;
}
.grid-container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
padding: 20px;
}
.paragraph {
grid-column: 2 / 3;
}
.image {
grid-column: 1 / 2;
text-align: center;
}
.imgpro {
filter: grayscale(70%);
max-width: 50%;
min-width: 200px;
height: auto;
}
/* Media query for smaller screens */
@media screen and (max-width: 768px) {
.grid-container {
grid-template-columns: 1fr;
/* Single column layout */
}
.paragraph,
.image {
grid-column: 1;
/* Both elements should start from the first column */
}
}
.image-cont {
transition: transform 0.3s ease;
/* Add a smooth transition to the zoom effect */
}
.imgpro {
transition: all 1s ease;
/* Add a smooth transition to the zoom effect */
}
.image-cont:hover .imgpro {
filter: grayscale(0%);
transform: scale(1.15);
/* Zoom in the image on hover */
}
/* Apply styles for the link button */
.mybutton {
display: inline-block;
padding: 15px 30px;
background-color: #0053bd;
/* Set the background color */
color: #ffffff;
/* Set the text color */
text-decoration: none;
/* Remove underline */
border: none;
/* Remove border */
border-radius: 10px;
/* Add border radius for rounded corners */
margin-block-end: 10px;
transition: background-color 0.5s ease;
}
/* Apply styles when the link button is hovered */
.mybutton:hover {
background-color: #0056b3;
/* Change the background color on hover */
}
/* Style for the list container */
.list-container {
display: flex;
/* Use flexbox to display lists side by side */
}
/* Style for the list items */
.side-by-side {
color: #00cf5d;
margin: 0;
/* Remove default margin */
padding: 0;
/* Remove default padding */
}
.side-by-side li {
padding: 8px;
/* Add some padding to separate list items */
}
/* Add the CSS for sticky-top navbar */
.navbar {
position: fixed;
top: 0;
width: 100%;
z-index: 1000;
transition: top 0.4s;
/* Add a smooth transition effect for hiding/showing the navbar */
}
/* Add some padding to the body so that content doesn't go behind the navbar */
body {
padding-top: 70px;
}
.about-me {
margin-left: 100px;
}
/* Add the following CSS styles for the custom-card class */
.custom-card {
transition: box-shadow 0.3s, transform 0.3s;
/* Add transition effect for box-shadow and transform */
}
.custom-card:hover {
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
/* Add a shadow effect when hovering */
transform: scale(1.05);
/* Zoom in the card a little when hovering */
}
.bcurve {
margin: auto;
border-radius: 15px;
}
/* Custom styles for the selected and unselected tabs */
.nav-pills .nav-item .nav-link.active {
background-color: #6716f3;
color: white;
}
.nav-pills .nav-item .nav-link {
color: #c7a9f9;
/* transition: all 2s ease-in-out; */
}
.nav-pills .nav-item {
transition: all 0.3s ease-in-out;
}
.nav-pills .nav-item:hover {
text-shadow: 0 0 5px #8f4eff, 0 0 15px #8f4eff, 0 0 20px #8f4eff,
0 0 100px #8f4eff;
}
.image-container {
width: 280px;
height: 185px;
background-color: #2b3d57;
display: flex;
justify-content: center;
align-items: center;
}
/*ihov means icon hover. I add this for change icon (github and link redirect) on hover*/
/* Customize the icon color to white */
.ihov {
color: #ffffff;
}
/* Add the transition effect */
.ihov {
transition: color 0.5s ease;
}
/* Add the hover effect */
.ihov:hover {
color: #00ff00;
/* Green color */
}
.container {
display: flex;
align-items: center;
justify-content: center;
}
.green-eye {
color: #00cf5d;
}
.bod {
padding: 20px;
}
body {
position: relative;
font-family: Arial, sans-serif;
line-height: 1.6;
background-color: #212c3b;
color: #ffffff;
}
#pageContent {
display: block;
}
footer {
background-color: #2b3d57;
text-align: center;
padding: 2rem;
}
/*Input start*/
input {
border: 4px solid #b6fc66;
/* Set the border style */
border-color: rgb(227, 255, 11);
/* Set the border color */
border-radius: 10px;
font-size: 16px;
padding: 10px;
margin-block-end: 10px;
}
input:hover {
border-color: rgb(90, 24, 151);
/* Set the desired hover border color */
}
input:focus {
outline: none;
/* Remove the default focus outline */
border-color: rgb(0, 224, 30);
/* Set the desired focus border color */
}
/*Input END*/
.carde {
position: relative;
width: 300px;
height: 350px;
margin: 20px;
}
.carde .face {
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
border-radius: 10px;
overflow: hidden;
transition: 0.5s;
}
.carde .front {
transform: perspective(600px) rotateY(0deg);
box-shadow: 0 5px 10px #000;
}
.carde .front img {
position: absolute;
width: 100%;
height: 100%;
object-fit: cover;
}
.carde .front h3 {
position: absolute;
bottom: 0;
width: 100%;
height: 45px;
line-height: 45px;
color: #fff;
background: rgba(0, 0, 0, 0.4);
text-align: center;
}
.carde .back {
transform: perspective(600px) rotateY(180deg);
background: rgb(3, 35, 54);
padding: 15px;
color: #f3f3f3;
display: flex;
flex-direction: column;
justify-content: space-between;
text-align: center;
box-shadow: 0 5px 10px #000;
}
.carde .back .link {
border-top: solid 1px #f3f3f3;
height: 50px;
line-height: 50px;
}
.carde .back .link a {
color: #f3f3f3;
}
.carde .back h3 {
font-size: 30px;
margin-top: 20px;
letter-spacing: 2px;
}
.carde .back p {
letter-spacing: 1px;
}
.carde:hover .front {
transform: perspective(600px) rotateY(180deg);
}
.carde:hover .back {
transform: perspective(600px) rotateY(360deg);
}