-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
216 lines (191 loc) · 3.87 KB
/
styles.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
/* Reset and Base Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
margin: 0;
font-family: 'Inter', sans-serif;
background: #172554;
color: #fff;
min-height: 100vh;
display: flex;
flex-direction: column;
}
.top-bar {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 40px;
backdrop-filter: blur(8px);
background: rgba(30, 58, 138, 0.3);
padding: 16px 24px;
border-radius: 16px;
position: fixed; /* Ensure fixed position if desired */
top: 20px;
left: 50%;
transform: translateX(-50%);
width: calc(100% - 64px);
z-index: 1000;
}
/* Song Search Styles */
.song-search {
background-color: rgba(30, 58, 138, 0.5);
border-radius: 12px;
padding: 12px 20px;
width: 320px;
display: flex;
align-items: center;
transition: all 0.2s ease;
}
.song-search:focus-within {
background-color: rgba(30, 58, 138, 0.8);
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}
.song-search input {
background: transparent;
border: none;
color: white;
width: 100%;
padding-left: 12px;
outline: none;
font-family: 'Inter', sans-serif;
font-size: 14px;
margin-left: 2px;
}
.song-search img {
width: 20px;
height: 20px;
margin-right: 12px;
}
.nav-links {
display: flex;
gap: 32px;
}
.nav-links a {
color: #9ca3af;
text-decoration: none;
font-size: 14px;
font-weight: 500;
transition: all 0.2s ease;
position: relative;
}
.nav-links a:hover {
color: #fff;
}
.nav-links a.active {
color: white;
font-weight: 600;
}
.nav-links a.active::after {
content: '';
position: absolute;
bottom: -4px;
left: 0;
width: 100%;
height: 2px;
background: #3b82f6;
border-radius: 2px;
}
/* Profile Icon Styles */
.profile-icon {
width: 36px;
height: 36px;
border-radius: 50%;
background: linear-gradient(135deg, #3b82f6, #9333ea);
margin: 5px;
margin-right: 10px;
transition: all 0.2s ease;
}
.profile-icon:hover {
transform: scale(1.1);
}
/* Main Container Styles */
.main-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 120px 2rem 4rem;
max-width: 1200px;
margin: 0 auto;
min-height: 100vh;
}
/* Title Styles */
.title h1 {
font-family: 'Press Start 2P', Arial, sans-serif;
font-size: clamp(2rem, 5vw, 4rem);
margin: 0 0 3rem;
color: white;
text-shadow: 0 0 20px rgba(82, 113, 255, 0.5);
animation: glow 2s ease-in-out infinite alternate;
}
/* Button Container Styles */
.button-container {
display: flex;
gap: 1.5rem;
margin-top: 2rem;
}
/* Button Styles */
button {
background: linear-gradient(135deg, #5271ff 0%, #3b82f6 100%);
border: none;
color: white;
font-size: 1.1rem;
font-weight: 600;
padding: 1rem 2rem;
border-radius: 12px;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
button:hover {
transform: translateY(-2px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
background: linear-gradient(135deg, #4c66e6 0%, #3575e0 100%);
}
.search-button {
background: #3b82f6;
border: none;
border-radius: 10px;
padding: 10px 20px;
color: white;
margin-left: 12px;
cursor: pointer;
transition: all 0.2s ease;
font-family: 'Inter', sans-serif;
font-weight: 500;
font-size: 14px;
}
.search-button:hover {
background: #2563eb;
transform: translateY(-1px);
}
@keyframes glow {
from {
text-shadow: 0 0 20px rgba(82, 113, 255, 0.5);
}
to {
text-shadow: 0 0 30px rgba(82, 113, 255, 0.8);
}
}
/* Responsive Design */
@media (max-width: 768px) {
.top-bar {
flex-direction: column;
align-items: flex-start;
padding: 12px 16px;
width: calc(100% - 32px);
}
.nav-links {
gap: 16px;
margin-top: 12px;
}
.song-search {
width: 100%;
}
.main-container {
padding: 6rem 1rem 2rem;
}
}