-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHome.css
More file actions
330 lines (275 loc) · 7.56 KB
/
Home.css
File metadata and controls
330 lines (275 loc) · 7.56 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
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
/* Home.css */
body {
margin: 0;
padding: 0;
background-color: white; /* White background for the page */
font-family: 'Courier New', Courier, monospace; /* Use a monospace font */
}
.container {
display: flex;
justify-content: space-between;
align-items: center;
}
.navbar {
background-color: orange; /* Orange background for the navigation bar */
color: white;
padding: 10px 20px; /* Adjusted padding */
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
height: 60px; /* Set a fixed height for the navbar */
}
.logo img {
width: auto;
height: 40px; /* Adjusted height for the logo */
}
.logo {
font-size: 1.2em; /* Adjusted font size for the logo */
}
.buttons a {
margin-left: 15px;
padding: 10px 15px;
border: none;
border-radius: 5px;
cursor: pointer;
background-color: orange;
color: white;
}
.navbar {
background-color: orange;
color: white;
}
/* Animated Text Styles */
@keyframes fadeIn {
0% { opacity: 0; transform: translateY(-20px); }
100% { opacity: 1; transform: translateY(0); }
}
@keyframes blink {
0%, 50%, 100% { opacity: 1; }
25%, 75% { opacity: 0; }
}
.animated-text {
text-align: center;
font-size: 2em;
margin-top: 20px;
color: orange; /* Set the text color to orange */
display: flex;
align-items: center; /* Center vertically */
justify-content: center; /* Center horizontally */
white-space: nowrap; /* Prevent line break */
overflow: hidden; /* Hide overflow */
}
.animated-letter {
display: inline-block;
font-weight: bold; /* Make the letter bold */
color: orange; /* Set the text color to orange */
margin: 0 5px; /* Add margin for spacing between letters */
}
.animated-text .animated-letter {
opacity: 0;
animation: fadeIn 1s ease-in-out forwards; /* Apply fade-in animation */
}
.animated-text .animated-letter:nth-child(1) {
animation-delay: 0.5s; /* Delay for the first letter */
}
.animated-text .animated-letter:nth-child(2) {
animation-delay: 1s; /* Delay for the second letter */
}
.animated-text .animated-letter:nth-child(3) {
animation-delay: 1.5s; /* Delay for the third letter */
}
/* Additional Content Styles */
.additional-content {
text-align: center;
margin-top: 20px;
}
.additional-content img {
max-width: 100%; /* Ensure the image doesn't exceed its container */
}
.additional-content p {
color: black; /* Set the text color to dark black */
display: inline-block;
}
/* Word-by-word animation */
.additional-content p span {
opacity: 0;
animation: fadeIn 1s ease-in-out forwards;
}
.additional-content p span:nth-child(1) {
animation-delay: 2s; /* Delay for the first word */
}
.additional-content p span:nth-child(2) {
animation-delay: 3s; /* Delay for the second word */
}
/* Timeline Container */
.timeline {
background: white; /* Match the primary color */
margin: 20px auto; /* Center the timeline horizontally */
padding: 20px;
border-radius: 15px; /* Added border-radius for a rounded look */
max-width: 500px; /* Set a maximum width for better readability on larger screens */
}
/* Card container */
.timeline .card {
position: relative;
max-width: 400px;
}
/* setting padding based on even or odd */
.timeline .card:nth-child(odd) {
padding: 30px 0 30px 30px;
}
.timeline .card:nth-child(even) {
padding: 30px 30px 30px 0;
}
/* Global ::before */
.timeline .card::before {
content: "";
position: absolute;
width: 50%;
border: solid orangered;
}
/* Setting the border of top, bottom, left */
.timeline .card:nth-child(odd)::before {
left: 0px;
top: -4.5px;
bottom: -4.5px;
border-width: 5px 0 5px 5px;
border-radius: 50px 0 0 50px;
}
/* Setting the border of top, bottom, right */
.timeline .card:nth-child(even)::before {
right: 0;
top: 0;
bottom: 0;
border-width: 5px 5px 5px 0;
border-radius: 0 50px 50px 0;
}
/* Removing the border if it is the first card */
.timeline .card:first-child::before {
border-top: 0;
border-top-left-radius: 0;
}
/* Removing the border if it is the last card and it's odd */
.timeline .card:last-child:nth-child(odd)::before {
border-bottom: 0;
border-bottom-left-radius: 0;
}
/* Removing the border if it is the last card and it's even */
.timeline .card:last-child:nth-child(even)::before {
border-bottom: 0;
border-bottom-right-radius: 0;
}
/* Information about the timeline */
.timeline .info {
display: flex;
flex-direction: column;
background: white;
color: black;
border-radius: 10px;
padding: 10px;
}
/* Title of the card */
.timeline .title {
color: orangered;
position: relative;
}
/* Timeline dot */
.timeline .title::before {
content: "";
position: absolute;
width: 10px;
height: 10px;
background: white;
border-radius: 999px;
border: 3px solid orangered;
}
/* text right if the card is even */
.timeline .card:nth-child(even) > .info > .title {
text-align: right;
}
/* setting dot to the left if the card is odd */
.timeline .card:nth-child(odd) > .info > .title::before {
left: -45px;
}
/* setting dot to the right if the card is odd */
.timeline .card:nth-child(even) > .info > .title::before {
right: -45px;
}
/* Add a heading for testimonials */
.testimonials-heading {
text-align: center;
font-size: 24px;
margin-bottom: 20px;
}
/* Additional styles for Testimonials Section */
.testimonials {
text-align: center;
margin-top: 40px; /* Adjust as needed */
margin-bottom: 40px; /* Add space between timeline and testimonials */
}
.testimonials-heading {
font-size: 24px;
margin-bottom: 20px;
}
.testimonials-container {
display: flex;
justify-content: space-around; /* Adjust as needed */
flex-wrap: wrap;
}
.box {
background: #fff;
width: 250px;
padding: 15px;
border: 2px solid orange;
margin-bottom: 20px; /* Adjust spacing */
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
flex: 0 0 calc(33.33% - 20px); /* Distribute boxes evenly with some spacing */
}
.testimonial {
text-align: center;
}
.testimonial i {
font-size: 20px;
color: orange;
margin-bottom: 10px;
}
.testimonial p {
margin: 0;
color: black;
}
.content .info .name {
font-weight: 600;
font-size: 16px;
color: orange;
}
/* Additional styles for Footer Section */
body {
margin: 0;
padding: 0;
font-family: 'Arial', sans-serif;
}
.orange-container {
background-color: orange;
padding: 20px;
color: white;
text-align: center;
border: 2px solid black;
margin: 20px;
}
.orange-container a {
color: white;
}
.social-icon {
list-style: none;
padding: 0;
display: flex;
justify-content: center;
}
.social-icon a {
color: white;
margin: 0 10px;
font-size: 20px;
text-decoration: none;
}
.copyright-text a {
color: white;
font-weight: bold;
}