forked from github/codespaces-react
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHeroSection.css
More file actions
123 lines (106 loc) · 2.68 KB
/
Copy pathHeroSection.css
File metadata and controls
123 lines (106 loc) · 2.68 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
/* Root Variables for Colors */
:root {
--primary-blue: #9191f5; /* Futuristic Blue */
--secondary-blue: #000f14; /* Lighter Blue */
--highlight-yellow: #fffb00; /* Accent Yellow */
--background-dark: #121212; /* Dark Background */
--white: #ffffff; /* White */
--button-hover: #ffcc00; /* Button Hover */
--text-light: rgba(255, 255, 255, 0.7); /* Light Text */
}
/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: system-ui, -apple-system, BlinkMacSystemFont,
'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
'Helvetica Neue', sans-serif;
background-color: var(--background-dark); /* Dark Background */
color: var(--white);
}
/* Hero Section Styling */
.hero {
background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue)); /* Futuristic Blue Gradients */
color: var(--white);
text-align: center;
padding: 80px 20px;
height: 100vh; /* Full-screen height */
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.hero-content {
max-width: 1000px;
padding: 20px;
}
.main-title {
font-size: 4rem;
font-weight: 700;
margin-bottom: 20px;
text-align: center;
}
.main-title span {
color: var(--highlight-yellow); /* Accent Yellow */
/* text-shadow: 0 0 20px var(--highlight-yellow); Glowing Effect */
}
.description {
font-size: 1.5rem;
line-height: 1.6;
max-width: 700px;
margin: 0 auto;
margin-bottom: 40px;
color: var(--text-light);
}
.buttons {
display: flex;
justify-content: center;
gap: 20px;
}
.cta-btn,
.secondary-btn {
background-color: var(--white);
color: var(--secondary-blue);
font-size: 1.1rem;
padding: 15px 30px;
border: none;
border-radius: 50px;
cursor: pointer;
font-weight: 700;
transition: all 0.3s ease;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
text-transform: uppercase;
}
.cta-btn:hover {
background-color: var(--primary-blue);
color: var(--white);
transform: scale(1.1);
}
.secondary-btn {
background-color: rgba(255, 255, 255, 0.1);
color: var(--white);
transform: scale(1);
}
.secondary-btn:hover {
background-color: rgba(255, 255, 255, 0.2);
color: var(--primary-blue);
transform: scale(1.05);
}
/* Responsive Design for Mobile */
@media (max-width: 768px) {
.hero {
padding: 50px 20px;
}
.main-title {
font-size: 2.5rem;
}
.description {
font-size: 1.2rem;
}
.buttons {
flex-direction: column;
}
}