-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
132 lines (113 loc) · 2.27 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
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700&display=swap");
:root {
/*====== Colors ======*/
--primary-color: #ef5350;
--secondary-color-dark: #3d3d3d;
--bg-color-lighte: #ebebeb;
/*====== Fonts ======*/
--text-family: "poppins", sans-serif;
--text-title-size: 90px;
--text-category-size: 15px;
--text-info-size: 10px;
/*====== IMG ======*/
--img-size-widgth: 100px;
--img-size-heigth: 100px;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
img {
width: 100%;
}
/* ====================== Constans ====================== */
.container {
width: 1040px;
margin: 0 auto;
}
.icons {
color: var(--secondary-color-dark);
}
/* ====================== header ====================== */
.navbar__container {
top: 0;
left: 0;
width: 100vw;
z-index: 1;
height: 130px;
display: flex;
position: sticky;
align-items: center;
margin-bottom: 100px;
background-color: var(--primary-color);
}
.navbar {
display: flex;
align-items: center;
justify-content: space-between;
}
.navbar__logo {
width: 240px;
height: var(--img-size-heigth);
}
.navbar__filter-container {
background-color: #ffff;
display: flex;
align-items: center;
padding: 5px 20px;
border-radius: 20px;
gap: 10px;
}
.navbar__filter {
width: 300px;
border: none;
outline: none;
color: var(--secondary-color-dark);
}
/* ====================== card ====================== */
#main {
display: flex;
flex-wrap: wrap;
gap: 50px;
}
.card {
width: 310px;
height: 350px;
display: flex;
overflow: hidden;
isolation: isolate;
position: relative;
border-radius: 1rem;
padding-block: 1rem;
flex-direction: column;
justify-content: center;
text-transform: uppercase;
background-color: #ffff;
box-shadow: 0 0 3rem -1rem rgb(0 0 0 / 25%);
}
.card__header-title {
left: 55%;
top: 1.5rem;
z-index: -1;
font-size: 7rem;
font-weight: 800;
position: absolute;
color: var(--bg-color-lighte);
transform: translateX(-50%);
}
.card__header-img {
width: 200px;
align-self: center;
margin: 0 auto;
display: flex;
padding-inline: 1rem;
justify-content: center;
}
.card__body {
display: flex;
margin: 0 auto;
text-align: center;
flex-direction: column;
justify-content: center;
}