-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
297 lines (248 loc) · 4.63 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
body,
html {
margin: 0;
padding: 0;
background-color: white;
}
html {
scroll-behavior: smooth;
}
body {
font-family: "Source Sans 3", sans-serif;
}
.top-section-wrapper {
overflow: hidden;
background-color: #001d37;
padding-left: 16px;
padding-right: 16px;
}
.top-section {
color: #fff;
padding-top: 80px;
padding-bottom: 80px;
max-width: 1066px;
margin: 0 auto;
position: relative;
}
.actual-top-content {
z-index: 2;
position: relative;
}
.top-section h1 {
font-size: 4rem;
margin: 0;
line-height: 97.3%;
max-width: 525px;
}
.intro-text {
font-size: 1.25rem;
line-height: 169%;
margin: 1rem 0;
max-width: 435px;
}
.intro-buttons {
margin-bottom: 70px;
}
.our-btn {
display: inline-block;
font-size: 1.125rem;
font-weight: 600;
background-color: #475aff;
border: 2px solid #475aff;
color: #fff;
text-decoration: none;
padding: 13px 25px;
border-radius: 1000px;
transition: background-color 0.3s ease-out, border 0.3s ease-out, color 0.3s ease-out;
}
.our-btn:hover {
background-color: #2e40e2;
border: 2px solid #2e40e2;
}
.our-btn--outline {
background-color: transparent;
border: 2px solid white;
}
.our-btn--outline:hover {
background-color: #ffffff;
border: 2px solid white;
color: #475aff;
}
.utility-mr {
margin-right: 10px;
}
.intro-feature {
border: 1px solid rgba(255, 255, 255, 0.24);
padding: 33px 25px;
}
.intro-feature p {
margin: 0;
font-size: 1.0625rem;
font-weight: 400;
}
.intro-feature h2 {
font-size: 1.5rem;
margin: 31px 0 3px 0;
}
.intro-features {
display: grid;
grid-template-columns: 1fr;
column-gap: 16px;
}
.intro-features {
display: grid;
column-gap: 16px;
row-gap: 16px;
}
@media screen and (min-width: 580px) {
.intro-features {
grid-template-columns: 1fr 1fr;
}
}
@media screen and (min-width: 900px) {
.intro-features {
grid-template-columns: 1fr 1fr 1fr 1fr;
}
}
.circle {
width: 617px;
height: 617px;
background-color: #d660ff;
opacity: 0.85;
border-radius: 50%;
filter: blur(150px);
position: absolute;
top: 62px;
right: -390px;
}
.circle-two {
width: 617px;
height: 617px;
background-color: #6079ff;
opacity: 0.85;
border-radius: 50%;
filter: blur(150px);
position: absolute;
top: -365px;
left: -123px;
}
.page-section {
background-color: #ffffff;
padding: 70px 16px;
}
.page-section-inner {
max-width: 1066px;
margin: 0 auto;
}
.page-section-title {
font-size: 4rem;
margin: 0;
line-height: 1;
}
.pet-filter {
color: #9f9f9f;
font-size: 1.15rem;
}
.pet-filter button {
background-color: transparent;
border: none;
font-family: "Source Sans 3", sans-serif;
font-size: 1.15rem;
color: #9f9f9f;
cursor: pointer;
}
.pet-filter button:hover {
color: #7d7d7d;
}
.pet-filter .active,
.pet-filter .active:hover {
color: #475aff;
text-decoration: underline;
}
.site-footer {
text-align: center;
color: #a6a6a6;
font-size: 0.875rem;
padding: 0 0 65px 0;
}
.list-of-pets {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
column-gap: 34px;
row-gap: 16px;
}
.pet-card {
overflow: hidden;
display: grid;
grid-template-columns: 120px 1fr;
border-radius: 20px;
border: 1px solid #f3f3f3;
box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.08);
}
@media screen and (min-width: 580px) {
.pet-card {
grid-template-columns: 165px 1fr;
}
}
.pet-card-photo {
order: 1;
grid-row: 1;
}
.pet-card-photo img {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
}
.pet-card-text {
padding: 18px 16px;
}
.pet-card-text h3 {
margin: 0 0 5px 0;
font-size: 1.625rem;
font-weight: 600;
}
.pet-description {
font-size: 0.9rem;
margin: 0 0 1rem 0;
color: #626262;
line-height: 150%;
}
.pet-age {
color: #a2a2a2;
font-size: 0.85rem;
margin: 0;
}
@media screen and (min-width: 600px) {
.pet-description {
font-size: 1rem;
}
.pet-card-text {
padding: 21px 29px;
}
.list-of-pets {
row-gap: 28px;
}
.pet-filter {
font-size: 1.375rem;
}
.pet-filter button {
font-size: 1.375rem;
}
.page-section-title {
font-size: 5.31rem;
}
.page-section {
padding: 130px 16px;
}
.intro-buttons {
margin-bottom: 129px;
}
.top-section h1 {
font-size: 6.25rem;
}
.top-section {
padding-top: 139px;
padding-bottom: 139px;
}
}