-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
252 lines (215 loc) · 3.98 KB
/
Copy pathstyles.css
File metadata and controls
252 lines (215 loc) · 3.98 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
/* Reset default margins/padding */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Font and body defaults */
body {
font-family: 'Roboto', sans-serif;
background-color: #fff;
color: #1F2937;
line-height: 1.5;
}
html, body {
height: 100%;
}
/* Header */
.Header {
background-color: #1F2937;
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 60px;
}
.Header h1 {
font-size: 24px;
color: #F9FAF8;
font-weight: 700;
}
.HeaderLinks a {
font-size: 18px;
color: #E5E7EB;
margin-left: 20px;
text-decoration: none;
}
.HeaderLinks a:hover {
text-decoration: underline;
}
/* Hero section - Flex layout for side-by-side content */
.Hero {
background-color: #1F2937;
padding: 80px 60px;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 40px;
color: #F9FAF8;
}
.HeroContent {
flex: 1;
min-width: 300px;
}
.Hero h2 {
font-size: 48px;
font-weight: 900;
margin-bottom: 20px;
}
.Hero p {
font-size: 18px;
margin-bottom: 20px;
max-width: 600px;
}
.SignUp {
background-color: #3882F6;
color: #F9FAF8;
padding: 12px 32px;
font-size: 18px;
border: none;
border-radius: 8px;
cursor: pointer;
}
.SignUp:hover {
background-color: #2c6cd6;
}
/* Hero image - aligned to the right */
.HeroImage img {
max-width: 100%;
height: auto;
width: 400px;
min-width: 300px; /* Prevents excessive shrinking */
border-radius: 10px;
}
/* Information section */
.Information {
padding: 60px;
text-align: center;
background-image: url('resources/pexels-brett-sayles-1431822.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
color: #1F2937;
position: relative;
}
/* Ensure content is above the overlay */
.Information > * {
position: relative;
z-index: 1;
}
.Information h3 {
font-size: 36px;
color: #1F2937;
font-weight: 900;
margin-bottom: 40px;
}
.ImagesAndInformation {
display: flex;
justify-content: space-around;
gap: 20px; /* Reduced gap */
flex-wrap: wrap;
}
/* Make all info images same size and larger */
.InfoImage {
width: 220px;
height: 180px;
min-width: 220px; /* Prevents shrinking below this */
min-height: 180px;
object-fit: cover;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.InfoText {
margin-top: 12px;
font-size: 16px;
color: #1F2937;
}
/* Quote section */
.Quote {
background-color: #E5E7EB;
padding: 80px 60px;
text-align: center;
}
.Quote h2 {
font-size: 36px;
font-style: italic;
color: #1F2937;
font-weight: 300;
margin-bottom: 20px;
}
.Quote h3 {
font-size: 20px;
color: #1F2937;
font-weight: 500;
}
/* Call to action */
.CallToAction {
background-color: #3882F6;
color: #F9FAF8;
margin: 60px;
padding: 40px;
border-radius: 12px;
display: flex;
justify-content: space-between;
align-items: center;
}
.CallToAction p {
font-size: 20px;
font-weight: 500;
}
.CallToAction .SignUp {
border: 2px solid #F9FAF8;
background: transparent;
color: #F9FAF8;
}
.CallToAction .SignUp:hover {
background-color: #F9FAF8;
color: #3882F6;
}
/* Footer */
.Footer {
background-color: #1F2937;
padding: 30px;
text-align: center;
}
.Footer p {
font-size: 18px;
color: #E5E7EB;
}
.MainWindow {
display: flex;
flex-direction: column;
min-height: 100vh; /* Full viewport height */
}
.MainContainer {
flex: 1; /* This makes the main content take up available space, pushing footer down */
width: 100%;
}
.Information, .Hero, .Quote, .CallToAction {
min-width: 300px; /* Prevents layout from squeezing too hard */
}
.Hero {
display: flex;
justify-content: space-between;
align-items: center;
gap: 40px;
padding: 80px 60px;
background-color: #1F2937;
flex-wrap: wrap;
}
.HeroContent {
flex: 1;
min-width: 300px;
}
.HeroImage {
flex: 1;
min-width: 300px;
display: flex;
justify-content: center;
}
.HeroImage img {
max-width: 100%;
width: 400px;
min-width: 300px;
height: auto;
border-radius: 10px;
}