-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
399 lines (315 loc) · 6.13 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
/* navbar scroll */
.navbarScroll.navbarDark {
background-color: rgb(0, 0, 0);
}
.nav-link, .dropdown-item {
color: rgb(111, 111, 237) !important;
}
.nav-link:hover, .dropdown-item:hover {
color: #e01313 !important;
}
/* hero background image */
.bgimage {
height: 100vh;
background-size: cover;
}
/* Background Stars Animation */
#stars {
background: rgb(111, 111, 237);
position: relative;
width: 100%;
height: 100vh;
margin: 0;
padding: 0;
box-sizing: border-box;
}
.block {
position: relative;
height: 100%;
background-image: radial-gradient(circle at 50% 90%,
#385c78,
#011735 79%,
#010e1f);
overflow: hidden;
box-sizing: border-box;
}
.block:after {
position: absolute;
content: "";
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url("./heroImg.png");
background-size: cover;
animation: stars 10s linear infinite alternate;
}
.block:before {
position: absolute;
content: "";
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url("./heroImgg.png");
background-size: cover;
animation: stars 30s linear infinite alternate;
}
@keyframes stars {
0% {
-webkit-transform: rotate(-14deg);
transform: rotate(-14deg);
}
100% {
-webkit-transform: rotate(14deg);
transform: rotate(14deg);
}
}
/* Wave Animation */
.wave {
animation-name: wave-animation;
/* Refers to the name of your @keyframes element below */
animation-duration: 2.5s;
/* Change to speed up or slow down */
animation-iteration-count: infinite;
/* Never stop waving :) */
transform-origin: 70% 70%;
/* Pivot around the bottom-left palm */
display: inline-block;
}
@keyframes wave-animation {
0% {
transform: rotate(0.0deg)
}
10% {
transform: rotate(14.0deg)
}
/* The following five values can be played with to make the waving more or less extreme */
20% {
transform: rotate(-8.0deg)
}
30% {
transform: rotate(14.0deg)
}
40% {
transform: rotate(-4.0deg)
}
50% {
transform: rotate(10.0deg)
}
60% {
transform: rotate(0.0deg)
}
/* Reset for the last half to pause */
100% {
transform: rotate(0.0deg)
}
}
/* Scroll Down Animation */
.box {
position: absolute;
top: 117%;
left: 50%;
transform: translate(-50%, -50%);
}
.box span {
display: block;
width: 20px;
height: 20px;
border-bottom: 2px solid white;
border-right: 2px solid white;
transform: rotate(45deg);
margin: -10px;
animation: animate 2s infinite;
}
.box span:nth-child(2) {
animation-delay: -0.2s;
}
.box span:nth-child(3) {
animation-delay: -0.4s;
}
@keyframes animate {
0% {
opacity: 0;
transform: rotate(45deg) translate(-20px, -20px);
}
50% {
opacity: 1;
}
100% {
opacity: 0;
transform: rotate(45deg) translate(20px, 20px);
}
}
/* Hero Shiny Text Animation */
.text-animation {
text-align: center;
text-transform: uppercase;
letter-spacing: 5px;
background: linear-gradient(90deg, #000, #f5f5f5, #000);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-repeat: no-repeat;
background-size: 80%;
position: relative;
animation: shine 8s ease-in-out infinite;
}
.text-animation h1 {
font-size: 50px;
margin-bottom: 20px;
}
.text-animation p {
font-size: 25px;
font-weight: 600;
}
@keyframes shine {
from {
background-position-x: -500%;
}
to {
background-position-x: 500%;
}
}
#res {
color: white;
}
/* Resume Background Stars Animation */
#resume {
background-color: black;
background-image: url("./stardust.png");
animation: glows 30s linear infinite;
padding-bottom: 2.5em;
;
}
@keyframes glows {
0% {
background-position: 0 0;
}
100% {
/* the size of the background image */
background-position: 798px -798px;
}
}
/* Extra styles */
body {
font-size: 3.5em
}
h1 {
font-size: 0.5em
}
/* text css above hero image*/
.hero_title {
font-size: 4.5rem;
}
.hero_desc {
font-size: 2.5rem;
text-align: center;
}
.hero-text {
text-align: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
}
/* spacing on all sections */
#about, #resume, #skills, #contact {
padding-top: 7rem;
padding-bottom: 7rem;
}
/* about section Image CSS */
.imageAboutPage {
width: 100%;
padding-bottom: 4em;
}
/* Resume Section CSS */
.servicesText.card {
height: 280px;
cursor: pointer;
}
.servicesIcon {
font-size: 50px;
text-align: center;
width: 100%;
}
.card-title {
text-align: center;
}
.card:hover .servicesIcon {
color: rgb(111, 111, 237);
}
.servicesText:hover {
border: 1px solid rgb(111, 111, 237);
}
/* Resume Section Button Styling */
.btn-primary,
.btn-primary:active,
.btn-primary:visited {
background-color: #6f6fed !important;
border-color: #20201f !important;
}
.btn-primary:hover {
background-color: #e01313 !important;
}
/* Portfolio Section Styling */
.card-img-top:hover {
opacity: 0.5;
}
.card:hover {
transform: scale(1.05);
box-shadow: 0 10px 20px rgba(0, 0, 0, .12), 0 4px 8px rgba(0, 0, 0, .06);
}
.card-img-top:hover {
border: 4px solid #d10b0b !important;
padding: 10px;
box-shadow: 7px 10px rgb(165, 92, 243);
}
#skills {
padding-top: 7em;
background-color: rgb(111, 111, 237);
}
.btn-success,
.btn-success:active,
.btn-success:visited {
background-color: #6f6fed !important;
border-color: #20201f !important;
}
.btn-success:hover {
background-color: #e01313 !important;
}
/* Contact me section map styling */
#embedmap-canvas img {
max-width: none !important;
background: none !important;
font-size: inherit;
font-weight: inherit;
}
/* social media icons styling in footer */
.social-icons {
font-size: 36px;
cursor: pointer;
}
.fa-facebook:hover, .fa-instagram:hover, .fa-twitter:hover, .fa-linkedin:hover, .fa-twitch:hover {
color: #aa9ae9;
}
.fa {
color: rgb(111, 111, 237);
}
/* footer styling */
input[type=text] {
border: 2px solid red;
border-radius: 4px;
}
input[type=email] {
border: 2px solid red;
border-radius: 4px;
}
textarea[name=text] {
border: 2px solid red;
border-radius: 4px;
}
#footer {
background-color: #000000;
text-align: center;
}