-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
289 lines (289 loc) · 5.75 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
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Poppins:wght@700&display=swap');
*{
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: 'Open Sans',sans-serif;
}
.colors{
color: hsl(322, 100%, 66%);
color: hsl(321, 100%, 78%);
color: hsl(0, 100%, 63%);
color: hsl(192, 100%, 9%);
color: hsl(207, 100%, 98%);
}
body{
min-height: 100vh;
}
header{
display: flex;
justify-content: space-between;
align-items: center;
margin: 4rem 3rem;
}
header .btn{
background-color: transparent;
outline: none;
border: 2px solid hsl(322, 100%, 66%);
color: hsl(322, 100%, 66%);
padding: 0.5rem 1rem;
max-width: 7rem;
border-radius: 25px;
cursor: pointer;
}
header .btn:hover{
background-color: transparent;
border-color: hsl(321, 100%, 78%) ;
color: hsl(321, 100%, 78%) ;
}
header .logo{
cursor: pointer;
width: 10rem;
}
main{
margin: 4rem 3rem;
}
section{
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
margin: 10rem 5rem 0;
}
section h1{
font-family: 'Poppins';
color: hsl(192, 100%, 9%);
font-size: 3em;
}
section p{
width: 50%;
color: hsl(192, 100%, 9%);
margin-top: 1.5rem;
font-size: 1.4em;
}
section .btn-1{
background-color: hsl(322, 100%, 66%);
outline: none;
border: none;
margin-top: 2.5rem;
padding: 1.2rem 1.5rem;
width: 18rem;
font-weight: 600;
color: #fff;
border-radius: 3rem;
font-size: 1.2em;
cursor: pointer;
box-shadow: 0 2px 2px rgba(121, 121, 121, 0.644);
}
section img{
margin-top: 5rem;
width:90%;
height: auto;
user-select: none;
pointer-events: none;
}
.grid{
display: grid;
margin-top: 5rem;
grid-template-columns: 50% 50%;
grid-template-rows: repeat(4,20rem);
row-gap: 10rem;
}
.grid div{
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.one strong,.two strong{
display: block;
font-size: 4em;
color: hsl(192, 100%, 9%);
}
.four img,.five img,.eight img{
width: 70%;
user-select: none;
pointer-events: none;
}
.grid div p{
color:hsl(192, 100%, 9%)
}
.one p,.two p{
color: hsla(0, 0%, 50%, 0.877) !important;
}
.one img,.two img{
width: 2rem;
transform: translateX(-4.5rem);
user-select: none;
pointer-events: none;
}
.grid div h2{
font-family: 'Poppins';
color: hsl(192, 100%, 9%);
font-size: 2em;
align-self: flex-start;
margin-bottom: 1.5rem;
}
footer{
display: grid;
background: url(images/bg-footer-top-desktop.svg) ;
background-repeat: no-repeat;
padding-top: 7rem;
grid-template-columns: 50% 50%;
}
footer .left
{
background-color: hsl(192, 100%, 9%);
padding: 7rem 5rem 1.5rem;
}
footer .right{
background-color: hsl(192, 100%, 9%);
padding: 4.5rem 5rem 1.5rem;
margin-top: 2.5rem;
}
footer .left .logo-1{
filter: brightness(0) invert(1);
max-width: 12rem;
margin-bottom: 1rem;
}
footer .left p{
color: #fff;
max-width: 25rem;
}
footer .contact{
display: flex;
align-items: center;
margin-top: 1rem;
}
footer i{
color: #fff;
margin-right: 1rem;
}
.social-media{
margin-top: 3rem;
}
.social-media i{
font-size: 1.5em;
text-decoration: none;
}
.right h2 ,
.right p{
color: #fff;
margin-bottom: 1rem;
max-width: 25rem;
}
.input{
display: flex;
flex-wrap: wrap;
margin-top: 1.5rem;
}
.input input{
border: none;
outline: none;
border-radius: 0.3rem;
width: 15rem;
padding: 0.7rem;
margin-right: 2.5rem;
margin-bottom: 0.5rem;
}
.input button{
background-color: hsl(322, 100%, 66%);
border: none;
outline: none;
margin-bottom: 0.5rem;
border-radius: 0.3rem;
padding: 0.7rem 1rem;
color: #fff;
font-weight: 600;
cursor: pointer;
}
.right *,.left *{
z-index: 1;
}
button:hover{
background-color: hsl(321, 100%, 78%);
}
.fa-facebook:hover{
color: #4267B2;
}
.fa-instagram:hover{
color: transparent;
background: -webkit-radial-gradient(30% 107%, circle, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
background: -o-radial-gradient(30% 107%, circle, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
background: -webkit-radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
background-clip: text;
-webkit-background-clip: text;
}
.fa-twitter:hover{
color: #00acee;
}
.fa-phone-volume{
transform: rotate(-30deg)
}
/* ---------------- MEDIA QUERIES -------------------- */
@media only screen and (max-width: 1024px){
section p{
width: 70%;
}
}
@media only screen and (max-width: 750px) {
section{
margin-left: 0;
margin-right: 0;
}
section p{
width: 100%;
}
.grid{
display: grid;
margin-top: 5rem;
grid-template-columns: 100%;
grid-template-rows: repeat(8,20rem);
row-gap: 10rem;
text-align: center;
}
.grid div h2{
align-self: center;
}
.one{
order: 1;
}
.two{
order: 2;
}
.three{
order: 4;
}
.five{
order: 5;
}
.four{
order:3;
}
.six{
order: 6;
}
.seven{
order: 8;
}
.eight{
order: 7;
}
.grid div p{
font-size: 1.2em;
}
footer{
grid-template-columns: 100%;
}
.left{
order: 2;
}
.right{
order: 1;
}
footer .left,footer .right{
padding-left: 4rem;
padding-right: 4rem;
}
}