-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
383 lines (353 loc) · 6.32 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
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
*{
margin: 0;
padding: 0;
font-family: 'Open Sans', sans-serif;
}
.Header{
width: 100%;
min-height: 100vh;
background-image: url(web\ img.jpg);
background-position: center;
background-size: cover;
position: relative;
}
.Overlay{
height: 100vh;
background: #acaecb33;
}
nav{
display: flex;
padding: 2% 6%;
justify-content: space-between;
align-items: center;
}
nav img {
width: 100px;
text-align: left;
left: 30%;
padding: auto;
margin: auto;
}
nav h2{
text-align: left;
margin: auto;
font-size: 40px;
font-weight: 600;
color: #fff;
}
.nav-links{
flex: 1;
text-align: right;
}
.nav-links ul li{
list-style: none;
display: inline-block;
padding: 8px 12px;
position: relative;
}
.nav-links ul li a{
color: #fff;
text-decoration: none;
font-size: 17px;
}
.nav-links ul li::after{
content: '';
width: 0%;
height: 2px;
background: #f44336;
display: block;
margin: auto;
transition: 0.5s;
}
.nav-links ul li:hover::after{
width: 100%;
}
.text-box{
width: 90%;
color: #fff;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
text-align: center;
}
.text-box h1{
font-size: 62px;
}
.text-box p{
margin: 10px 0 40px;
font-size: 14px;
color: #fff;
}
.Hero-btn{
display: inline-block;
text-decoration: none;
color: #fff;
border:1px solid #fff;
padding: 12px 34px;
font-size: 13px;
background: transparent;
position: relative;
cursor: pointer;
}
.Hero-btn:hover{
border: 1px solid;
background: #f44336;
transition: 1s;
}
nav .fa-solid{
display: none;
}
@media(max-width:700px){
.text-box h1{
font-size: 25px;
}
.nav-links ul li{
display: block;
}
.nav-links{
position: absolute;
background: #f44336;
height: 100vh;
width: 200px;
top: 0;
right: 0;
text-align: left;
z-index: 2;
transition: 1s;
}
nav h2{
text-align: left;
margin: auto 20px;
right: 50%;
}
nav .fa-solid{
display: block;
color: #000;
margin: 10px;
font-size: 22px;
cursor: pointer;
}
.nav-links ul{
padding: 30px;
}
}
/*----Course----*/
.cousre{
width: 80%;
margin: auto;
text-align: center;
padding: 100px;
}
h1{
font-size: 36px;
font-weight: 600;
}
p{
color: #777;
font-size: 14px;
font-weight: 300;
line-height: 22px;
padding: 10px;
}
.Row{
margin-top: 5%;
display: flex;
justify-content: space-between;
}
.course-col{
flex-basis: 31%;
background: #fff3f3;
border-radius: 10px;
margin-bottom: 5%;
padding: 20px 12px;
box-sizing: border-box;
transition: 0.5s;
}
.course-col h3{
text-align: center;
font-weight: 600;
margin: 10px 0;
}
.course-col:hover{
box-shadow: 0 0 20px 0 rgb(0, 0, 0, 0.2);
}
@media(max-width:700px){
.Row{
flex-direction: column;
}
}
/*----Campus----*/
.campus{
width: 80%;
margin: auto;
text-align: center;
padding: 50px;
}
.campus-col{
flex-basis: 32%;
border-radius: 10px;
margin-bottom: 30px;
position: relative;
overflow: hidden;
}
.campus-col img{
width: 110%;
}
.layer{
background: transparent;
height:100%;
width: 98%;
position: absolute;
top: 0;
transition: 0.5s;
}
.layer:hover{
background: rgba(226, 0, 0, 0.7);
}
.layer h3{
width: 100%;
font-weight: 500;
color: #fff;
font-size: 26px;
bottom: 0;
left: 50%;
transform: translateX(-50%);
position: absolute;
opacity: 0;
transition: 0.5s;
}
.layer:hover h3{
bottom: 49%;
opacity: 1;
}
@media(max-width:700px){
.layer h3{
font-size: 17px;
}
}
/*----Our Facilities----*/
.facilities{
width: 80%;
margin: auto;
text-align: center;
padding-top:100px ;
}
.facility-col{
flex-basis: 31%;
border-radius: 10px;
margin-bottom: 5%;
text-align: left;
}
.facility-col img{
width: 100%;
border-radius: 10px;
}
.facility-col p{
padding: 0;
}
.facility-col h3{
margin-top: 16px;
margin-bottom: 15px;
text-align: left;
font-size: 23px;
padding-top: 10px;
}
@media(max-width:700px){
.facility-col h3{
font-size: 11px;
}
.facility-col p{
font-size: 15px;
}
}
/*----Testimonials----*/
.testimonial{
width: 80%;
margin: auto;
margin-bottom: 15px;
text-align: center;
}
.testimonial-col{
flex-basis: 44%;
border-radius: 10px;
margin-bottom: 10%;
margin-left: 48px;
text-align: left;
background: #deb1c2;
padding: 25px;
cursor: pointer;
display: flex;
}
.testimonial-col img{
height: 40px;
margin-left: 5%;
margin-right: 30px;
border-radius: 50%;
}
.testimonial-col p{
padding: 0;
}
.testimonial-col h3{
margin-top: 15px;
text-align: left;
}
@media(max-width:700px){
.testimonial-col img{
margin-left: 0;
margin-right: 15px;
}
.testimonial-col{
margin-bottom: 5%;
}
}
.cta{
margin: 100px auto;
width: 80%;
background-image: url(aht.png);
background-position: center;
background-size: cover;
border-radius: 10px;
text-align: center;
padding: 100px 0;
overflow: hidden;
}
.Overlay{
width: 50%;
height: 40%;
filter: blur(4px);
}
.cta h1{
color: #000;
padding: 0;
}
@media(max-width:700px){
.cta h1{
font-size: 25px;
}
.cta{
width: 40%;
}
}
.footer{
width: 100%;
text-align: center;
}
.footer h4{
margin-bottom: 25px;
margin-top: 20px;
font-weight: 600;
font-size: 33px;
font-weight: 600;
}
.icons{
color: #f44336;
margin: 0 13px;
cursor: pointer;
padding: 18px 0;
margin-left: 8px;
font-size: 22px;
}
p{
color: #777;
}