-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathstyle.css
370 lines (318 loc) · 9.93 KB
/
style.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
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
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
@import url(https://fonts.googleapis.com/css?family=Montserrat:700,900|Dancing+Script);
/* #### Generated By: http://www.cufonfonts.com #### */
@font-face {
font-family: 'RoadRage';
font-style: normal;
font-weight: normal;
src: local('RoadRage'), url('Road_Rage.woff') format('woff');
}
:root{
font-size:3vw;
}
.grid{
position:absolute;
bottom: -30%;
left:0;
margin-left: -50%;
width: 200%;
height: 100%;
background-position-y: 0px;
background-image:
repeating-linear-gradient(90deg,var(--grid-color,black) 0%,transparent calc(1px + var(--grid-blur,0px)), transparent var(--grid-size),var(--grid-color,black) calc(var(--grid-size) + 1px + var(--grid-blur,0px))),repeating-linear-gradient(180deg,var(--grid-color,black) 0%,transparent calc(1px + var(--grid-blur,0px)), transparent var(--grid-size),var(--grid-color,black) calc(var(--grid-size) + 1px + var(--grid-blur,0px)));
transform:perspective(50vh) rotateX(60deg) translateZ(10px);
animation:moving-grid 0.5s infinite linear;
z-index:-1;
}
@keyframes moving-grid{
0%{
transform:perspective(50vh) rotateX(60deg) translateZ(10px) translateY(-var(--grid-size));
}
100%{
transform:perspective(50vh) rotateX(60deg) translateZ(10px) translateY(var(--grid-size));
}
}
.sun{
width:200px;
height:200px;
border-radius:100%;
position:absolute;
background-color:yellow;
left:calc(50%);
bottom:40%;
transform:translateX(-50%);
background-image: linear-gradient(red,yellow),linear-gradient(black,white);
clip-path:polygon(-50% 0px,150% -50%,150% 55%,-50% 55%,
-50% 62%,150% 62%,150% 70%,0 70%,
-50% 75%,150% 75%,150% 80%,0 80%,
-50% 82%,150% 82%,150% 85%,0 85%,
-50% 87%,150% 87%,150% 90%,0 90%,
-50% 92%,150% 92%,150% 95%,0 95%,
-50% 96%,150% 96%,150% 150%,0 150%);
box-shadow: rgba(255,128,0,0.7) 0px 0 20px;
}
.dogg{
width:300px;
height:300px;
border-radius:100%;
position:absolute;
background-color:yellow;
left:calc(50%);
bottom:40%;
transform:translateX(-50%);
background-image:url("dogg.png");
background-position: center;
/* clip-path:polygon(-50% 0px,150% -50%,150% 55%,-50% 55%,
-50% 62%,150% 62%,150% 70%,0 70%,
-50% 75%,150% 75%,150% 80%,0 80%,
-50% 82%,150% 82%,150% 85%,0 85%,
-50% 87%,150% 87%,150% 90%,0 90%,
-50% 92%,150% 92%,150% 95%,0 95%,
-50% 96%,150% 96%,150% 150%,0 150%); */
box-shadow: rgba(255,128,0,0.7) 0px 0 20px;
}
.mountain{
position:absolute;
content:'';
bottom:35%;
left:calc(50% + var(--mountain-offset,0px));
border-left:calc(var(--mountain-base) / 2) solid transparent;
border-bottom:var(--mountain-height, 100px) solid var(--mountain-color1,white);
border-top:0px solid transparent;
border-right:calc(var(--mountain-base, 100px) / 2) solid transparent;
transform-origin:bottom;
transform:skewX(var(--mountain-tilt,0deg));
}
.mountain:after{
content:'';
border-left:calc(var(--mountain-base) / 2) solid transparent;
border-bottom:var(--mountain-height, 100px) solid var(--mountain-color2,black);
border-top:0px solid transparent;
border-right:calc(var(--mountain-base, 100px) / 2) solid transparent;
transform:translate(-50%) scale(0.98);
position:absolute;
left:0;
top:0;
}
.overlay{
width:100%;
height:100%;
z-index:9999;
position:absolute;
left:0;
top:0;
background-image: repeating-linear-gradient(rgba(0,0,0,0.3) 0,transparent 1px,transparent 2px,rgba(0,0,0,0.3) 3px);
pointer-events: none;
}
.background-80s{
background: linear-gradient(to bottom, #010310 0,#0c1142 24%,#45125e 45%,#d53567 60%,#f0c3d9 65%,#0c1142 65%) fixed;
background-size:100% var(--background-height,100vh);
overflow:hidden;
position:absolute;
left:0;
top:0;
width:100vw;
height:var(--background-height,100vh);
z-index:-2;
}
.animated-clouds:before{
filter: url(#filter);
}
.background-80s:before{
content:'';
background: linear-gradient(to bottom, #010310 0,#0c1142 24%,#45125e 45%,#d53567 60%,#f0c3d9 65%,#0c1142 65%) fixed;
width:100%;
height:55%;
position:absolute;
z-index:-1;
left:0;
top:0;
opacity:0.2;
}
/*stars*/
.stars:after{
transform:translateY(-40%);
content:' ';
border-radius:100%;
width:3px;
height:4px;
position:absolute;
left:0;
top:0;
z-index:-1;
box-shadow:
5vw 15vh 2px white,
1vw 33vh 0px white,
2vw 25vh 2px white,
10vw 10vh 2px white,
12vw 20vh 0px white,
30vw 15vh 2px white,
16vw 5vh 2px white,
24vw 10vh 0px white,
32vw 40vh 0px white,
33vw 35vh 2px white,
12vw 38vh 2px white,
24vw 10vh 0px white,
33vw 5vh 2px white,
20vw 10vh 0px white,
80vw 10vh 2px white,
62vw 20vh 0px white,
60vw 15vh 2px white,
70vw 7vh 0px white,
62vw 50vh 0px white,
65vw 35vh 2px white,
64vw 10vh 0px white,
85vw 2vh 0px white,
92vw 40vh 0px white,
75vw 35vh 2px white,
90vw 10vh 0px white;
opacity:0.3;
animation:glitter 2s infinite;
}
@keyframes glitter{
0% {
opacity:0.5;
}
50% {
opacity:0.9;
}
100% {
opacity:0.5;
}
}
.text{
position:absolute;
left:50%;
top:50%;
text-align:center;
transform:translate(-50%,-50%);
white-space:nowrap;
}
.outrun{
font-family:'Montserrat';
font-weight:normal;
letter-spacing: 14px;
text-transform:uppercase;
font-size: 18px;
opacity:0.9;
}
/* .presents{
margin-top: 16px;
font-family:'RoadRage';
font-style: italic;
font-size: 20px;
opacity:0.8;
} */
a.start{
position:absolute;
left:50%;
bottom:18%;
text-align:center;
transform:translate(-50%,-50%);
white-space:nowrap;
font-family:'RoadRage';
font-size: 80px;
color: #FFF;
}
.glow {
color: #fff;
text-align: center;
-webkit-animation: glow 1s ease-in-out infinite alternate;
-moz-animation: glow 1s ease-in-out infinite alternate;
animation: glow 1s ease-in-out infinite alternate;
}
@-webkit-keyframes glow {
from {
text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e60073, 0 0 40px #e60073, 0 0 50px #e60073, 0 0 60px #e60073, 0 0 70px #e60073;
}
to {
text-shadow: 0 0 20px #fff, 0 0 30px #ff4da6, 0 0 40px #ff4da6, 0 0 50px #ff4da6, 0 0 60px #ff4da6, 0 0 70px #ff4da6, 0 0 80px #ff4da6;
}
}
.chrome{
font-family:"Montserrat";
font-weight:900;
font-size:calc(30px + 10vh);
background-image:linear-gradient(#2989cc 0%, #d3e5ec 50%,#592451 51%,#b3628d 55%,#592451 59%,#b3628d 65%,#ac86a6 75%, #b3628d 100%);
-webkit-background-clip:text;
-webkit-text-fill-color: transparent;
-webkit-text-stroke-width: 1px;
-webkit-text-stroke-color: rgba(255,255,255,0.4);
position:relative;
}
.chrome:before{
content:attr(data-text);
text-shadow: -1px -1px 1px #2989cc,-2px -2px 1px #2989cc, -3px -3px 1px #2989cc, 1px 1px 1px #000, 0px -1px 2px #000, -1px -2px 2px #000, 0 0 5px rgba(255,255,255,1);
opacity:1;
position:absolute;
z-index:-1;
}
.shine:after{
content:attr(data-text);
background-image:linear-gradient(225deg,transparent 53%,white 55%,transparent 58%);
width:100%;
height:100%;
position:absolute;
top:0;
left:0;
-webkit-background-clip:text;
z-index:999;
background-size: 400% 400%;
animation:shine 10s ease infinite;
animation-delay:var(--shine-delay,0s);
}
@keyframes shine{
0%{background-position:0% 51%}
50%{background-position:100% 50%}
100%{background-position:0% 51%}
}
.spark{
margin-top:calc( 4vh ) ;
margin-left:-0.3em;
line-height:0;
position:absolute;
width:37px;
height:45px;
z-index:999;
background-image: url("data:image/svg+xml,%3Csvg viewBox='120 250 1700 1200' width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3C!-- Created with Method Draw - http://github.com/duopixel/Method-Draw/ --%3E%3Cg%3E%3Ctitle%3Ebackground%3C/title%3E%3Crect fill='none' id='canvas_background' height='402' width='182' y='-1' x='-1'/%3E%3Cg display='none' overflow='visible' y='0' x='0' height='100%25' width='100%25' id='canvasGrid'%3E%3Crect fill='url(%23gridpattern)' stroke-width='0' y='0' x='0' height='100%25' width='100%25'/%3E%3C/g%3E%3C/g%3E%3Cg%3E%3Ctitle%3ELayer 1%3C/title%3E%3Cellipse ry='183' rx='5' id='svg_2' cy='197.0375' cx='274.5' stroke-width='0' stroke='%23000' fill='%23fff'/%3E%3Cellipse transform='rotate(90 274.50000000000006,197.03750610351565) ' ry='183' rx='5' id='svg_3' cy='197.0375' cx='274.5' stroke-width='0' stroke='%23000' fill='%23fff'/%3E%3Cellipse stroke='%23000' transform='rotate(126.69925689697266 276.19342041015625,195.4363708496094) ' ry='90.194158' rx='3.223029' id='svg_4' cy='195.43637' cx='276.193439' stroke-width='0' fill='%23fff'/%3E%3Cellipse stroke='%23000' transform='rotate(-134.6077117919922 276.19342041015625,195.43637084960938) ' ry='90.194158' rx='3.223029' id='svg_5' cy='195.43637' cx='276.193439' stroke-width='0' fill='%23fff'/%3E%3C/g%3E%3C/svg%3E");
filter:blur(0.5px);
transform:scale(0);
animation:blip 5s infinite;
animation-timing-function: ease-in-out;
}
.spark-offset{
}
.chrome:last-of-type .spark{
animation-delay:-2.5s;
}
@-webkit-keyframes blip {
0% {transform: scale(0);}
5% {transform: scale(1.2) rotate(0deg);}
6% {transform: scale(1) rotate(0deg);}
8% {transform: scale(1) rotate(180deg);}
100% {transform: scale(1) rotate(180deg);}
}
.road {
--grid-size:90px;
--road-color:#2a025d;
position:absolute;
bottom: -30%;
left:0;
margin-left: calc(50% - 200px /2 );
width: 200px;
height: 100%;
background-position-y: 0px;
background-image: repeating-linear-gradient(90deg, #a684cb 0%, #a684cb 2%, var(--road-color,rgba(115,59,139,1)) 2%, var(--road-color,rgba(115,59,139,1)) 98%,#a684cb 98%);
transform:perspective(50vh) rotateX(60deg);
z-index:-1;
}
.road:after {
content:'';
--grid-size:90px;
position:absolute;
margin-left: calc(50% - 10px /2 );
width: 10px;
height: 100%;
background-position-y: 0px;
background-image: repeating-linear-gradient(0deg, #a684cb 0%, #a684cb 10%, transparent 10%, transparent 20%);
animation:moving-grid 0.5s infinite linear;
}