-
Notifications
You must be signed in to change notification settings - Fork 4
/
style.css
307 lines (263 loc) · 4.86 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
* {
box-sizing: border-box;
}
body {
margin: 0;
overflow-x: hidden;
font-family: "Lato", sans-serif;
font-family: "Open Sans", sans-serif;
height: 100vh;
/* background: linear-gradient(180deg, white, #059FC9 100%) fixed; */
color: #012732;
/* background: linear-gradient(180deg, rgba(5, 159, 201, 0) 24.79%, #059FC9 100%); */
}
h1,
h2,
h3,
h4 {
margin: 0;
}
nav {
height: 70px;
padding: 1rem;
display: flex;
justify-content: space-between;
align-items: center;
}
nav span {
margin: 0 2rem;
text-transform: uppercase;
font-weight: 500;
line-height: 24px;
}
.logo img,
.logo {
height: 100%;
}
.active {
color: #059fc9;
border-bottom: 2px solid #059fc9;
}
.underline {
position: relative;
}
.underline::before {
content: "";
position: absolute;
bottom: 0;
right: 0;
width: 0;
height: 2px;
background-color: #012732;
transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
@media (hover: hover) and (pointer: fine) {
.underline:hover::before {
left: 0;
right: auto;
width: 100%;
}
}
.container {
position: absolute;
top: 150vh;
transform: translateX(-50%);
width: 80%;
left: 50%;
}
.landingDetails {
width: 80%;
position: relative;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
/* margin-bottom: 25rem; */
}
.landingName {
font-size: 72px;
font-weight: 300;
font-family: "Lato", sans-serif;
font-family: "Montserrat", sans-serif;
font-family: "Open Sans", sans-serif;
}
.motto {
font-size: 28px;
}
.landingImg {
/* width: 170%;
position: absolute;
left: -32%;
top: -20%;
z-index: -1;
animation: blurEffect 3s ease forwards; */
width: 170%;
left: -32%;
top: -17%;
position: absolute;
z-index: -1;
animation: blurEffect 3s ease forwards;
}
@keyframes blurEffect {
100% {
filter: blur(2px);
opacity: 0.4;
}
}
.landingImg img {
width: 100%;
}
.landingLogo {
width: 17.5rem;
height: 17.5rem;
background: #ffffff;
box-shadow: 0px 0px 16px 4px rgba(5, 159, 201, 0.32);
border-radius: 20px;
padding: 1rem 1rem 1.5rem;
display: flex;
justify-content: center;
}
.landingLogo:hover {
transform: scale(1.02);
transition: linear 0.2s;
/* padding: 5px 25px 10px; */
}
.landingLogo img {
height: 100%;
}
.preHeading {
text-transform: uppercase;
font-size: 20px;
font-family: "Montserrat", sans-serif;
font-family: "Open Sans", sans-serif;
font-weight: 600;
}
.heading {
font-size: 48px;
margin: 0 0 2rem 0;
}
.about {
margin-bottom: 10rem;
}
.about:last-child {
margin-bottom: 5rem;
}
.eventCard,
.projectCard {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
}
.eventCard div {
width: 50%;
}
.eventCard .img {
max-height: 50%;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
border-radius: 8px;
}
.eventCard .text {
padding: 2rem;
}
.eventCard img,
.projectCard img,
.teamCard img {
width: 100%;
}
.projectContainer {
display: flex;
flex-direction: column;
}
.projectCard .img {
width: 30%;
}
.projectCard .text {
width: 70%;
padding: 1rem;
}
.learnMore {
text-align: center;
padding: 9px 20px;
background: linear-gradient(
279.08deg,
rgba(1, 39, 50, 0.1) -27.67%,
rgba(1, 39, 50, 0) 100%
),
#ffffff;
border: 2px solid rgba(1, 39, 50, 0.08);
border-radius: 66px;
width: 15vw;
cursor: pointer;
transition: box-shadow 0.3s linear;
}
.learnMore:hover{
box-shadow: -3px -3px 6px rgba(15, 153, 191, 0.06),
-3px -3px 6px rgba(15, 153, 191, 0.06), 3px 3px 6px rgba(1, 39, 50, 0.16);
}
.card {
background-color: #fff;
padding-bottom: 1rem;
box-shadow: -6px -6px 12px rgba(15, 153, 191, 0.06),
-6px -6px 12px rgba(15, 153, 191, 0.06), 6px 6px 12px rgba(1, 39, 50, 0.12);
border-radius: 8px;
overflow: hidden;
width: 30%;
}
.card img {
width: 100%;
}
.card img ~ * {
margin-left: 1rem;
margin-right: 1rem;
}
.card > :last-child {
margin-bottom: 0;
}
.card h3 {
margin-top: 1rem;
font-size: 1.25rem;
}
.card a,
nav a {
color: inherit;
text-decoration: none;
}
.card p {
margin-top: 0;
margin-bottom: 0;
}
.card:hover {
transform: scale(1.02);
transition: linear 0.2s;
/* padding: 5px 25px 10px; */
}
.blogContainer {
display: flex;
justify-content: space-between;
}
.teamCard {
width: 100%;
display: flex;
flex-direction: column;
}
.teamCard .img {
height: 60vh;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
border-radius: 10px;
margin-bottom: 1rem;
/* background: url(alexander-lemann-qjdx0DytoYs-unsplash.jpg); */
/* filter: drop-shadow(-6px -6px 12px rgba(15, 153, 191, 0.06))
drop-shadow(-6px -6px 12px rgba(15, 153, 191, 0.06))
drop-shadow(6px 6px 12px rgba(1, 39, 50, 0.16)); */
border-radius: 8px;
}