-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
238 lines (200 loc) · 4.51 KB
/
styles.css
File metadata and controls
238 lines (200 loc) · 4.51 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
/* Custom CSS for fieldCanvas Portfolio */
/* Blob Animation */
@keyframes blob {
0% {
transform: translate(0px, 0px) scale(1);
}
33% {
transform: translate(30px, -50px) scale(1.1);
}
66% {
transform: translate(-20px, 20px) scale(0.9);
}
100% {
transform: translate(0px, 0px) scale(1);
}
}
.animate-blob {
animation: blob 7s infinite;
}
.animation-delay-2000 {
animation-delay: 2s;
}
.animation-delay-4000 {
animation-delay: 4s;
}
/* Smooth scrolling */
html {
scroll-behavior: smooth;
}
/* Custom scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #c1c1c1;
border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
background: #a8a8a8;
}
/* Enhanced button hover effects */
.group:hover .group-hover\:scale-105 {
transform: scale(1.05);
}
/* Card hover animations */
.group:hover .group-hover\:shadow-2xl {
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
/* Smooth transitions for all interactive elements */
* {
transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
/* Enhanced focus states for accessibility */
a:focus,
button:focus {
outline: 2px solid #3b82f6;
outline-offset: 2px;
}
/* Custom gradient text effect for main heading */
.text-gradient {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* Floating animation for subtle elements */
@keyframes float {
0%, 100% {
transform: translateY(0px);
}
50% {
transform: translateY(-10px);
}
}
.float-animation {
animation: float 3s ease-in-out infinite;
}
/* Pulse animation for interactive elements */
@keyframes pulse-soft {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.8;
}
}
.pulse-soft {
animation: pulse-soft 2s ease-in-out infinite;
}
/* Enhanced card shadows */
.shadow-custom {
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
/* Responsive text sizing */
@media (max-width: 640px) {
.text-responsive {
font-size: 1.875rem;
line-height: 2.25rem;
}
}
@media (min-width: 641px) and (max-width: 1024px) {
.text-responsive {
font-size: 2.25rem;
line-height: 2.5rem;
}
}
@media (min-width: 1025px) {
.text-responsive {
font-size: 3rem;
line-height: 1;
}
}
/* Loading animation for images */
.image-loading {
background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
background-size: 200% 100%;
animation: loading 1.5s infinite;
}
@keyframes loading {
0% {
background-position: 200% 0;
}
100% {
background-position: -200% 0;
}
}
/* Hover effect for project cards */
.project-card {
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-card:hover {
transform: translateY(-8px);
}
/* Custom button styles */
.btn-primary {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
transition: all 0.3s ease;
}
.btn-primary:hover {
background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}
/* Enhanced typography */
.font-inter {
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
/* Smooth page transitions */
.page-transition {
opacity: 0;
animation: fadeIn 0.6s ease-in-out forwards;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Mobile-first responsive design */
@media (max-width: 768px) {
.container {
padding-left: 1rem;
padding-right: 1rem;
}
.header-padding {
padding-top: 4rem;
padding-bottom: 4rem;
}
}
/* High contrast mode support */
@media (prefers-contrast: high) {
.bg-gray-50 {
background-color: #ffffff;
}
.text-gray-600 {
color: #000000;
}
.border-gray-200 {
border-color: #000000;
}
}
/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
.animate-blob {
animation: none;
}
}