-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.css
86 lines (68 loc) · 1.56 KB
/
about.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
body {
background: #020617;
font-family: 'Cherry Swash', serif
!important;
}
@keyframes pulse {
0% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
100% {
transform: scale(1);
}
}
.first-text, .second-text , .third-text {
opacity: 0; /* Hide all texts before the animation starts */
animation-fill-mode: forwards; /* Keep the final state after the animation ends */
}
.first-text {
animation: fadeIn 0.7s ease-in-out forwards; /* First text appears immediately */
}
.second-text {
animation: fadeIn 0.7s ease-in-out forwards 0.7s; /* Second text appears after 0.7s */
}
.third-text {
animation: fadeSlideIn 0.7s ease-in-out forwards 1.4s; /* Second text appears after 0.7s */
}
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
@keyframes fadeSlideIn {
0% {
opacity: 0;
transform: translateY(30px);
}
100% {
opacity: 1;
transform: translateX(0); /* Move the text back to its original position */
}
}
.contact-btn {
opacity: 0;
animation: fadeSlideIn 1s ease-in-out 1.5s forwards,pulse 1s infinite;
box-shadow: 0px 10px 20px rgba(255, 193, 7, 0.6);
}
#text{
font-size: 22px !important;
}
@media (max-width: 500px) {
#text {
font-size: 14px !important;
white-space: normal !important;
overflow-wrap: break-word !important;
}
.text2 {
font-size: 10px !important;
}
#name {
height: 45px !important;
}
}