-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
574 lines (473 loc) · 10.1 KB
/
style.css
File metadata and controls
574 lines (473 loc) · 10.1 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
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
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
* {
margin: 0;
padding: 0;
}
body {
font-family: 'Montserrat', sans-serif;
}
.headersection {
height: 100vh;
width: 100%;
/*background: linear-gradient(rgba(31, 31, 31, 0.5), rgba(31, 31, 31, 0.5)), url(../Images/stub5.jpeg); */
background-image: linear-gradient(to right, #4484f3, #b13d8b);
background-position: center;
background-size: cover;
background-attachment: fixed;
position: relative;
}
/*Styling nav bar*/
nav {
/*border: 3px solid;*/
background: #ffffff;
display: flex;
justify-content: space-between;
align-items: center;
padding: 2% 2%;
height: 35px;
}
.imglogo {
margin-top: 2px;
margin-right: auto;
cursor: pointer;
display: inline-block;
height: 5rem;
width: 5rem;
border-radius: 50%;
box-shadow: 0 5px 25px 0 rgb(0 0 0 / 30%);
}
.navlinks {
/*display: flex;
flex-direction: row; */
/* OR you can code it as because you initially indicated flex in the nav div above*/
flex: 1;
text-align: right;
}
.navlinks ul li {
list-style: none;
display: inline-block;
padding: 8px 12px;
position: relative;
}
.navlinks ul li a {
color: #5727c6;
text-decoration: none;
/*font-weight: 300;*/
font-size: 20px;
}
.navlinks ul li::after {
content: "";
width: 0%;
height: 2px;
background: #5727c6;
display: block;
margin: auto;
transition: .5s;
}
.navlinks ul li:hover::after {
width: 100%;
}
/*:root { variables in CSS
//to toggle b/n Light and Dark Mode among others
--color-primary: #191d2b;
--color-white: #ffffff;
} */
.center-text {
border: 1px solid white;
border-radius: 10px 10px;
padding-bottom: 50px;
width: 80%;
position: absolute;
/*color: ;*/
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
}
.center-text h1 {
font-size: 100px;
font-family: 'Montserrat', sans-serif;
text-align: center;
color: #ffffff;
margin-top: 3%;
text-shadow: 0 3px 5px rgba(0, 0, 0, 0.55);
}
.center-text p {
margin: 30px 0 30px;
color: #ffffff;
font-size: 25px;
font-weight: 300;
/*text-shadow: 0 3px 5px rgba(0, 0, 0, 0.55);*/
}
/*styling the book button*/
.book-btn {
text-align: center;
}
.book-btn a {
background-color: #fe8d23;
text-decoration: none;
display: inline-block;
color: #ffffff;
font-size: 24px;
padding: 14px 70px;
border-radius: 7px;
margin-top: 20px;
box-shadow: 0 5px 25px 0 rgb(0 0 0 / 30%);
}
.book-btn a:hover {
background-color: #ffffff;
transition: .5s;
color: #5727c6;
}
nav i.fa-solid {
display: none;
}
/*________________________________ STYLING PAGE FOR A SMALLER SCREEN ____________________________ */
@media screen and (max-width: 700px) {
/*HEADER AND NAV-BAR*/
.imglogo {
height: 3rem;
width: 3rem;
}
.navlinks {
position: absolute;
background: #ffffff;
height: 70vh;
width: 250px;
top: 0;
right: -270px;
z-index: 2;
text-align: left;
box-shadow: 0 5px 25px 0 rgb(0 0 0 / 30%);
transition: 0.5s;
}
.book-btn a {
font-size: 20px;
padding: 12px 50px;
}
.navlinks ul li {
display: block;
}
.center-text {
border: 2px solid #ffffff;
}
.center-text h1 {
font-size: 40px;
}
.center-text p {
font-size: 17px;
}
.book-btn {
padding: 0;
}
nav i.fa-solid {
display: block;
color: #5727c6;
cursor: pointer;
margin-top: 10px;
margin-bottom: 20px;
}
.navlinks ul li {
padding: 30px;
}
}
/*___________ Styling the MAIN SECTION on the home page__________*/
.mainsection {
width: auto;
height: 100vh;
}
.mainsection h2 {
color: black;
font-family: 'Montserrat', sans-serif;
padding: 10px 15px 20px;
margin: 2% 0;
text-align: center;
font-size: 50px;
}
.row {
margin-top: 5px;
display: flex;
justify-content: space-between;
padding-left: 20px;
padding-right: 20px;
}
.row h3 {
color: #ffffff;
font-size: 25px;
text-shadow: 0 3px 5px rgba(0, 0, 0, 0.55);
}
.course-col1 {
flex-basis: 30%;
background-color: #fe8d23;
margin-bottom: 5%;
padding: 7px 7px;
box-sizing: border-box;
cursor: pointer;
box-shadow: 0 5px 25px 0 rgb(0 0 0 / 30%);
transition: .5s;
}
.course-col1:hover {
/*slide div upwards*/
-webkit-transform: translateY(-20px);
transform: translateY(-20px);
}
.stubimglogo {
/*border: 1px solid white;*/
margin-top: 40px;
position: relative;
left: 40%;
cursor: pointer;
display: inline-block;
height: 5rem;
width: 5rem;
border-radius: 50%;
box-shadow: 0 5px 25px 0 rgb(0 0 0 / 30%);
/* 5px leftside, 25px rightside */
}
.course-col2 {
flex-basis: 30%;
background-color: #4284f4;
margin-bottom: 5%;
padding: 10px 10px;
box-sizing: border-box;
cursor: pointer;
box-shadow: 0 5px 25px 0 rgb(0 0 0 / 30%);
transition: .5s;
}
.course-col2:hover {
/* slide div upwards*/
-webkit-transform: translateY(-20px);
transform: translateY(-20px);
}
.course-col3 {
flex-basis: 30%;
background-color: #5db85b;
margin-bottom: 5%;
padding: 7px 7px;
box-sizing: border-box;
cursor: pointer;
box-shadow: 0 5px 25px 0 rgb(0 0 0 / 30%);
transition: .5s;
}
.course-col3:hover {
/* slide div upwards*/
-webkit-transform: translateY(-20px);
transform: translateY(-20px);
}
/*Styling the images in mainsection columns*/
.StubImage {
max-width: 500px;
max-height: 500px;
}
.production3 {
max-width: 500px;
max-height: 500px;
}
.production2 {
max-width: 500px;
max-height: 500px;
}
/*________ Facility button ________*/
.facility-btn {
text-align: center;
}
.facility-btn a {
box-sizing: border-box;
background-color: #b23c8a;
text-decoration: none;
display: inline-block;
font-weight: 500;
color: #ffffff;
font-size: 20px;
padding: 14px 60px;
border-radius: 7px;
margin-top: 20px;
box-shadow: 0 5px 25px 0 rgb(0 0 0 / 30%);
}
.facility-btn a:hover {
background-color: #c5549f;
transition: .5s;
color: #ffffff;
}
/* Styling the MAIN SECTION of HOME PAGE for a smaller screen */
@media screen and (max-width: 700px) {
.row {
flex-direction: column;
}
.StubImage {
max-width: 445px;
max-height: 500px;
}
.production2 {
max-width: 445px;
max-height: 500px;
}
}
.reviews {
color: #ffffff;
height: 70vh;
width: 100%;
background-attachment: fixed;
background-image: url(../Images/microphone.jpeg);
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
.textspace {
background-image: linear-gradient(to right, #4484f3, #b13d8b);
height: 70vh;
width: 100%;
}
/*_____________ Styling the FOOTER Section _____________*/
.footer-top {
height: 40vh;
width: 100%;
background-color: #2c2c2c;
}
.footer-row {
/*margin-top: 5rem; */
display: flex;
justify-content: space-between;
padding-left: 20%;
padding-right: 20%;
}
.footer-row h2 {
color: #e1e1e1;
margin-top: 3.5rem;
}
.footer-row ul {
margin-top: 1rem;
}
.footer-row ul li {
list-style: none;
color: #c1c1c1;
padding: 5px 1px;
}
.column1 {
flex-basis: 27%;
background: none;
/* margin-bottom: 5%; */
padding: 7px 7px;
box-sizing: border-box;
cursor: pointer;
transition: 1s ease;
}
.column2 {
flex-basis: 27%;
background: none;
/* margin-bottom: 5%; */
padding: 7px 7px;
box-sizing: border-box;
cursor: pointer;
transition: 1s ease;
}
.column3 {
flex-basis: 27%;
background: none;
/* margin-bottom: 5%; */
padding: 7px 7px;
box-sizing: border-box;
cursor: pointer;
transition: 1s ease;
}
.column3 ul li a {
color: #c1c1c1;
text-decoration: none;
}
.column3 ul li a:hover {
color: #1da1f2;
text-decoration: underline;
}
/* Syling THE REVIEWS & FOOTER SECTION FOR A SMALLER SCREEN*/
@media screen and (max-width: 700px) {
.reviews {
flex-direction: column;
}
.textspace {
flex-direction: column;
}
.footer-top {
height: 80vh;
}
.footer-row {
flex-direction: column;
}
}
/* footer bottom section with icons */
.footer-bottom {
background-color: #3d3d3d;
height: 10vh;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
}
.bottom-links {
flex-basis: 1;
text-align: left;
margin-left: 18%;
}
.bottom-links ul li {
list-style: none;
display: inline-block;
padding: 5px 15px;
position: relative;
}
.bottom-links ul li a {
color: #c1c1c1;
text-decoration: none;
font-size: 17px;
}
.bottom-links ul li a:hover {
color: #1da1f2;
}
#facebook {
background: #0235bb;
color: #ffffff;
font-size: 20px;
margin-top: 0px;
padding: 7px 10px;
border-radius: 50%;
transition: .5s;
}
#facebook:hover {
background: #0235bb;
color: #ffffff;
-webkit-transition: .5s;
transition: .5s;
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
#twitter {
background: #1da1f2;
color: #ffffff;
font-size: 20px;
margin-top: 0px;
padding: 7px;
border-radius: 50%;
transition: .5s;
}
#twitter:hover {
background: #1DA1F2;
color: white;
-webkit-transition: .5s;
transition: .5s;
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
#instagram {
background-image: linear-gradient(to top right, #f0cd01, #f81605, #9548c2);
color: #ffffff;
font-size: 20px;
margin-top: 0;
padding: 7px;
border-radius: 50%;
transition: .5s;
}
#instagram:hover {
background-image: linear-gradient(to top right, #f0cd01, #f81605, #9548c2);
color: #ffffff;
-webkit-transition: .5s;
transition: .5s;
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}