1
+ .heroBanner {
2
+ background : # 000 ; /* Black background */
3
+ color : # fff ;
4
+ padding : 4rem 1rem ; /* Adjusted for smaller screens */
5
+ text-align : center;
6
+ display : flex;
7
+ justify-content : center;
8
+ align-items : center;
9
+ min-height : 40vh ; /* Ensure there's enough space for the content */
10
+ flex-direction : column; /* Ensure column layout on smaller screens */
11
+ }
12
+
13
+ .heroContent {
14
+ position : relative;
15
+ z-index : 1 ;
16
+ padding : 0 2rem ; /* Add padding to ensure content doesn't touch the edges */
17
+ }
18
+
19
+ .heroTitle {
20
+ font-size : clamp (2rem , 5vw , 4rem );
21
+ font-weight : bold;
22
+ margin-bottom : 0.5rem ;
23
+ background : linear-gradient (to right, # e74c3c, # e67e22 );
24
+ -webkit-background-clip : text;
25
+ -webkit-text-fill-color : transparent;
26
+ }
27
+
28
+ .heroSubtitle {
29
+ font-size : clamp (1rem , 2.5vw , 1.5rem );
30
+ color : # fff ;
31
+ }
32
+
33
+ .main {
34
+ padding : 2rem 1rem ;
35
+ display : flex;
36
+ justify-content : center;
37
+ align-items : center;
38
+ height : 60vh ;
39
+ flex-direction : column; /* Ensure column layout on smaller screens */
40
+ }
41
+
42
+ .cards {
43
+ display : grid;
44
+ grid-template-columns : repeat (auto-fit, minmax (300px , 1fr ));
45
+ gap : 2rem ;
46
+ max-width : 1200px ; /* Limit the width of the card container */
47
+ width : 100% ;
48
+ }
49
+
50
+ .card {
51
+ background : # fff ;
52
+ border : 1px solid # ddd ;
53
+ border-radius : 8px ;
54
+ box-shadow : 0 2px 5px rgba (0 , 0 , 0 , 0.1 );
55
+ padding : 2rem ;
56
+ text-align : left;
57
+ transition : transform 0.3s , box-shadow 0.3s ;
58
+ }
59
+
60
+ .card : hover {
61
+ transform : translateY (-5px );
62
+ box-shadow : 0 4px 10px rgba (0 , 0 , 0 , 0.15 );
63
+ }
64
+
65
+ .cardContent {
66
+ display : flex;
67
+ flex-direction : column;
68
+ align-items : flex-start;
69
+ }
70
+
71
+ .cardIcon {
72
+ width : 40px ;
73
+ height : 40px ;
74
+ margin-bottom : 1rem ;
75
+ }
76
+
77
+ .card h3 {
78
+ color : # 000b05 ;
79
+ margin-bottom : 1rem ;
80
+ }
81
+
82
+ .card p {
83
+ color : # 333 ;
84
+ margin-bottom : 1rem ;
85
+ }
86
+
87
+ .cardLink {
88
+ background : linear-gradient (to right, # e74c3c, # e67e22 );
89
+ border-radius : 50px ;
90
+ color : # fff ;
91
+ padding : 0.5rem 1rem ;
92
+ text-decoration : none;
93
+ transition : background 0.3s ;
94
+ text-align : center;
95
+ display : inline-block;
96
+ }
97
+
98
+ .cardLink : hover {
99
+ background : # e74c3c ; /* Use the darkest color in the gradient */
100
+ color : # fff ; /* Keep the text white */
101
+ }
0 commit comments