-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
252 lines (202 loc) · 6.6 KB
/
styles.css
File metadata and controls
252 lines (202 loc) · 6.6 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
239
240
241
242
243
244
245
246
247
248
249
250
251
252
/* styles.css */
body {
/*background-color: rgb(25, 91, 69);*/
background: url(./background/bg3.gif);
background-size: cover;
display: flex;
justify-content: center; /* Centers the canvas horizontally */
align-items: center; /* Centers the canvas vertically */
height: 100vh; /* Makes the body take the full height of the viewport */
margin: 0; /* Removes default body margin */
}
canvas {
background-image: url(/background/bg4.gif);
opacity: 0.9;
background-size: contain;
filter: contrast(2);
display: block;
width: 38%; /* Set the width to 40% of the parent (body) */
height: 77%; /* Maintain aspect ratio */
border: 1vw solid rgb(128, 0, 128); /* Dark purple border */
border-style: groove;
box-shadow: 0 0 10px rgba(128, 0, 128, 0.8), 0 0 20px rgba(0, 0, 255, 0.6), 0 0 30px rgba(255, 105, 180, 0.5); /* Neon glow with purple, blue, and light pink */
animation: neonPulse 1.5s ease-in-out infinite; /* Apply the animation */
}
/* Define the keyframes for the neon pulse effect */
@keyframes neonPulse {
0% {
box-shadow: 0 0 10px rgba(176, 134, 253, 0.8), 0 0 10px rgba(0, 0, 255, 0.6), 0 0 30px rgba(255, 105, 180, 0.5);
border-color: rgb(255, 52, 255); /* Dark purple border */
}
50% {
box-shadow: 0 0 10px rgb(128, 1, 226), 0 0 30px rgba(145, 49, 255, 0.9), 0 0 90px rgba(255, 105, 180, 0.7);
border-color: rgb(110, 192, 255); /* Dark purple border gets brighter */
}
100% {
box-shadow: 0 0 10px rgba(255, 115, 187, 0.8), 0 0 10px rgba(0, 0, 255, 0.6), 0 0 30px rgba(255, 105, 180, 0.5);
border-color: rgb(172, 92, 238); /* Back to the initial border color */
}
}
.note1{
position: absolute;
left: 6.3%;
top: 12%;
}
.note1 img{
width: 26%;
transform: translateX(390%);
border-style: groove;
border: 0.3vw solid rgb(128, 0, 128); /* Dark purple border */
border-style: groove;
animation: neonPulsey 0.4s ease-in-out infinite; /* Apply the animation */
/*animation: neonPulse 0.4s ease-in-out infinite; /* Apply the animation */
}
.img1{
position: absolute;
left: -6%;
bottom: 10%;
animation: neonPulsey 1s ease-in-out infinite; /* Apply the animation */
}
.img1 img{
width: 38%;
transform: translateX(390%);
border: 0.5vw solid rgb(128, 0, 128); /* Dark purple border */
border-style: groove;
animation: neonPulsey 1s ease-in-out infinite; /* Apply the animation */
/*animation: neonPulse 0.4s ease-in-out infinite; /* Apply the animation */
}
.img2{
position: absolute;
left: -6%;
bottom: 10%;
animation: neonPulsey 1s ease-in-out infinite; /* Apply the animation */
}
.img2 img{
width: 45%;
transform: translateX(90%);
border: 0.5vw solid rgb(128, 0, 128); /* Dark purple border */
border-style: groove;
animation: neonPulsey 1s ease-in-out infinite; /* Apply the animation */
/*animation: neonPulse 0.4s ease-in-out infinite; /* Apply the animation */
}
.title{
position: absolute;
transform: translateX(100%);
left: -21%;
top: 3%;
z-index: 123;
}
.title img{
width: 85%;
transform: translateX(90%);
/*animation: neonPulse 0.4s ease-in-out infinite; /* Apply the animation */
}
@keyframes neonPulsey {
0% {
border-color: rgb(255, 52, 255); /* Dark purple border */
}
50% {
border-color: rgb(110, 192, 255); /* Dark purple border gets brighter */
}
100% {
border-color: rgb(172, 92, 238); /* Back to the initial border color */
}
}
#scoreContainer {
position: absolute;
top: 10px;
left: 10px;
padding: 10px;
border: 0.5vw solid rgb(128, 0, 128); /* Dark purple border */
border-style: groove;
animation: neonPulsey 1s ease-in-out infinite; /* Apply the animation */
}
@keyframes neonPulsey {
0% {
border-color: rgb(255, 52, 255); /* Dark purple border */
}
50% {
border-color: rgb(110, 192, 255); /* Dark purple border gets brighter */
}
100% {
border-color: rgb(172, 92, 238); /* Back to the initial border color */
}
}
#scoreDisplay {
font-size: 20px;
font-family: Arial, sans-serif;
color: white; /* Set the score text color to white */
}
.youtube-music iframe {
position: absolute;
width: 25%;
max-width: 660px; /* Maximum width of the player */
height: 29%;
border: 0.5vw solid rgb(128, 0, 128); /* Dark purple border */
border-style: groove;
animation: neonPulsey 0.8s infinite; /* Apply the animation */
left: 3%;
top: 11%;
pointer-events: none;
}
/* Style for the container to position buttons side by side */
.button-container {
width: 50%;
justify-content: center;
position: absolute;
bottom: 4%; /* Vertically center the buttons */
left: 50%; /* Horizontally center the buttons */
transform: translate(-50%, -50%); /* Correct the centering */
display: flex;
gap: 20px; /* Adds space between the buttons */
z-index: 10;
}
/* Button styles */
button {
padding: 10px 20px;
font-size: 16px;
font-weight: bolder;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
cursor: pointer;
background-color: #46007b; /* Pink color */
border: 0.5vw solid rgb(128, 0, 128); /* Dark purple border */
border-style: groove;
animation: neonPulsey 0.8s infinite; /* Apply the animation */
color: white;
transition: background-color 0.3s;
}
button:hover {
background-color: #cf74ee; /* Change color on hover */
}
/* Style for the intro screen */
.intro {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.5); /* Optional: to add a background overlay */
display: flex;
justify-content: center;
align-items: center;
z-index: 9999; /* Ensures it's on top of the main content */
pointer-events: all; /* Allow interactions with the intro screen */
opacity: 1;
transition: opacity 2s ease-out; /* Fade-out animation */
}
.intro img {
border: 0.2vw solid rgb(20, 205, 242); /* Dark purple border */
max-width: 90%; /* Adjust based on how you want the intro image to display */
max-height: 90%;
}
/* Style for the main content */
.content {
visibility: hidden; /* Hide content initially */
opacity: 0;
transition: opacity 1s ease-in;
}
/* Show the main content after intro fades out */
.content.show {
visibility: visible;
opacity: 1;
}