-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
372 lines (322 loc) · 7.42 KB
/
style.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
/* General Styles */
body {
font-family: 'Roboto', sans-serif;
margin: 0;
padding: 0;
background-color: #f0f0ff; /* Light violet background */
color: #333;
}
/* Navigation Bar Styles */
.navbar {
background-color: #5e4b8b; /* Primary violet */
overflow: hidden;
}
.navbar ul {
list-style-type: none;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
}
.navbar li a {
display: block;
color: white;
text-align: center;
padding: 14px 20px;
text-decoration: none;
transition: background-color 0.3s ease, color 0.3s ease;
}
.navbar li a:hover {
background-color: #8a6fa0; /* Lighter violet on hover */
color: #fff;
text-shadow: 0 0 5px #fff;
}
/* Header Styles */
header {
background-color: #5e4b8b; /* Primary violet */
color: white;
padding: 60px 20px;
text-align: center;
}
header h1 {
font-family: 'Montserrat', sans-serif;
font-size: 2.5em;
}
header p {
font-size: 1.2em;
margin-top: 10px;
}
/* Call to Action Button Styles */
.cta-button {
background-color: #b39ddb; /* Accent lighter violet */
color: white;
padding: 10px 20px;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s ease;
display: inline-block;
margin-top: 20px;
}
.cta-button:hover {
background-color: #9c8abf; /* Slightly darker accent */
}
/* Section Heading Styles */
h2 {
text-align: center;
margin-top: 40px;
color: #5e4b8b; /* Primary violet */
}
/* Timeline Styles */
.timeline-roadmap {
position: relative;
width: 90%;
max-width: 1200px;
margin: 40px auto;
padding: 20px 0;
/* Central vertical line */
border-left: 2px solid #5e4b8b;
}
/* Timeline Items */
.timeline-item {
position: relative;
margin: 20px 0;
padding: 10px 40px;
width: 50%;
cursor: pointer;
transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.timeline-item:hover {
background-color: #e8e0ff; /* Light background on hover */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/* Alternate timeline items */
.timeline-item:nth-child(odd) {
left: 0;
}
.timeline-item:nth-child(even) {
left: 50%;
}
/* Content within timeline items */
.timeline-content {
padding: 10px;
background: #fff;
border-radius: 8px;
position: relative;
}
/* Add arrow to timeline items */
.timeline-item:nth-child(odd) .timeline-content::after {
content: "";
position: absolute;
top: 15px;
right: -15px;
border-width: 8px;
border-style: solid;
border-color: transparent transparent transparent #fff;
}
.timeline-item:nth-child(even) .timeline-content::after {
content: "";
position: absolute;
top: 15px;
left: -15px;
border-width: 8px;
border-style: solid;
border-color: transparent #fff transparent transparent;
}
/* Hover Image Styles */
#hover-image {
z-index: 10;
width: 150px;
border-radius: 10px;
position: absolute;
display: none;
pointer-events: none;
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
/* About Section Styles */
#about {
padding: 40px 20px;
background-color: #e7f3fe; /* Light Blue */
border-radius: 5px;
margin: 20px auto;
width: 90%;
max-width: 1200px;
color: #5e4b8b;
}
/* Contact Section Styles */
#contact {
padding: 40px 20px;
background-color: #fce4ec; /* Light Pink */
border-radius: 5px;
margin: 20px auto;
width: 90%;
max-width: 1200px;
color: #5e4b8b;
}
/* Footer Styles */
footer {
background-color: #5e4b8b; /* Primary violet */
color: white;
text-align: center;
padding: 20px 0;
position: relative;
bottom: 0;
width: 100%;
}
footer a {
color: #ffd700; /* Gold color for links */
text-decoration: none;
}
footer a:hover {
text-decoration: underline; /* Underline on hover */
}
/* Responsive Design */
@media (max-width: 768px) {
.navbar ul {
flex-direction: column;
}
.timeline-roadmap {
width: 100%;
}
.timeline-item {
width: 100%;
padding-left: 70px;
padding-right: 25px;
margin: 20px 0;
}
.timeline-item:nth-child(even),
.timeline-item:nth-child(odd) {
left: 0;
}
/* Adjust arrow positions for mobile */
.timeline-item:nth-child(odd) .timeline-content::after,
.timeline-item:nth-child(even) .timeline-content::after {
left: -15px;
right: auto;
border-color: transparent #fff transparent transparent;
}
}
/* Discovery Page Specific Styles */
.discovery-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
padding: 40px 20px;
max-width: 1200px;
margin: 0 auto;
}
.discovery-card {
background-color: #fff;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
padding: 15px;
transition: transform 0.3s, box-shadow 0.3s;
position: relative;
overflow: hidden;
cursor: pointer;
}
.discovery-card h2 {
color: #5e4b8b; /* Primary violet */
margin-bottom: 10px;
}
.discovery-card p {
margin: 10px 0;
color: #555;
font-size: 0.95rem;
}
.discovery-img {
width: 100%;
height: auto;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transition: transform 0.3s;
}
.discovery-card:hover {
transform: scale(1.02);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.discovery-card:hover .discovery-img {
transform: scale(1.05);
}
/* Modal Styling */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1000; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */
}
.modal-content {
background-color: #fff;
margin: 5% auto; /* Adjusted margin */
padding: 20px;
border: 1px solid #888;
width: 80%; /* Could be more or less, depending on screen size */
border-radius: 10px;
position: relative;
}
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}
.close:hover,
.close:focus {
color: black;
text-decoration: none;
}
.back-button {
display: flex;
justify-content: center;
margin-top: 20px;
}
.back-button a {
background-color: #5e4b8b; /* Primary violet */
color: white;
padding: 10px 20px;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s;
}
.back-button a:hover {
background-color: #4a3a7a; /* Darker shade on hover */
}
/* Smooth Scroll */
html {
scroll-behavior: smooth;
}
.timeline-line {
position: absolute;
width: 6px;
background-color: #5e4b8b;
left: 50%;
top: 0;
bottom: 0;
transform: translateX(-50%);
}
footer {
text-align: center;
background: #5e4b8b; /* Vibrant cyan with transparency */
backdrop-filter: blur(10px); /* Glass blur effect */
padding: 15px; /* Reduced padding */
width: 100%;
border-top: 1px solid rgba(255, 255, 255, 0.3); /* Subtle border */
margin-top: auto; /* Push footer to the bottom */
}
.social-media {
margin-top: 10px; /* Space above the icons */
}
.social-media a {
color: #f0f0f0; /* Icon color */
margin: 0 10px; /* Space between icons */
font-size: 24px; /* Size of the icons */
transition: color 0.3s; /* Smooth color transition */
}
.social-media a:hover {
color: #fbff00; /* Change color on hover */
}