-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
375 lines (317 loc) · 8.79 KB
/
styles.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
373
374
375
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
color: #eee; /* Light grey text for better readability */
background-color: #1f1f1f; /* Dark grey background */
animation: fadeIn 1s ease-in; /* 3-second fade-in effect */
}
header {
background-color: #f4f4f4; /* Light grey header */
color: #000; /* Black text */
padding: 10px;
display: flex;
justify-content: space-between;
align-items: center;
position: fixed; /* Fix the header to the top */
top: 0;
width: 100%;
z-index: 1000;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* Shadow for depth */
overflow-x: auto; /* Allow horizontal scrolling */
white-space: nowrap; /* Prevent wrapping of nav items */
}
body {
padding-top: 70px; /* Avoid content hiding under the header */
overflow-y: auto; /* Ensure vertical scrolling if needed */
}
.logo-container {
display: flex;
align-items: center;
}
.logo-container img {
width: 50px; /* Adjust size of the logo */
height: 50px;
margin-right: 10px; /* Space between image and text */
}
.logo-container em {
font-style: italic;
font-size: 1.2em;
color: #f4c542;
}
/* Center the navigation links */
nav {
flex-grow: 1;
text-align: center;
}
nav ul {
list-style-type: none;
margin: 0;
padding: 0;
display: inline-block; /* Make ul inline to center it */
}
nav ul li {
display: inline;
margin: 0 20px; /* Add space between links */
}
nav ul li a {
color: #ccc; /* Light grey for navigation links */
text-decoration: none;
font-weight: bold;
}
nav ul li a:hover {
color: #f4c542;
}
/* Hero Section */
#hero {
background: url('background.png') no-repeat center center/cover;
color: #fff;
text-align: center;
padding: 50px 50px;
}
#hero img {
max-width: 500px; /* Increase image size */
height: 100px; /* Maintain aspect ratio */
border-radius: 50%;
}
#hero h1 {
font-size: 2.5em;
margin: 20px 0;
}
#hero p {
font-size: 1.2em;
margin-bottom: 20px;
}
#hero button {
background-color: rgba(255, 255, 255, 0.1); /* Transparent button */
color: #fff; /* White text */
border: 2px solid rgba(255, 255, 255, 0.3); /* Semi-transparent border */
padding: 15px 30px; /* Button padding */
margin: 10px;
cursor: pointer;
font-size: 1.2em; /* Button font size */
transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease; /* Smooth transition */
}
#hero button:hover {
background-color: rgba(255, 255, 255, 0.3); /* Slightly more opaque on hover */
border-color: rgba(255, 255, 255, 0.5); /* Border becomes more visible on hover */
transform: scale(1.05); /* Slightly increase size on hover */
}
/* Course Section */
#courses {
padding: 20px;
text-align: center;
}
.course-list {
display: flex;
justify-content: center;
flex-wrap: wrap;
}
.course {
border: 1px solid #555; /* Grey border for courses */
padding: 20px;
margin: 10px;
width: 300px;
background-color: #2e2e2e; /* Darker grey background for courses */
color: #eee; /* Light grey text */
transition: transform 0.3s ease, background-color 0.3s ease;
}
/* Hover effect on course */
.course:hover {
background-color: #444; /* Slightly lighter background on hover */
transform: scale(1.05); /* Slight zoom on hover */
}
.course h3 {
color: #ddd; /* Light grey for course titles */
}
/* Course Images */
.course img {
border-radius: 60%;
width: 150px;
height: 190px;
object-fit: cover;
margin-bottom: 10px;
}
/* Transparent Buttons */
.course a button {
background-color: transparent;
color: #fff; /* White text */
border: 2px solid #fff; /* White border */
padding: 10px 20px;
cursor: pointer;
font-size: 1.1em;
transition: background-color 0.3s ease, border-color 0.3s ease;
}
/* Button Hover Effect */
.course a button:hover {
background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent on hover */
border-color: #f4c542; /* Highlight border on hover */
}
/* Discount Section */
#discount {
background: linear-gradient(135deg, #4e4e4e, #2e2e2e); /* Gradient background */
color: #fff; /* White text */
padding: 40px;
margin: 20px auto; /* Centering the section */
max-width: 800px; /* Max width for the section */
text-align: center; /* Center align text */
border-radius: 10px; /* Rounded corners */
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); /* Subtle shadow effect */
transition: transform 0.3s ease; /* Smooth transition for hover effect */
}
#discount:hover {
transform: translateY(-5px); /* Lift effect on hover */
}
/* Heading Styles */
#discount h2 {
font-size: 2em;
margin-bottom: 15px;
position: relative; /* Positioning for the decorative effect */
}
#discount h2::after {
content: '';
display: block;
width: 50px; /* Decorative line width */
height: 5px; /* Decorative line height */
background: #f4c542; /* Color for the decorative line */
margin: 10px auto; /* Center the line */
border-radius: 5px; /* Rounded edges for the line */
}
/* List Styles */
#discount ul {
list-style-type: none; /* Remove default list styles */
padding: 0; /* Remove padding */
text-align: left; /* Left align list items */
}
#discount li {
margin: 10px 0; /* Spacing between list items */
font-size: 1.2em; /* Increase font size for emphasis */
position: relative; /* Positioning for the bullet effect */
}
#discount li::before {
content: '✓'; /* Checkmark bullet */
color: #f4c542; /* Color for the checkmark */
position: absolute; /* Positioning for checkmark */
left: -25px; /* Space from the list item */
font-size: 1.5em; /* Size of the checkmark */
}
#contact form {
display: flex;
flex-direction: column;
align-items: center;
}
#contact label {
margin-top: 10px;
color: #ddd; /* Light grey for labels */
}
#contact input, #contact textarea {
width: 80%;
padding: 10px;
margin: 10px 0;
border: 1px solid #666; /* Grey border for inputs */
border-radius: 5px;
background-color: #2e2e2e; /* Dark grey background */
color: #ccc; /* Light grey text */
}
#contact button {
background-color: #444; /* Dark grey button */
color: #fff; /* White text */
border: none;
padding: 10px 20px;
cursor: pointer;
font-size: 1em;
}
#Begin button {
background-color: #444; /* Dark grey button */
color: #fff; /* White text */
border: none;
padding: 10px 20px;
cursor: pointer;
font-size: 1em;
}
footer {
background-color: #1c1c1c; /* Darker grey footer */
color: #fff; /* White text */
text-align: center;
padding: 20px;
}
footer a {
color: #f4c542; /* Gold color for links */
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}
/* Chatbot container styles */
#chatbot-container {
position: fixed;
bottom: 60px;
right: 20px;
width: 300px;
height: 500px;
z-index: 1000;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
display: none; /* Hidden by default */
}
iframe {
width: 100%;
height: 100%;
border: none;
}
/* Toggle button styles */
#chatbot-toggle {
position: fixed;
bottom: 20px;
right: 20px;
background-color: #666;
color: #fff;
padding: 10px 20px;
border-radius: 50px;
cursor: pointer;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
/* Media Queries for Small Devices */
@media (max-width: 768px) {
header {
padding: 15px 0; /* Adjust header padding */
}
main {
width: 95%; /* Increase width for smaller screens */
margin: 10px; /* Reduce margin */
}
nav ul li {
margin: 0 10px; /* Reduce margin for navigation */
}
h1 {
font-size: 24px; /* Adjust heading size */
}
button {
padding: 8px 16px; /* Adjust button padding */
}
}
/* Media Queries for Extra Small Devices */
@media (max-width: 480px) {
header {
padding: 10px 0; /* Further reduce header padding */
}
main {
width: 100%; /* Full width on extra small screens */
margin: 5px; /* Reduce margin */
}
h1 {
font-size: 20px; /* Further adjust heading size */
}
button {
font-size: 14px; /* Adjust button font size */
}
}
/* Keyframes for fade-in effect */
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}