-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
143 lines (122 loc) · 2.62 KB
/
Copy pathstyles.css
File metadata and controls
143 lines (122 loc) · 2.62 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
body {
background: linear-gradient(135deg, #1e293b, #334155);
min-height: 100vh;
overflow-y: auto;
scroll-behavior: smooth;
}
.glass-effect {
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.text-shadow {
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.nav-glass {
background: rgba(30, 41, 59, 0.95);
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
section {
scroll-margin-top: 5rem;
}
.newsletter-floating-btn {
position: fixed;
top: 50%;
right: 2rem;
transform: translateY(-50%);
z-index: 40;
padding: 1rem 1.5rem;
border-radius: 2rem;
background: linear-gradient(135deg, #4f46e5, #22d3ee);
border: 2px solid rgba(255, 255, 255, 0.2);
box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
text-decoration: none;
transition: all 0.3s ease;
animation: newsletter-glow 3s ease-in-out infinite;
color: white;
}
.newsletter-floating-btn:hover {
transform: translateY(-50%) scale(1.05);
box-shadow: 0 15px 35px rgba(79, 70, 229, 0.6);
border-color: rgba(255, 255, 255, 0.4);
}
.newsletter-floating-btn .newsletter-text {
transition: transform 0.3s ease;
}
.newsletter-floating-btn:hover .newsletter-text {
transform: translateX(2px);
}
@keyframes newsletter-glow {
0%,
100% {
box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
}
50% {
box-shadow: 0 15px 35px rgba(79, 70, 229, 0.6);
}
}
@media (max-width: 768px) {
.newsletter-floating-btn {
right: 1rem;
padding: 0.75rem 1rem;
font-size: 0.875rem;
border-radius: 1.5rem;
min-width: 120px;
}
.newsletter-floating-btn .newsletter-text {
display: block;
}
.newsletter-floating-btn .newsletter-text .text-sm {
font-size: 0.75rem;
}
.newsletter-floating-btn .newsletter-text .text-xs {
font-size: 0.625rem;
}
}
.back-to-top {
position: fixed;
bottom: 2rem;
right: 2rem;
z-index: 40;
transition: opacity 0.3s;
}
@media (prefers-reduced-motion: no-preference) {
.transition-colors {
transition: color 0.15s ease;
}
}
.social-icon {
transition: all 0.3s ease;
position: relative;
}
.social-icon:hover {
transform: scale(1.2) rotate(8deg);
}
.social-icon::after {
content: "";
position: absolute;
top: -5px;
left: -5px;
right: -5px;
bottom: -5px;
border-radius: 9999px;
background: rgba(34, 211, 238, 0.2);
z-index: -1;
opacity: 0;
transition: all 0.3s ease;
}
.social-icon:hover::after {
opacity: 1;
box-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
}
@keyframes pulse {
0%,
100% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
}
.pulse-on-load {
animation: pulse 2s ease-in-out infinite;
}