-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
408 lines (385 loc) · 8.98 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
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
* {
/* margin: 0; */
/* padding: 0; */
box-sizing: border-box;
}
body{
font-family: source san pro , sans-serif;
width: 100%;
}
header{
background-image: url(images/headphones_hero_1.jpg);
background-repeat: no-repeat;
background-size: cover;
background-attachment: scroll;
background-position: center;
min-height: 100vh;
width: 100%;
position: relative;
overflow: hidden; /* Prevent horizontal scrolling */
}
nav{
display: flex;
justify-content: space-between;
align-items: center;
padding: 2% 6%;
/* background-color: blueviolet; */
}
nav img{
width: 150px;
/* height: 30px; */
margin-left: 50px;
}
.nav-links{
flex: 1;
text-align: right;
}
.nav-links ul li{
list-style: none;
display: inline-block;
padding: 8px 12px;
margin-right: 60px;
position: relative;
}
.nav-links ul li a{
text-decoration: none;
color: #ffffff;
font-size: 15px;
}
.nav-links ul li :hover{
color: #FF6565;
}
section {
width: 100%;
padding: 20px; /* Add space inside */
margin: 0 auto; /* Center content horizontally */
}
nav, footer {
width: 100%;
}
.main-content{
color: #ffffff;
width: 100%;
max-width: 1200px;
padding: 10px 20px; /* Add inner padding for breathing space */
/* background-color: purple; */
position: absolute;
top: 70%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
}
.main-content h1{
font-size: 50px;
}
.sub-heading{
margin: 10px 0 40px;
font-size: 18px;
/* font-weight: bold; */
}
.main-content-btn{
display: inline-block;
text-decoration: none;
color: #ffffff;
background-color: #ff6563;
padding: 10px 20px;
border-radius: 30px;
cursor: pointer;
}
.main-content-btn:hover{
opacity: 0.9;
}
.description{
margin: 30px 0;
font-size: 18px;
}
.open-sidebar-button, .close-sidebar-button{
display: none;
}
.what-we-do{
/* background-color: greenyellow; */
padding: 60px 20px;
text-align: center;
color: black;
}
/* .what-we-do-content{
background-color: lightcoral;
} */
.what-we-do h1 {
font-size: 2.0rem;
margin-bottom: 20px;
color: black; /* Slightly darker for emphasis */
}
.what-we-do p {
font-size: 1rem;
line-height: 1.6;
max-width: 700px;
margin: 0 auto 40px auto;
color: #071629; /* Softer color for paragraph text */
}
.with-icons {
display: flex;
justify-content: center;
flex-wrap: wrap; /* Allows wrapping on smaller screens */
gap: 20px; /* Spacing between icons */
}
.icon {
flex: 1 1 200px; /* Responsive layout: minimum width 200px */
max-width: 250px;
background-color: #fff; /* White card background */
padding: 20px;
border-radius: 10px;
text-align: center;
/* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); Subtle shadow for elevation */
/* transition: transform 0.3s, box-shadow 0.3s; Hover effect */
}
/* .icon:hover {
transform: scale(1.05);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
} */
.icon span {
font-size: 3rem; /* Icon size */
color: #FF6565; /* Icon color */
display: inline-block;
margin-bottom: 15px;
}
.icon h3 {
font-size: 1.25rem;
margin: 10px 0;
color: #333;
}
.icon p {
font-size: 0.9rem;
line-height: 1.4;
color: #666;
}
.our-results{
background-image: url(images/headphones_hero_2.jpg);
background-repeat: no-repeat;
background-position: center;
background-size: cover;
background-attachment: scroll;
min-height: 80vh;
width: 100%;
text-align: center;
padding: 60px 20px;
}
.our-results-content {
max-width: 800px;
margin: 0 auto 30px; /* Center and add space below */
padding: 20px;
}
.our-results-content h1{
font-size: 2.5rem;
margin-bottom: 20px;
color: #ffffff;
}
.our-results-content p{
font-size: 1rem;
line-height: 1.6;
max-width: 700px;
margin: 0 auto 40px auto;
color: #ffffff;
}
.results{
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 20px;
}
.result{
position: relative;
background-image: url(images/pentagone.png);
background-size: contain;
background-repeat: no-repeat;
background-position: center;
width: 150px; /* Adjust size as needed */
height: 150px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
text-align: center;
color: #ffffff;
padding: 20px;
}
.result h2 {
font-size: 1.5rem;
margin: 0;
}
.result p {
font-size: 0.875rem;
margin-top: 20px;
}
.contact-us{
/* background-color: lightgreen; */
padding: 50px 20px;
text-align: center;
/* width: 100%; */
}
.contact{
/* background-color: lightcoral; */
max-width: 500px;
margin: 0 auto; /* Center and add space below */
}
.contact-us h1{
font-size: 2.0rem;
margin-bottom: 20px;
color: black;
}
/* Form Styling */
form {
/* background-color: aquamarine; */
display: flex;
flex-direction: column;
align-items: center;
gap: 20px; /* Space between inputs */
padding: 20px;
}
/* Input and Textarea Styles */
form input[type="text"],
form input[type="email"]{
width: 100%; /* Full width within the form container */
border: none; /* Remove default borders */
border-bottom: 2px solid #333; /* Add underline */
outline: none; /*Remove focus outline*/
padding: 10px 5px;
font-size: 1rem;
background: none; /* Transparent background */
color: black;
transition: border-color 0.3s ease; /* Smooth border transition */
}
form textarea {
width: 100%; /* Full width within the form container */
height: 40px;
border: none; /* Remove default borders */
border-bottom: 2px solid #333; /* Add underline */
outline: none; /*Remove focus outline*/
padding: 10px 5px;
font-size: 1rem;
background: none; /* Transparent background */
color: black;
/* Smooth border transition */
/* transition: border-color 0.3s ease; */
}
/*form input[type="text"]:focus,
form input[type="email"]:focus,
form textarea:focus {
border-bottom: 2px solid #007bff;
}
*/
.btn-submit{
display: inline-block;
text-decoration: none;
color: #ffffff;
background-color: #ff6563;
padding: 10px 20px;
margin-top: 30px;
border-radius: 30px;
cursor: pointer;
}
.btn-submit:hover{
opacity: 0.9;
}
footer{
background-color: #071629;
color: #ffffff;
padding: 30px 40px 20px;
text-align: center;
width: 100%;
}
/* Flexbox layout for logo and socials */
.footer-content {
/* background-color: #ff6563; */
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px; /* Adds spacing between content and copyright */
}
.footer-logo img {
max-width: 150px; /* Adjust logo size */
height: auto; /* Maintain aspect ratio */
}
.footer-social a {
margin: 0 10px; /* Spacing between social icons */
color: #ffffff; /* Default color for icons */
text-decoration: none;
font-size: 24px; /* Adjust size of social icons */
transition: color 0.3s ease;
}
.footer-social a:hover {
color: #FF6565; /* Add a hover effect for social icons */
}
/* Copyright section */
.copyright-info {
/* background-color: #ff6563; */
text-align: center;
font-size: 10px;
/* Light separator */
/* border-top: 1px solid #ffffff33; */
padding-top: 10px; /* Space above the copyright text */
}
@media only screen and (max-width: 768px){
/* Disable fixed background on smaller screens - removed this as its already put in place it header section. Finally changed the background-attachment from fixed to scroll */
header {
/* background-attachment: scroll; */
background-position: 40%;
background-size: cover;
min-height: 100vh;
}
section {
padding: 10px;
}
.main-content {
padding: 20px 20px;
text-align: center;
}
.main-content h1{
font-size: 28px;
}
.sub-heading{
font-size: 15px;
}
.description{
font-size: 15px;
margin: 50px 0;
}
.nav-links ul li{
display: block;
margin: 10px 0;
}
.nav-links{
position: absolute;
background-color: #797C83;
/* background: palevioletred; */
height: 40vh;
width: 200px;
top: 0;
right: -200px;
z-index: 2;
text-align: left;
transition: 1s;
}
.open-sidebar-button, .close-sidebar-button{
display: block;
color: #ffffff;
margin: 10px;
font-size: 22px;
cursor:pointer;
}
.nav-links ul{
padding: 30px;
}
.our-results-content h1 {
font-size: 2rem;
}
.result {
width: 120px; /* Smaller pentagons on smaller screens */
height: 120px;
}
.footer-content {
flex-direction: column; /* Stack items vertically */
text-align: center;
gap: 20px; /* Space between logo and socials */
}
}