-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
364 lines (298 loc) · 7.1 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
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background-color: #f7f7f7;
background: linear-gradient(to right,
#2b0140 0%, /* Dark purple on the left */
#601f99 50%, /* Light purple in the middle */
#705d93 100%); /* Very light color on the right */
}
.navbar {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #f7f7f7;
padding: 10px 20px;
}
.navbar ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
}
.navbar li {
margin: 0 15px;
}
.navbar a {
text-decoration: none;
color: rgb(0, 0, 0);
font-size: larger;
}
.lets-talk-btn {
background-color:rgb(210, 13, 13);
color: white;
border: none;
border-radius: 14px;
cursor: pointer;
font-size: larger;
}
.image-block {
text-align: center;
padding: 50px;
background-color: #f7f7f7;
background: linear-gradient(to right,
#58097f 0%, /* Dark purple on the left */
#601f99 50%, /* Light purple in the middle */
#573c88 100%); /* Very light color on the right */
}
/* working code */
.image-block img {
object-fit: cover;
border-radius: 5px;
opacity: 0.4;
}
.image-text {
margin-bottom: 20px;
}
.image-text p {
font-size: 18px;
font-weight: bold;
}
.image-block {
position: relative;
}
.image-text {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
color: #fff;
}
.image-text p {
font-size: 54px;
font-weight: bold;
margin: 0;
}
.content-block {
margin-top: 40px;
display: flex;
width: 70%;
height: 400px;
justify-content: center;
align-items: center;
margin: 0 auto; /* Center the block on the page */
}
.text-block {
flex: 1;
max-width: 600px; /* Adjust the max-width as needed */
line-height: 1.9;
font-size: larger;
}
.text-block p {
margin-bottom: 20px;
color: white; /* Change the text color to your desired color */
font-family: 'Arial', sans-serif; /* Change the font-family to your desired font */
font-style: italic; /* Make the text italic */
}
.image-block-audit {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
}
.image-block-audit img {
margin-top: 70px;
width:270px;
/* height: 50%; */
}
* {
box-sizing: border-box;
}
/* Style the main footer container */
.simple-footer {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
padding: 20px;
color :white;
background-color: #f7f7f7;
background: linear-gradient(to right,
#6b1c92 0%, /* Dark purple on the left */
#601f99 50%, /* Light purple in the middle */
#705d93 100%); /* Very light color on the right */
}
/* Style the logo section */
.logo-section {
flex: 1; /* Adjust the width of the logo section */
margin-bottom: 20px;
justify-items: left;
justify-content: left;
}
.logo {
width: 140px;
height: auto;
}
/* Style the social links section */
.social-links {
flex: 1;
display: flex;
justify-content: left;
margin-bottom: 20px;
color:white;
}
.social-links a{
text-decoration: none;
}
.social-link {
margin: 0 10px;
}
/* Style the navigation section */
.navigation {
display: flex;
justify-content: space-around;
width: 100%;
margin-bottom: 20px;
}
.nav-section {
flex: 2;
margin-right: 20px;
}
.nav-section p {
font-weight: bold;
margin-bottom: 10px;
}
.nav-section ul {
list-style: none;
color:white;
}
.nav-section li {
margin-bottom: 5px;
color:white;
}
/* Style the copyright section */
.copyright-section {
text-align: center;
}
.container {
display: flex;
}
#quizContainer {
background-color: #8663b8;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
padding: 20px;
width: 70%;
box-sizing: border-box;
}
.pillar-container {
display: flex;
flex-direction: column;
background-color: #8663b8;
padding: 10px;
border-radius: 10px;
width: 30%;
box-sizing: border-box;
cursor: pointer;
transition: background-color 0.3s;
font-size: larger;
font-weight: bolder;
}
.pillar {
border: 1px solid rgb(73, 2, 73);
border-radius: 8px;
padding: 15px;
margin-bottom: 20px;
/* Set cursor to pointer for a clickable appearance */
/* Add hover effect to highlight on hover */
transition: background-color 0.3s;
background-color: #d0d0d0;
}
.pillar:hover {
/* background-color: #d0d0d0; */
}
.question {
margin-bottom: 20px;
}
button {
background-color: #007BFF;
/* Blue button color */
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
cursor: pointer;
margin-right: 10px;
}
select {
padding: 10px;
font-size: 16px;
}
button:disabled {
background-color: #c0c0c0;
/* Disable button color */
cursor: not-allowed;
color:black;
border:2px solid rgb(44, 4, 44);
}
.question-indicator {
font-weight: bold;
margin-left: 10px;
}
/* footer section */
.simple-footer {
display: flex;
flex-direction: column;
align-items:center;
/* background-color: #333; Setting a background color for the footer */
background-color: #f7f7f7;
background: linear-gradient(to right,
#58097f 0%, /* Dark purple on the left */
#601f99 50%, /* Light purple in the middle */
#573c88 100%); /* Very light color on the right */
padding: 20px; /* Adding some padding for spacing */
}
/* Logo styling */
.logo-section {
display: flex;
align-items: center; /* Align logo vertically centered */
margin-bottom: 20px; /* Add spacing below the logo */
}
.logo {
width: 150px; /* Adjust width as needed */
}
/* Navigation Section */
.navigation {
display: flex;
gap: 100px; /* Add spacing between navigation items */
}
.nav-section p, .nav-section ul, .nav-section ul li, .nav-section ul li a {
color: white; /* Set color of text and links to white */
text-decoration: none; /* Remove underline */
font-size: large;
}
/* Social Links styling */
.social-links {
display: flex;
gap: 10px; /* Add some space between social links */
margin-top: 20px; /* Add spacing above the social links */
align-items:flex-start;
}
.social-link img {
width: 30px; /* Adjust size of social icons */
height: 30px;
}
/* Copyright Section */
.copyright-section {
margin-top: 20px; /* Add spacing above the copyright section */
color: white; /* Set color of copyright text to white */
font-size: larger;
font-weight: bolder;
}
.copyright-section a{
color:white;
}