-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
316 lines (255 loc) · 5.04 KB
/
index.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
body {
margin: 0;
padding: 0;
font-family: 'gothambookregular', arial, sans-serif;
background: #1f1f1f;
font-size: 1em;
}
#scroll_top
{
position: fixed;
bottom: 30px;
right: 30px;
z-index: 1000;
display: none;
}
/*-----------------HEADER-----------------*/
header {
background-color: black;
display: flex;
justify-content: center;
padding: 50px;
}
.logo {
width: 300px;
height: 300px;
background: white;
display: flex;
align-self: center;
border-radius: 50%;
overflow: hidden;
justify-content: center;
}
.logo img {
align-self: center;
transition: all .5s ease;
}
.logo img:hover {
transform: scale(1.15);
opacity: 0.7;
}
/*-----------------NAV-----------------*/
nav {
background-color: #e8e8e8;
}
nav ul {
margin: 0;
padding: 0;
display: flex;
list-style: none;
text-transform: uppercase;
justify-content: center;
}
nav ul li {
padding: 25px 20px;
}
nav ul a {
text-decoration: none;
color: black;
font-weight: bold;
transition: all .5s ease;
}
nav ul a:hover {
background: rgba(0, 0, 0, 0.4);
color: white;
}
/*-----------------SECTION1-----------------*/
.content_1 {
display: flex;
}
.content_1 article {
flex: 1;
padding: 100px 50px 70px 50px;
border-right: 1px solid white;
border-image: linear-gradient(to top, transparent 10%, #fff 50%, transparent 90%);
border-image-slice: 1;
}
.content_1 article h2 {
margin-bottom: 50px;
text-align: center;
text-transform: uppercase;
}
.content_1 article div {
margin: 0 auto;
width: 150px;
height: 150px;
display: flex;
align-self: center;
border-radius: 50%;
overflow: hidden;
justify-content: center;
}
.content_1 article div img {
align-self: center;
}
.content_1 article:nth-child(1) {
color: #24a294;
}
.content_1 article:nth-child(1) div {
background: #24a294;
}
.content_1 article:nth-child(2) {
color: #ec7a00;
}
.content_1 article:nth-child(2) div {
background: #ec7a00;
}
.content_1 article:nth-child(3) {
color: #bad169;
}
.content_1 article:nth-child(3) div {
background: #bad169;
}
.content_1 article p {
padding: 30px 0;
color: white;
font-family: arial, sans-serif;
}
/*-----------------SECTION2-----------------*/
.content_2 {
padding: 100px 50px;
background: #e3e3e3;
border-bottom: 10px solid #dd2c48;
}
.content_2 h2 {
margin: 0 0 100px 0;
font-size: 3.2em;
text-align: center;
font-family: 'gothamexlightregular', arial, sans-serif;
}
.content_2 div {
margin: 0 auto;
width: 150px;
height: 150px;
display: flex;
align-self: center;
border-radius: 50%;
overflow: hidden;
justify-content: center;
background: #dd2c48;
}
.content_2 div a {
text-decoration: none;
color: white;
text-transform: uppercase;
font-weight: bold;
font-size: 14px;
text-align: center;
line-height: 150px;
}
/*-----------------SECTION3-----------------*/
.content_3 {
position: relative;
top: -60px;
padding: 0 30px;
min-height: 550px;
}
.content_3 h2 {
position: relative;
text-align: center;
color: #dd2c48;
}
.content_3 div {
display: flex;
}
.content_3 div article {
flex: 1;
padding: 0 15px;
}
.content_3 div article h3 {
margin: 0;
padding: 20px 0 40px 0;
}
.content_3 div article div {
justify-content: center;
}
.content_3 div article div img {
width: 100%;
height: 100%;
transition: all .5s ease;
}
.content_3 div article div img:hover {
transform: scale(1.15);
opacity: 0.7;
}
.content_3 div article h3 {
font-family: 'gothambookregular', arial, sans-serif;
font-size: 1.3em;
}
.content_3 div article:nth-child(1) h3 {
color: #b52773;
}
.content_3 div article:nth-child(2) h3 {
color: #229f8e;
}
.content_3 div article:nth-child(3) h3 {
color: #e16800;
}
.content_3 div article p {
color: #fff;
min-height: 100px;
}
.content_3 div article a {
color: #fff;
text-decoration: none;
padding: 13px 10px;
border-radius: 5px;
font-size: 12px;
font-weight: 900;
text-transform: uppercase;
}
.content_3 div article:nth-child(1) a {
background: #b52773;
}
.content_3 div article:nth-child(2) a {
background: #229f8e;
}
.content_3 div article:nth-child(3) a {
background: #e16800;
}
/*-----------------FOOTER-----------------*/
footer {
background: #E5E5E5;
display: flex;
padding: 50px 30px;
}
footer article {
flex: 1;
padding: 0 30px 0 0;
}
footer article h3 {
font-size: 2em;
font-weight: bold;
text-transform: uppercase;
padding: 0 0 30px 0;
margin: 0;
}
footer article img {
transition: all .5s ease;
}
footer article img:hover {
transform: scale(1.15);
opacity: 0.7;
}
footer article p {
margin: 0;
}
footer article:nth-child(1) p {
font-size: 1em;
text-transform: uppercase;
}
footer article:nth-child(2) p {
font-size: 0.7em;
font-weight: bold;
text-transform: uppercase;
}