-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
525 lines (433 loc) · 9.1 KB
/
main.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
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
/* CSS style sheet */
*{
margin: 0px;
padding: 0px;
}
/* font size for doc */
html{
font-size: 10px;
}
/* Background Image */
body::before{
content:"";
background: url("bg-15.jpg");
position: absolute;
opacity: 1;
width: 100%;
min-height: 80rem;
z-index: -1;
background-repeat: no-repeat;
background-size: cover;
background-position: center;
}
/* Navigation Bar */
#navbar{
overflow: hidden;
position: relative;
background-color: rgb(115, 215, 255);
height: 8rem;
display: flex;
justify-content: flex-end;
align-items: center;
}
.loginbutton{
font-family: 'Source Serif Pro', serif;
background: none;
font-size: 3rem;
border: none;
outline: none;
padding: 2rem 3rem 2rem 3rem;
cursor: pointer;
}
.navlink{
font-family: 'Source Serif Pro', serif;
text-decoration: none;
font-size: 3rem;
color:black;
padding: 2rem 3rem 2rem 3rem;
/* margin-right: 5rem; */
text-align: center;
}
.loginbutton:hover {
background-color: black;
color: white;
}
.navlink:hover {
background-color: black;
color: white;
}
/* Dropdown from login button */
/*
.dropdown{
float: right;
overflow: hidden;
}
.dropdown-content {
display: none;
position: fixed;
background: grey;
z-index:1;
min-width: 17.6rem;
box-shadow: 0rem 2rem 2rem 0rem rgb(255, 255, 255);
}
.dropdown-content a {
float: none;
color: black;
padding: 1.2rem 1.6rem;
text-decoration: none;
display: block;
text-align: left;
font-size: 2rem;
}
.dropdown-content a:hover {
background-color: black;
color:white;
}
.dropdown:hover .dropdown-content {
display: block;
} */
/* Main Section text */
#home{
display: flex;
justify-content: auto;
align-items: auto;
flex-direction: column;
padding: 0rem;
margin-top: 0rem;
margin-bottom: 10rem;
}
#home h2{
font-family: 'Source Serif Pro', serif;
font-size: 4.5rem;
padding: 10rem 80rem 4rem 6rem;
}
#home p{
font-family: 'Nanum Myeongjo', serif;
font-size: 2.5rem;
padding: 1.5rem 80rem 1.5rem 6rem;
}
/* Main Section Image */
/* #home img{
float: right;
width: 70rem;
height: 60rem;
margin: 0rem;
} */
/* #chosingsh{
width: 20rem;
height: 20rem;
} */
/* Services section */
#section2{
background-color: rgb(115, 215, 255);
padding: 2rem;
padding-bottom: 7rem;
}
#section2 h3{
font-family: 'Source Serif Pro', serif;
font-size: 6rem;
text-align: center;
margin: 1rem;
}
.container{
display: grid;
grid-template-columns: 1fr 1fr 1fr;
justify-content: center;
gap: 2rem;
}
.imgtext{
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
#section2 div div img{
height: 34rem;
width: 34rem;
margin: 2rem;
}
#section2 div div span{
font-family: 'Source Serif Pro', serif;
font-size: 4rem;
margin: 1rem;
padding: 1rem;
color: rgb(0, 0, 17);
}
#section3{
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
#section3 p{
font-family: 'Source Serif Pro', serif;
font-size: 4rem;
grid-column: 1/span 3;
margin: 2rem;
}
#free{
width: 30rem;
height: 30rem;
}
#createaccount{
font-family: 'Source Serif Pro', serif;
background: white;
font-size: 3rem;
border: solid black 2px;
padding: 2rem;
cursor: pointer;
margin: 1rem;
border-radius: 10px;
}
#createaccount:hover {
background-color: black;
color: white;
}
/* Team Members section */
#teammembers{
background-color: rgb(45, 181, 235);
padding: 4rem;
padding-bottom: 12rem;
}
#team{
display: grid;
grid-template-columns: 1fr 1fr 1fr;
justify-content: center;
margin-top: 8rem;
}
#teammembers h3{
font-family: 'Source Serif Pro', serif;
font-size: 6rem;
text-align: center;
padding: 1rem;
}
#teammembers p{
font-family: 'Source Serif Pro', serif;
font-size: 2rem;
text-align: center;
color: rgb(39, 39, 39);
padding: 1rem;
}
#team img{
width: 20rem;
height: 20rem;
border: black solid 2px;
border-radius: 200px;
}
.imgtext{
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.name{
font-family: 'Source Serif Pro', serif;
font-size: 2.5rem;
color: rgb(0, 0, 17);
padding: 1rem;
}
.task{
font-family: 'Source Serif Pro', serif;
font-size: 2rem;
color: rgb(54, 54, 56);
}
/* Contact Us section */
#contactus{
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background-color: rgb(16, 148, 201);
padding: 4rem;
padding-top: 7rem;
padding-bottom: 12rem;
}
#contactus h3{
font-family: 'Source Serif Pro', serif;
font-size: 6rem;
text-align: center;
}
#contactus p{
font-family: 'Source Serif Pro', serif;
font-size: 2rem;
text-align: center;
color: rgb(39, 39, 39);
}
/* Form in Contact us */
form{
display: grid;
grid-template-areas:
'name doubt'
'email doubt'
'phonenumber doubt';
margin-right: 10rem;
margin-left: 10rem;
margin-top: 5rem;
}
.input{
font-size: 2rem;
padding: 1rem;
margin: 2rem;
border-radius: 1rem;
border: solid black 2px;
}
#name{
grid-area:name;
min-width:50rem;
}
#email{
grid-area:email;
min-width:50rem;
}
#phonenumber{
grid-area:phonenumber;
min-width:50rem;
}
#doubt{
grid-area:doubt;
min-width:50rem;
}
#submitbtn{
grid-column: 1/span2;
display: flex;
justify-content: center;
}
#submit{
font-family: 'Source Serif Pro', serif;
background: white;
font-size: 3rem;
border: solid black 2px;
padding: 1rem;
cursor: pointer;
margin: 1rem;
text-align: center;
border-radius: 10px;
width: 18rem;
}
#submit:hover {
background-color: black;
color: white;
}
/* footer */
footer{
background-color: white;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
padding:1rem;
}
footer p{
font-family: 'Source Serif Pro', serif;
font-size: 3rem;
text-align: center;
}
footer img{
margin:0.5rem;
padding:1rem;
width: 40px;
height:40px;
border-radius: 30px;
border: solid white 3px;
}
footer img:hover{
border: solid black 3px;
}
/* Responsive Website: Media Queries */
/* for form in contact us */
@media only screen and (max-width: 1368px){
.hidden{
display: none;
}
}
@media only screen and (max-width: 1192px){
html{
font-size: 8px;
}
.container{
display: grid;
grid-template-columns: 1fr;
justify-content: center;
gap: 2rem;
}
#section3 p{
font-family: 'Source Serif Pro', serif;
font-size: 4rem;
grid-column: 1/span 3;
margin: 2rem;
}
}
@media only screen and (max-width: 1128px){
html{
font-size: 8px;
}
form{
display: grid;
grid-template-areas:
'name'
'email'
'phonenumber'
'doubt';
margin-right: 3rem;
margin-left: 3rem;
margin-top: 3rem;
}
#home h2{
font-family: 'Source Serif Pro', serif;
font-size: 3rem;
padding: 2rem 40rem 4rem 4rem;
}
#home p{
font-family: 'Nanum Myeongjo', serif;
font-size: 2rem;
padding: 0.5rem 30rem 1.5rem 4rem;
}
#name{
grid-area:name;
min-width:25rem;
}
#email{
grid-area:email;
min-width:25rem;
}
#phonenumber{
grid-area:phonenumber;
min-width:25rem;
}
#doubt{
grid-area:doubt;
min-width:25rem;
}
#section2 h3{
font-family: 'Source Serif Pro', serif;
font-size: 4rem;
text-align: center;
margin: 1rem;
}
#team{
display: grid;
grid-template-columns: 1fr;
justify-content: center;
margin-top: 8rem;
}
}
@media only screen and (max-width: 400px){
html{
font-size: 6px;
}
#home h2{
font-family: 'Source Serif Pro', serif;
font-size: 3rem;
padding: 2rem 10rem 4rem 4rem;
}
#home p{
font-family: 'Nanum Myeongjo', serif;
font-size: 2rem;
padding: 0.5rem 15rem 1.5rem 4rem;
}
#section2 div div img{
height: 25rem;
width: 25rem;
margin: 2rem;
}
}