-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
303 lines (295 loc) · 5.31 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
*{
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
}
.header{
min-height: 100vh;
width: 100%;
background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)), url(banner.png);
background-position: center;
background-size: cover;
position: relative;
}
nav{
display: flex;
padding: 2% 6%;
justify-content: space-between;
align-items: center ;
}
nav img{
width: 150px;
}
.navlink{
flex: 1;
text-align: right;
}
.navlink ul li{
display: inline-block;
list-style: none;
padding: 8px 12px;
position: relative;
}
.navlink ul li a{
text-decoration: none;
color: white ;
font-size: 13px;
}
.navlink ul li::after{
content:'';
display: block;
height: 2px;
width: 0%;
background:rgb(229, 97, 32);
margin: auto;
transition: 0.5s ;
}
.navlink ul li:hover::after{
width: 100%;
}
.textbox{
width: 90%;
color: white;position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
text-align: center;
}
.textbox h1{
font-size: 62px;
}
.textbox p{
margin: 10px 0 40px;
font-size: 14px;
color: white;
}
.visit{
display: inline-block;
text-decoration: none;
color: white;
font-size: 13px;
border: 1px solid white;
padding: 12px 34px;
background: transparent;
position: relative;
cursor: pointer;
}
.visit:hover{
background-color: orangered;
border: 1px solid rgb(255, 166, 0);
transition: 0.5s;
}
#menu{
display: none;
}
#close{
display: none;
}
@media(max-width:700px){
.textbox h1{
font-size: 20px;
}
.navlink ul li{
display: block;
padding: 20px 30px;
}
.navlink{
position: absolute;
background-color: orange;
height: 100vh;
width: 200px;
top: 0%;
right: -200px ;
text-align: left;
z-index: 2;
transition: 1s;
}
#menu{
display: block;
color: white;
margin: 10px;
font-size: 22px;
cursor: pointer;
}
#close{
display: block;
color: white;
margin: 10px;
font-size: 22px;
cursor: pointer;
}
.row{
flex-direction: column;
}
.cta h1{
font-size: 18px;
}
}
/* cource style */
.cource{
width: 80%;
margin: auto;
text-align: center;
padding-top: 100px;
}
h1{
font-size: 36px;
font-weight: 600;
}
p{
font-size: 14px;
font-weight: 300;
color: black;
line-height: 22px;
padding: 10px;
}
.row{
display: flex;
margin-top: 5%;
justify-content: space-between;
}
.courcecol{
flex-basis: 31%;
background-color: #d4ffbd;
border-radius: 10px;
margin-bottom: 5%;
padding: 20px 12px;
box-sizing: border-box;
transition: 0.5s;
}
h3{
font-weight: 600;
text-align: center;
margin: 10px 0px;
}
.courcecol:hover{
box-shadow: 0 0 20px 0 rgba(4,9,30,0.7);
}
.campus{
width: 80%;
margin: auto;
padding-top: 50px;
text-align: center;
}
.campuscol{
flex-basis: 32%;
border-radius: 10px;
margin-bottom: 30px;
position: relative;
overflow: hidden;
}
.campuscol img{
width: 100%;
display: block;
}
.layer{
position: absolute;
border: 1px solid white;
top: 0%;
left: 0;
width: 100%;
height: 100%;
transition: 0.5s;
transition: 0.5s;
background-color: rgba(5, 5, 5, 0.4);
}
.layer:hover{
background: transparent;
}
.layer h3{
font-weight: 500;
width: 100%;
color: white;
font-size: 26px;
bottom: 0;
left: 50%;
transform: translate(-50%);
position: absolute;
opacity: 0;
transition: 0.5s;
}
.layer:hover h3 {
bottom: 49%;
opacity: 1 ;
}
/* our facility */
.facility{
text-align: center;
margin: auto;
width: 80%;
padding-top: 100px;
}
.facilitycol{
flex-basis: 31%;
border-radius: 100px;
margin-bottom: 5%;
text-align: left;
}
.facilitycol img{
border-radius: 10px;
width: 100%;
}
.facilitycol p{
margin-top: 15px;
margin-bottom: 16px;
text-align: center;
}
/* testimonials */
.testimonials{
width: 80%;
margin: auto;
padding-top: 100px;
text-align: center;
}
.testimonialscol{
flex-basis: 44%;
border-radius: 10px;
margin-bottom: 5%;
text-align: left;
background-color: #f7ebe6;
padding: 25px;
cursor: pointer;
display: flex;
}
.testimonialscol img{
height: 40px;
margin-left: 5px;
margin-right: 30px;
border-radius: 50%;
}
.testimonialscol p{
padding: 0%;
}
.testimonialscol h3{
margin-top: 100px;
text-align: left;
/* display: none; */
}
/* call to action */
.cta{
margin: 100px auto;
width: 80%;
/* background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7),url(images/banner2.jpg)); */
background-image: linear-gradient( rgba(0,0,0,0.7),rgba(0,0,0,0.7)), url(banner2.jpg);
background-position: center;
background-size: cover;
border-radius: 10px;
padding: 100px 0;
text-align: center;
color: white;
}
.cta a{
text-decoration: none;
color: white;
top: 30px;
}
.footer{
width: 100%;
text-align: center;
padding: 30px 0px;
}
.footer h4{
margin-bottom: 25px;
margin-top: 20px;
font-weight: 600;
}