api-ix commited on
Commit
1d55979
·
verified ·
1 Parent(s): ddc8ba8

Create style/main.css

Browse files
Files changed (1) hide show
  1. style/main.css +292 -0
style/main.css ADDED
@@ -0,0 +1,292 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ html {
2
+ box-sizing: border-box;
3
+ }
4
+
5
+ body {
6
+ font-family: 'Poppins', sans-serif;
7
+ margin: 0;
8
+ }
9
+
10
+ .song {
11
+ visibility: hidden;
12
+ }
13
+
14
+ .container {
15
+ height: 100vh;
16
+ margin: 0 auto;
17
+ overflow: hidden;
18
+ position: relative;
19
+ text-align: center;
20
+ visibility: hidden;
21
+ width: 100vw;
22
+ }
23
+
24
+ .container > div {
25
+ left: 0;
26
+ position: absolute;
27
+ right: 0;
28
+ top: 20vh;
29
+ }
30
+
31
+ .one {
32
+ font-size: 4.5rem;
33
+ }
34
+
35
+ .two {
36
+ font-size: 1.2rem;
37
+ font-weight: lighter;
38
+ }
39
+
40
+ .three {
41
+ font-size: 3rem;
42
+ }
43
+
44
+ .four .text-box {
45
+ border: 3px solid #aaa;
46
+ border-radius: 5px;
47
+ margin: 0 auto;
48
+ padding: 10px;
49
+ position: relative;
50
+ width: 600px;
51
+ }
52
+
53
+ .text-box p {
54
+ margin: 0;
55
+ text-align: left;
56
+ }
57
+
58
+ .text-box span {
59
+ visibility: hidden;
60
+ }
61
+
62
+ .text-box .fake-btn {
63
+ background-color: rgb(21, 161, 237);
64
+ border-radius: 3px;
65
+ bottom: -50px;
66
+ color: #fff;
67
+ padding: .5rem 1rem;
68
+ position: absolute;
69
+ right: 5px;
70
+ }
71
+
72
+ .five p {
73
+ font-size: 2rem;
74
+ left: 0;
75
+ position: absolute;
76
+ right: 0;
77
+ }
78
+
79
+ .idea-3 strong {
80
+ border-radius: 3px;
81
+ display: inline-block;
82
+ padding: 3px 5px;
83
+ }
84
+
85
+ .five .idea-5 {
86
+ font-size: 4rem;
87
+ }
88
+
89
+ .idea-5 span, .idea-6 span, .wish-hbd span {
90
+ display: inline-block;
91
+ }
92
+
93
+ .idea-6 span{
94
+ font-size: 15rem;
95
+ }
96
+
97
+
98
+ .six {
99
+ position: relative;
100
+ top: 10vh;
101
+ z-index: 1;
102
+ }
103
+
104
+ .six img {
105
+ display: inline-block;
106
+ height: 350px;
107
+ max-width: 100%;
108
+ /* height: auto; */
109
+ }
110
+
111
+ .six .hat {
112
+ left: 41.5%;
113
+ position: absolute;
114
+ /* transform: scale(0.1); */
115
+ top: -35%;
116
+ width: 80px;
117
+ }
118
+
119
+ .baloons img {
120
+ display: inline-block;
121
+ position: absolute;
122
+ }
123
+
124
+ .baloons img:nth-child(even) {
125
+ left: -10%;
126
+ }
127
+
128
+ .baloons img:nth-child(odd) {
129
+ right: -10%;
130
+ }
131
+
132
+ .baloons img:nth-child(3n + 0) {
133
+ left: 30%;
134
+ }
135
+
136
+ .seven, .eight {
137
+ height: 100vh;
138
+ position: fixed;
139
+ top: 0;
140
+ width: 100vw;
141
+ }
142
+
143
+ .eight svg {
144
+ left: 0;
145
+ position: absolute;
146
+ top: 0;
147
+ visibility: hidden;
148
+ width: 25px;
149
+ z-index: -1;
150
+ }
151
+
152
+ .eight svg:nth-child(1) {
153
+ fill: #bd6ecf;
154
+ left: 5vw;
155
+ top: 7vh;
156
+ }
157
+
158
+ .eight svg:nth-child(2) {
159
+ fill: #7dd175;
160
+ left: 35vw;
161
+ top: 23vh;
162
+ }
163
+
164
+ .eight svg:nth-child(3) {
165
+ fill: #349d8b;
166
+ left: 23vw;
167
+ top: 33vh;
168
+ }
169
+
170
+ .eight svg:nth-child(4) {
171
+ fill: #347a9d;
172
+ left: 57vw;
173
+ top: 43vh;
174
+ }
175
+
176
+ .eight svg:nth-child(5) {
177
+ fill: #c66053;
178
+ left: 7vw;
179
+ top: 68vh;
180
+ }
181
+
182
+ .eight svg:nth-child(6) {
183
+ fill: #bfaa40;
184
+ left: 77vw;
185
+ top: 42vh;
186
+ }
187
+
188
+ .eight svg:nth-child(7) {
189
+ fill: #e3bae8;
190
+ left: 83vw;
191
+ top: 68vh;
192
+ }
193
+
194
+ .eight svg:nth-child(8) {
195
+ fill: #8762cb;
196
+ left: 37vw;
197
+ top: 86vh;
198
+ }
199
+
200
+ .eight svg:nth-child(9) {
201
+ fill: #9a90da;
202
+ left: 87vw;
203
+ top: 94vh;
204
+ }
205
+
206
+ .wish-hbd {
207
+ font-size: 3em;
208
+ margin: 0;
209
+ text-transform: uppercase;
210
+ }
211
+
212
+ .wish h5 {
213
+ font-size: 2rem;
214
+ font-weight: lighter;
215
+ margin: 10px 0 0;
216
+ }
217
+
218
+ .nine p {
219
+ font-size: 2rem;
220
+ font-weight: lighter;
221
+ }
222
+
223
+ #replay {
224
+ cursor: pointer;
225
+ z-index: 3;
226
+ }
227
+
228
+ /* Media Queries */
229
+ @media screen and (max-height: 1000px) {
230
+ .six .hat {
231
+ left: 40%;
232
+ }
233
+ }
234
+
235
+ @media screen and (max-height: 800px) {
236
+ .six .hat {
237
+ left: 37%;
238
+ }
239
+ }
240
+
241
+ @media screen and (max-height: 700px) {
242
+ .six .hat {
243
+ left: 32%;
244
+ }
245
+ }
246
+
247
+ @media screen and (max-height: 850px) and (max-width: 450px) {
248
+ .six .hat {
249
+ left: 32%;
250
+ }
251
+ }
252
+
253
+ @media screen and (max-width: 500px) {
254
+ .container {
255
+ width: 90%;
256
+ }
257
+
258
+ .four .text-box {
259
+ width: 90%;
260
+ }
261
+
262
+ .text-box .fake-btn {
263
+ bottom: -38px;
264
+ right: 5px;
265
+ }
266
+
267
+ .idea-5 span {
268
+ display: block;
269
+ }
270
+
271
+ .idea-6 span {
272
+ font-size: 10rem;
273
+ }
274
+
275
+ .six .hat {
276
+ /* top: -20px; */
277
+ width: 50px;
278
+ }
279
+
280
+ .wish-hbd {
281
+ font-size: 2.2em;
282
+ }
283
+
284
+ .wish h5 {
285
+ font-size: 1.4rem;
286
+ }
287
+
288
+ .nine p {
289
+ font-size: 1.5rem;
290
+ font-weight: lighter;
291
+ }
292
+ }