-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
961 lines (812 loc) · 16.7 KB
/
index.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
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
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
* {
list-style: none;
text-decoration: none;
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: ‘Open Sans’, sans-serif;
}
body {
background: #f5f6fa;
}
.wrapper {
display: flex;
}
.wrapper .sidebar {
background: rgb(5, 68, 104);
position: fixed;
top: 50px;
left: 0;
width: 80px;
/* Minimized width */
height: 100%;
transition: all 0.5s ease;
overflow: hidden;
z-index: 10;
/* Ensure the sidebar is on top */
}
.wrapper .sidebar:hover {
width: 250px;
}
.wrapper .sidebar ul {
list-style-type: none;
padding: 0;
margin: 0;
}
.wrapper .sidebar ul li {
padding: 0;
}
.wrapper .sidebar ul li a {
display: flex;
align-items: center;
padding: 18px 30px;
border-bottom: 1px solid #10558d;
color: rgb(241, 237, 237);
font-size: 16px;
position: relative;
white-space: nowrap;
transition: all 0.3s ease;
}
.wrapper .sidebar ul li a .icon {
color: #dee4ec;
width: 30px;
display: inline-block;
}
.wrapper .sidebar ul li a .item {
display: inline-block;
margin-left: 10px;
opacity: 0;
transition: opacity 0.3s ease;
}
.wrapper .sidebar:hover ul li a .item {
opacity: 1;
}
.wrapper .sidebar ul li a:hover,
.wrapper .sidebar ul li a.active {
color: rgb(69, 133, 222);
border-right: 2px solid rgb(5, 68, 104);
}
.wrapper .sidebar ul li a:hover .icon,
.wrapper .sidebar ul li a.active .icon {
color: #0c7db1;
}
.wrapper .section {
width: 100%;
transition: all 0.5s ease;
}
.wrapper .section .top_navbar {
background: rgb(7, 105, 185);
height: 50px;
align-items: center;
padding: 0 30px;
display: flex;
justify-content: space-between;
/* Ensure items are spaced evenly */
z-index: 10;
position: fixed;
width: 100%;
top: 0;
}
.wrapper .section .top_navbar .hamburger {
display: flex;
align-items: center;
}
.wrapper .section .top_navbar .hamburger a {
font-size: 28px;
color: #f4fbff;
display: flex;
align-items: center;
}
.wrapper .section .top_navbar .hamburger .company-name {
font-size: large;
margin-left: 6px;
}
.wrapper .section .top_navbar .hamburger a:hover {
color: #a2ecff;
}
.wrapper .section .top_navbar .hamburger .logo {
width: 40px;
height: auto;
cursor: pointer;
border-radius: 50%;
}
.custom-dropdown {
position: fixed;
right: 20px;
/* Adjust this value to your preference */
background: transparent;
border: none;
color: #fff;
cursor: pointer;
display: flex;
align-items: center;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
border-radius: 6px;
height: 40px;
z-index: 999;
/* Ensure it's above other elements */
}
.custom-dropdown img {
width: 40px;
height: 40px;
border-radius: 50%;
margin-right: 5px;
}
.custom-dropdown p {
margin-top: 1px;
font-size: large;
}
.custom-dropdown i {
margin-left: 5px;
}
.dropdown {
top: 100%;
right: 0;
}
.dropdown-content {
display: none;
position: absolute;
top: 100%;
/* Position the dropdown below the custom-dropdown button */
right: 0;
/* Align the dropdown with the right edge of the button */
background-color: #ffffff;
/* Background color of the dropdown */
min-width: 140px;
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
/* Add shadow for depth */
z-index: 999;
/* Ensure the dropdown is above other elements */
border-radius: 6px;
/* Rounded corners */
overflow: hidden;
/* Hide overflow content */
}
.dropdown-content a {
color: rgb(7, 105, 185) !important;
/* Text color of dropdown items */
padding: 10px 20px;
/* Padding around dropdown items */
text-decoration: none;
/* Remove default underline */
font-size: 16px !important;
display: block;
/* Display items as blocks */
}
.dropdown-content a:hover {
background-color: #f1f1f1;
/* Background color on hover */
}
.wrapper .sidebar ul li .user-shield-icon {
display: none;
}
.wrapper .sidebar:hover ul li .user-shield-icon {
display: inline-block;
}
/* Mobile Styles */
@media (max-width: 768px) {
.wrapper {
flex-direction: column;
}
.wrapper .sidebar ul li a {
justify-content: center;
text-align: center;
padding: 15px 0;
}
.wrapper .sidebar ul li a .icon {
margin-right: 0;
}
.wrapper .sidebar ul li a .item {
display: none;
/* Hide text items on mobile */
}
.wrapper .section {
width: 100%;
margin-top: 50px;
/* Adjust for fixed navbar height */
}
.wrapper .section .top_navbar {
position: fixed;
width: 100%;
top: 0;
z-index: 11;
}
.custom-dropdown {
margin-left: auto;
}
}
.banner-slider {
position: relative;
overflow: hidden;
margin: 0px auto;
}
.dots-container {
text-align: center;
margin-top: 0px;
}
.dot {
display: inline-block;
height: 10px;
width: 10px;
background-color: #bbb;
border-radius: 50%;
margin: 0 5px;
cursor: pointer;
}
.dot.active {
background-color: #555;
}
@media only screen and (max-width: 768px) {
.banner-slider {
max-width: 100%; /* Adjust for smaller screens */
}
}
.banner-container {
display: flex;
align-items: center;
justify-content: center;
transform: translateY(2px); /* Initial position and opacity */
transition: opacity 0.5s ease, transform 0.5s ease; /* Transition effect */
}
.banner-container .banner {
background: linear-gradient(-55deg, black 29%, #12588c 29.1%, #12588c 68%, black 68.1%);
border-radius: 5px;
margin: 40px 160px 10px 160px;
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
box-shadow: 0 5px 10px #0005;
overflow: hidden;
}
.banner-container .banner .course {
flex: 1 1 250px;
padding: 15px;
text-align: center;
}
.banner-container .banner .course img {
width: 98%;
}
.banner-container .banner .content {
flex: 1 1 250px;
text-align: center;
padding: 10px;
text-transform: uppercase;
}
.banner-container .banner .content span {
color: #eee;
font-size: 25px;
}
.banner-container .banner .content h3 {
color: #fff;
font-size: 40px;
}
.banner-container .banner .content p {
color: #eee;
font-size: 20px;
padding: 10px 0;
}
.banner-container .banner .content .btn {
display: block;
height: 40px;
width: 150px;
line-height: 40px;
background: #fff;
color: #d63031;
margin: 5px auto;
text-decoration: none;
}
.banner-container .banner .women {
position: relative;
bottom: -16px;
padding: 10px;
flex: 1 1 250px;
}
.banner-container .banner .women img {
width: 100%;
}
@media only screen and (max-width: 768px) {
.banner-container {
margin-top: -40px;
}
.banner-container .banner {
margin: 20px 1px 1px 100px;
}
.banner-container .banner .course,
.banner-container .banner .content,
.banner-container .banner .women {
flex: 1 1 100%;
margin-bottom: 20px;
}
.banner-container .banner .content h3 {
font-size: 30px;
}
.banner-container .banner .content p {
font-size: 16px;
}
.banner-container .banner .content .btn {
width: 120px;
}
.banner-container .banner .women {
bottom: 0;
}
}
.main-container {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
height: 80vh;
width: 90%;
margin-left: 100px;
}
.containers {
display: flex;
flex-direction: column;
align-items: center;
}
.boxes {
width: 200px;
height: 200px;
background-color: #dee4ec;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
margin: 10px;
transition: transform 0.3s ease;
}
.instituteBtn {
border: none;
background-color: transparent;
}
.box1 {
background-image: url('img/nareshIt.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.box2 {
background-image: url('img/sathyaIt.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.box3 {
background-image: url('img/Qspidersit.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.box4 {
background-image: url('img/qualityIt.png');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.boxes:hover {
transform: scale(1.05);
}
.slider-container {
position: relative;
width: 100%;
height: 90%;
overflow: hidden;
}
.slider-container .slider {
position: relative;
}
.slider-container .sr-only {
position: absolute;
pointer-events: none;
width: 1px;
height: 1px;
overflow: hidden;
color: transparent;
}
.slider-container input {
position: absolute;
opacity: 0;
margin-top: 95vh;
align-items: left;
cursor: pointer;
}
.slider-container label {
display: inline-block;
width: 12px;
height: 12px;
border: solid 2px white;
border-radius: 999px;
background-color: transparent;
margin: 95vh 6px 0 6px;
z-index: 2;
cursor: pointer;
transition-duration: .4s;
box-shadow: 0 0 20px 0 #000;
}
.slider-container input:checked+label {
background-color: white;
}
.slider-container input+label::after {
content: '';
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 512' width='100' style='fill:white'%3E%3Cpath d='M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z' /%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: center 55%;
background-size: 80px 80px;
line-height: 100vh;
transition: background-size 200ms;
position: absolute;
color: white;
height: calc(95vh - 12px);
width: 80px;
top: 0;
left: 0;
z-index: 20;
}
.slider-container input+label:hover::after {
background-size: 90px 90px;
}
.slider-container input:checked+label::after {
background-image: none;
width: 100vw;
left: 0;
z-index: 10;
}
.slider-container input:checked+label+.slide~input+label::after {
display: none;
}
.slider-container input:checked+label+.slide+input+label::after {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 512' width='100' fill='white'%3E%3Cpath d='M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z' /%3E%3C/svg%3E");
display: block;
width: 80px;
right: 0;
left: auto;
}
.slider-container input:focus+label {
box-shadow: 0 0 0 2px teal, 0 0 18px white;
}
.slider-container .slide {
position: absolute;
background-position: center;
background-size: cover;
background-repeat: no-repeat;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: -1;
transform: translateX(-100%);
transition-duration: .4s;
opacity: 1;
}
.slider-container input:checked~.slide {
transform: translateX(100%);
}
.slider-container input:checked+label+.slide {
transform: translateX(0);
opacity: 1;
}
.slider-container .bg1 {
background-image: url(img/slider3.png);
}
.slider-container .bg2 {
background-image: url(img/slider2.png);
}
.slider-container .bg3 {
background-image: url(img/slider1.png);
}
.slider-container .bg4 {
background-image: url(img/slider4.png);
}
.slider-container .bg5 {
background-image: url(img/slider5.png);
}
@media only screen and (max-width: 768px) {
.main-container {
flex-direction: column;
/* Stack items vertically on smaller screens */
align-items: center;
/* Center items horizontally */
margin-left: 20px;
/* Reduce left margin for smaller screens */
height: auto;
/* Allow height to adjust based on content */
}
.containers {
width: 80%;
/* Make container width wider on smaller screens */
margin: 20px auto;
/* Center container horizontally */
margin-left: 90px;
margin-right: 10px;
}
.boxes {
width: 100%;
/* Make boxes full width on smaller screens */
}
.slider-container {
width: 100%;
/* Ensure slider container spans full width */
margin-left: 90px;
}
.instituteBtn {
width: 100%;
border: none;
background-color: transparent;
}
}
.institute {
position: relative;
width: 100%;
height: 90%;
overflow: hidden;
background-color: #0005;
}
.details {
height: 250px;
background-color: #f9f9f9;
/* Background color */
border-radius: 10px;
/* Rounded corners */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
/* Box shadow for depth */
padding: 10px;
/* Padding inside the box */
margin: 10px;
/* Margin around the box */
}
.details h3 {
text-align: center;
color: #333;
/* Heading color */
font-size: 20px;
/* Font size */
margin-bottom: 10px;
/* Bottom margin for separation */
}
.details p {
color: #666;
/* Paragraph text color */
font-size: 16px;
/* Font size */
margin-bottom: 8px;
/* Bottom margin for separation */
padding: 0px 0px 0px 20px;
}
.details p:hover {
color: rgb(7, 105, 185);
/* Paragraph text color */
font-size: 16px;
/* Font size */
margin-bottom: 8px;
/* Bottom margin for separation */
}
.details img {
display: block;
margin: 0 auto;
border-radius: 10px;
}
#courses {
overflow-x: scroll;
overflow-x: hidden;
}
.institute {
background-color: #f9f9f9;
/* Background color */
border-radius: 10px;
/* Rounded corners */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
/* Box shadow for depth */
padding: 20px;
/* Padding inside the section */
margin: 20px;
/* Margin around the section */
}
.instituteName {
text-align: center;
padding: 4px;
background-color: rgb(7, 105, 185);
color: white;
/* Heading color */
font-size: 24px;
/* Font size */
margin-bottom: 15px;
/* Bottom margin for separation */
}
.institute p {
color: #666;
/* Paragraph text color */
font-size: 16px;
/* Font size */
margin-bottom: 10px;
/* Bottom margin for separation */
}
.Classes {
display: flex;
/* Arrange cards in a row */
justify-content: space-between;
/* Evenly distribute space between cards */
margin-top: 20px;
/* Top margin for separation */
}
.card {
position: relative;
width: calc(25% - 20px);
/* Set width for each card */
background-color: #fff;
/* Background color for cards */
border-radius: 10px;
/* Rounded corners */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
/* Box shadow for depth */
/* Padding inside each card */
transition: transform 0.3s ease;
/* Smooth transition on hover */
}
.card:hover {
transform: translateY(-5px);
}
.upperdiv {
background: linear-gradient(135deg, rgba(117, 14, 129, 255), rgba(196, 74, 224, 255));
/* Linear gradient background */
color: #fff;
/* Text color */
border-radius: 10px 10px 0 0;
/* Rounded corners (top-left, top-right) */
padding: 10px;
/* Padding inside upper section */
display: flex;
/* Use flexbox */
justify-content: center;
/* Center horizontally */
align-items: center;
/* Center vertically */
height: 140px;
text-align: center;
}
.upperdiv p {
margin: 0;
/* Remove default margin */
color: white;
font-size: medium;
}
.lowerdiv {
height: 150px;
padding: 10px;
}
.lowerdiv h3 {
color: #333;
font-size: 18px;
margin-bottom: 5px;
}
.lowerdiv p {
color: #666;
font-size: 14px;
margin-bottom: 5px;
padding: 0px;
}
.card button {
position: absolute;
/* Position the button absolutely */
bottom: 10px;
/* Align the button to the bottom */
right: 10px;
/* Align the button to the right */
left: 10px;
background-color: #007bff;
/* Button background color */
color: #fff;
/* Button text color */
border: none;
/* Remove border */
padding: 8px 16px;
/* Padding inside button */
width: 90%;
cursor: pointer;
/* Cursor style */
border-radius: 4px;
/* Button border radius */
transition: background-color 0.3s;
/* Smooth transition on hover */
}
.card button:hover {
background-color: #0056b3;
/* Change background color on hover */
}
.viewMore {
position: absolute;
bottom: 1px;
left: 50%;
transform: translate(-50%, -50%);
display: inline-block;
background-color: #007bff;
color: #fff !important;
border: none;
padding: 10px 20px;
cursor: pointer;
border-radius: 4px;
transition: background-color 0.3s;
}
.viewMore:hover {
background-color: #0056b3;
color:white;
}
@media (max-width: 1024px) {
.viewMore {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
}
}
/* For responsiveness */
@media (max-width: 768px) {
.viewMore {
position: relative;
bottom: auto;
left: auto;
transform: none;
display: block;
margin: 20px auto;
}
}
#sathya,
#Qspiders,
#QualityThought {
display: none;
}
@media (min-width: 768px) and (max-width: 1024px) {
.card {
display: none;
}
.institute button {
width: 60%;
}
}
@media (max-width: 768px) {
.institute {
margin: 20px 0px 20px 100px;
}
.Classes {
display: flex;
flex-wrap: wrap;
}
.card {
width: 45%;
margin: 2.5%;
}
.viewMore {
width: 50%;
}
.details {
text-align: center;
}
.card button {
width: 90%;
}
}
@media (max-width: 480px) {
.instituteName {
font-size: 20px;
/* Adjust font size */
}
.institute p,
.lowerdiv p,
.lowerdiv h3 {
font-size: 14px;
/* Adjust font size */
}
.institute {
margin: 20px 0px 20px 100px
}
.Classes {
flex-direction: column;
}
.card {
width: 80%;
margin-left: 30px;
}
.card button,
.viewMore {
width: 90%;
/* Adjust button width */
}
}