-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
332 lines (286 loc) · 6.42 KB
/
Copy pathstyle.css
File metadata and controls
332 lines (286 loc) · 6.42 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
331
332
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Poppins", sans-serif;
}
nav{
position: fixed;
top: 0;
left: 0;
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 10%;
border-bottom: 1px solid #000;
z-index: 10;
}
nav ul li{
list-style: none;
display: inline-block;
margin: 10px 20px;
font-weight: 500;
cursor: pointer;
}
nav.logo{
width: 200px;
cursor: pointer;
}
.header{
width: 100%;
min-height: 100vh;
background: linear-gradient(#eefff9 0%, #ffccc1 49%, #dcdbff 100%);
padding: 0 10%;
display: flex;
justify-content: center;
flex-direction: column;
}
.header h1{
margin-top: 100px;
font-size: 8vw;
line-height: 11vw;
}
a:link{
text-decoration: none;
}
.sub-header {
width: 100%;
min-height: 100vh;
background: linear-gradient(#dcdbff 0%, #ffccc1 49%, #eefff9 100%);
padding: 0 10%;
display: flex;
justify-content: center;
flex-direction: column;
}
section{
min-height: 100vh;
padding: 5rem 9% 5rem;
}
.home{
display: flex;
justify-content: center;
align-items: center;
gap: 8rem;
background: linear-gradient(#eefff9 0%, #ffccc1 49%, #dcdbff 100%);
}
.home.home-content{
width: 100%;
min-height: 100vh;
background: linear-gradient(#eefff9 0%, #ffccc1 49%, #dcdbff 100%);
padding: 0 10%;
display: flex;
justify-content: center;
flex-direction: column;
}
.home .home-content h1{
font-size: 6rem;
font-weight: 700;
line-height: 1.3;
}
.home-content h3{
font-size: 4rem;
margin-bottom: 1rem;
font-weight: 700;
}
.home-img{
border-radius: 50%;
}
.home-img img{
position: relative;
width: 25vw;
height: 32vw;
border-radius: 50%;
box-shadow: 0 0 25px solid #ffccc1;
cursor: pointer;
transition: 0.2s linear;
}
.heading {
font-size: 3rem;
text-align: center;
}
.work{
justify-content: center;
background-color: #dcdbff;
}
.services-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 2rem;
}
.service-box {
background-color: #f4f4f9;
border-radius: 10px;
padding: 2rem;
max-width: 800px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.service-info {
display: flex;
justify-content: space-between;
flex-wrap: wrap; /* This ensures the videos will wrap if the screen is too small */
gap: 1rem; /* Add some spacing between the videos */
margin-top: 2rem;
}
.service-info h4 {
font-size: 1.5rem;
color: #333;
}
.service-info p {
font-size: 1rem;
line-height: 1.6;
margin-bottom: 1.5rem;
color: #555;
}
.service-info video {
width: 30%; /* Set each video to take up around one-third of the container */
height: auto;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.personal-works-container {
display: flex;
flex-direction: column;
gap: 1.5rem; /* Add some space between heading and videos */
}
/* Keep the videos in a row */
.personal-videos {
display: flex;
justify-content: space-between; /* Evenly space out videos */
gap: 1rem; /* Add some space between each video */
}
/* Video styling */
.personal-videos video {
width: 30%; /* Adjust width to fit three videos in one row */
height: auto;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.hometown{
width: 100%;
min-height: 100vh;
padding: 0 10%;
display: flex;
justify-content: center;
flex-direction: column;
position: relative;
width: 100%;
height: 100vh;
background: url(/images/jubail3.jpg) no-repeat center center/cover;
color: #f4f4f9;
}
.hometown h1{
margin-top: 100px;
font-size: 5vw;
line-height: 6vw;
color: #f4f4f9;
}
.facts .about__container{
display: flex;
align-items: center;
gap: 2rem;
flex-wrap: wrap;
padding: 2rem 0;
padding-bottom: 3rem;
}
.facts .about__container .about__image{
flex: 1 1 40px;
position: relative;
}
.about .row .about__description{
flex: 1 1 40rem;
}
.about .row .about__description p{
font-size: 1.5rem;
color: #999;
padding: .5rem 0;
padding-top: 1rem;
line-height: 1.5;
}
.main{
display: flex;
align-items: center;
justify-content: space-around;
position: relative;
top: 130px;
background: linear-gradient(#eefff9 0%, #ffccc1 49%, #dcdbff 100%);
}
.main .men_text h1{
font-size: 60px;
position: relative;
top: -90px;
left: 20px;
}
.main .main_image img{
width: 700px;
position: relative;
left: 70px;
}
.main .main__desc p{
width: 650px;
text-align: justify;
position: relative;
left: 123px;
bottom: 120px;
line-height: 22px;
}
body {
background: linear-gradient(#eefff9 0%, #ffccc1 49%, #dcdbff 100%);
}
.card {
display: flex;
justify-content: center;
flex-wrap: wrap;
margin-top: 120px; /* Adjusted for the fixed navbar */
flex-direction: column;
}
.cards {
display: flex;
justify-content: center;
flex-wrap: wrap;
margin-top: 120px; /* Adjusted for the fixed navbar */
flex-direction: row;
}
.card2 {
display: flex;
justify-content: center;
flex-wrap: wrap;
margin-top: 120px; /* Adjusted for the fixed navbar */
flex-direction: row;
}
.card {
display: flex;
justify-content: center;
flex-wrap: wrap;
margin-top: 0; /* Remove the top margin */
min-height: 100vh; /* Ensure the card container takes the full height */
align-items: center; /* Vertical centering */
}
/* Card Styling */
.card-container {
width: 325px;
background-color: #f0f0f0;
border-radius: 8px;
overflow: hidden;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
margin: 20px;
padding: 20px;
transition: transform 0.3s ease;
}
.card-container:hover {
transform: scale(1.05); /* Add hover effect */
}
.card img {
width: 100%;
height: auto;
}
.card-content h3 {
font-size: 28px;
margin-bottom: 8px;
}
.card-content p {
color: #666;
font-size: 15px;
line-height: 1.3;
}