1
- /* --- Header --- */
2
1
.header {
3
2
background : var (--preto-azulado );
4
3
width : 100% ;
7
6
color : # fff ;
8
7
display : flex;
9
8
align-items : center;
9
+ position : fixed;
10
+ top : 0 ;
11
+ left : 0 ;
12
+ z-index : 1000 ;
10
13
}
11
14
.headerTitle {
12
15
font-family : 'Cinzel' , serif;
17
20
letter-spacing : 1px ;
18
21
}
19
22
20
- /* --- Container principal --- */
23
+ .pageContainer {
24
+ overflow-y : auto;
25
+ height : 100vh ;
26
+ display : flex;
27
+ flex-direction : column;
28
+ }
29
+
21
30
.mainContainer {
22
31
background : # DFE0E2 ;
23
- height : 100 vh ;
32
+ flex-grow : 1 ;
24
33
width : 100% ;
25
34
display : flex;
26
35
align-items : center;
27
36
justify-content : center;
28
37
padding : 3rem ;
29
38
box-sizing : border-box;
39
+ padding-top : 6rem ;
30
40
}
31
41
32
- /* --- Caixa preta --- */
33
42
.blackContainer {
34
43
background : var (--preto-azulado );
35
44
border-radius : 18px ;
40
49
display : flex;
41
50
flex-direction : column;
42
51
align-items : center;
43
- overflow : visible;
44
52
margin-block : 4rem ;
45
53
}
46
54
47
- /* --- FormWrapper --- */
48
55
.formWrapper {
49
56
max-width : 400px ;
50
57
width : 100% ;
54
61
align-items : stretch;
55
62
}
56
63
57
- /* --- Inputs --- */
58
64
.inputGroup {
59
65
margin-bottom : 1rem ;
60
66
width : 100% ;
76
82
font-size : 0.75rem ;
77
83
}
78
84
79
- /* --- Saudação --- */
80
85
.greeting {
81
86
text-align : center;
82
87
font-size : 1.25rem ;
88
93
text-transform : uppercase;
89
94
}
90
95
91
- /* --- Escolha de aventura --- */
96
+ .adventureChoice {
97
+ margin-bottom : 2rem ;
98
+ }
99
+
92
100
.chooseAdventure {
93
101
text-align : center;
94
102
font-size : 0.7rem ;
133
141
text-align : center;
134
142
}
135
143
136
- /* --- Botão de submit --- */
137
144
.submitButton {
138
145
font-family : var (--fonte-titulo );
139
146
width : 100% ;
152
159
color : # 000 ;
153
160
}
154
161
155
- /* --- Link “Já tem uma conta?” --- */
156
162
.AccountNew {
157
163
text-align : left;
158
164
margin-top : 0.8rem ;
169
175
text-decoration : underline;
170
176
}
171
177
172
- /* --- Responsividade --- */
173
- /* Tablets e small desktops */
174
- @media (max-width : 1024px ) {
178
+ @media (min-width : 1441px ) {
175
179
.blackContainer {
176
- max-width : 320px ;
177
- margin-block : 3rem ;
178
- padding : 40px 12px ;
180
+ max-width : 450px ;
181
+ padding : 40px 24px ;
179
182
}
180
183
.greeting {
181
184
font-size : 1.8rem ;
182
185
}
186
+ .inputGroup label {
187
+ font-size : 0.85rem ;
188
+ }
189
+ .inputField {
190
+ font-size : 0.9rem ;
191
+ padding : 10px ;
192
+ }
193
+ .roleImage {
194
+ width : 50px !important ;
195
+ height : 50px !important ;
196
+ }
197
+ .roleLabel {
198
+ font-size : 0.9rem ;
199
+ }
183
200
.submitButton {
184
- padding : 12px 0 ;
201
+ padding : 16px 0 ;
202
+ font-size : 0.9rem ;
203
+ }
204
+ .AccountNew {
205
+ font-size : 0.9rem ;
185
206
}
186
207
}
187
208
188
- /* Celulares */
189
- @media (max-width : 600px ) {
209
+ @media (min-width : 769px ) and (max-width : 1440px ) {
190
210
.blackContainer {
191
- max-width : 280px ;
192
- margin-block : 2rem ;
193
- padding : 30px 8px ;
211
+ max-width : 380px ;
212
+ padding : 35px 20px ;
194
213
}
195
214
.greeting {
196
- font-size : 1.6rem ;
215
+ font-size : 1.5rem ;
216
+ }
217
+ .inputGroup label {
218
+ font-size : 0.75rem ;
197
219
}
198
220
.inputField {
199
- padding : 6px ;
221
+ font-size : 0.8rem ;
222
+ padding : 9px ;
223
+ }
224
+ .roleImage {
225
+ width : 45px !important ;
226
+ height : 45px !important ;
227
+ }
228
+ .roleLabel {
229
+ font-size : 0.85rem ;
200
230
}
201
231
.submitButton {
202
- padding : 10px 0 ;
232
+ padding : 15px 0 ;
233
+ font-size : 0.85rem ;
234
+ }
235
+ .AccountNew {
236
+ font-size : 0.8rem ;
237
+ }
238
+ }
239
+
240
+ @media (max-width : 768px ) {
241
+ .header {
242
+ padding : 0 1rem ;
243
+ height : 3.5rem ;
244
+ }
245
+ .headerTitle {
246
+ font-size : 1.2rem ;
247
+ }
248
+ .mainContainer {
249
+ padding : 2rem 1rem ;
250
+ padding-top : 5.5rem ;
251
+ }
252
+ .blackContainer {
253
+ max-width : 300px ;
254
+ margin-block : 2rem ;
255
+ padding : 25px 12px ;
256
+ }
257
+ .greeting {
258
+ font-size : 1.4rem ;
259
+ }
260
+ .inputGroup {
261
+ margin-bottom : 0.8rem ;
262
+ }
263
+ .inputGroup label {
264
+ font-size : 0.65rem ;
265
+ }
266
+ .inputField {
267
+ padding : 7px ;
268
+ font-size : 0.7rem ;
203
269
}
204
270
.roles {
205
- gap : 1.5 rem ;
271
+ gap : 0.8 rem ;
206
272
}
207
273
.roleImage {
208
- width : 32px !important ;
209
- height : 32px !important ;
274
+ width : 35px !important ;
275
+ height : 35px !important ;
276
+ }
277
+ .roleLabel {
278
+ font-size : 0.75rem ;
279
+ }
280
+ .submitButton {
281
+ padding : 12px 0 ;
282
+ font-size : 0.75rem ;
283
+ }
284
+ .AccountNew {
285
+ font-size : 0.7rem ;
286
+ text-align : center;
210
287
}
211
288
}
289
+
290
+ @media (max-width : 480px ) {
291
+ .mainContainer {
292
+ padding : 1.5rem 0.5rem ;
293
+ padding-top : 5rem ;
294
+ }
295
+ .blackContainer {
296
+ padding : 20px 10px ;
297
+ margin-block : 1.5rem ;
298
+ }
299
+ .greeting {
300
+ font-size : 1.2rem ;
301
+ }
302
+ .inputGroup {
303
+ margin-bottom : 0.7rem ;
304
+ }
305
+ .inputField {
306
+ padding : 6px ;
307
+ font-size : 0.65rem ;
308
+ }
309
+ .roles {
310
+ flex-direction : column;
311
+ align-items : center;
312
+ gap : 0.5rem ;
313
+ }
314
+ .roleOption {
315
+ flex-direction : row;
316
+ gap : 0.5rem ;
317
+ }
318
+ .roleImage {
319
+ width : 30px !important ;
320
+ height : 30px !important ;
321
+ }
322
+ .roleLabel {
323
+ font-size : 0.7rem ;
324
+ }
325
+ .submitButton {
326
+ padding : 10px 0 ;
327
+ font-size : 0.7rem ;
328
+ }
329
+ .AccountNew {
330
+ font-size : 0.65rem ;
331
+ }
332
+ }
0 commit comments