-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
256 lines (232 loc) · 5.05 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
* {
margin: 0;
padding: 0;
font-family: sans-serif;
}
body {
background-color: #fff;
height: 100%;
overflow: auto;
}
.menu-btn {
color: #e6d3a7;
position: absolute;
top: 25px;
left: 20px;
cursor: pointer;
font-size: 24px;
transition: all .3s ease-in-out;
display: none;
}
.navbar {
padding: 20px 5%;
display: flex;
justify-content: space-between;
align-items: center;
position: sticky;
top:0;
z-index: 999;
background-color: #3a7563;
border-radius: 0 0 25px 25%;
box-shadow: 0 0 14px rgba(0, 0, 0, .8);
}
.navbar .logo h3 {
text-transform: uppercase;
letter-spacing: 1px;
font-size: 35px;
color: #e6d3a7;
border-bottom: 4px solid #392f2f;
border-bottom-style: dashed;
}
.navbar .menu li {
list-style: none;
display: inline-block;
}
.navbar .menu li a {
display: block;
margin-left: 20px;
text-decoration: none;
color: #e6d3a7;
font-size: 20px;
}
.navbar .menu li .active {
padding: 6px;
border: 3px solid #392f2f;
border-radius: 25px;
background-color: #392f2f;
}
.navbar .menu li a i {
margin-right: 10px;
color: #392f2f;
}
.navbar .menu li a:hover {
padding: 6px;
border: 3px solid #392f2f;
border-radius: 25px;
background-color: #392f2f;
}
/* Add this rule for the shopping icon */
.navbar .menu li .shopping:hover {
border: 3px solid #e6d3a7;
background-color: #e6d3a7;
border-radius: 25px;
}
/* content */
.content {
background-image: url(../imgs/img/header.png);
background-size: cover;
background-repeat: no-repeat;
margin: 0;
padding: 0 5%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start; /* Change from flex-start to center */
color:#392f2f;
height: 100vh;
}
.content h1 {
margin:20px;
font-size: 40px;
line-height: 1.2em;
letter-spacing: -1px;
text-align: left; /* Align to the left */
}
.content p {
font-size: 20px;
margin:20px;
text-align: left; /* Align to the left */
}
.content button {
margin:30px;
padding:15px 30px;
background-color: #3a7563;
color:#e6d3a7;
border-top-right-radius: 25px;
border-bottom-left-radius: 25px;
font-family: sans-serif;
font-size:20px;
cursor: pointer;
}
.content button:hover {
background-color: #e6d3a7;
color:#3a7563;
border-radius: 25px 0 25px;
font-size:25px;
}
.pheading{
text-align: center;
margin:50px 0;
color:#392f2f;
}
/* product */
.sec{
padding:10px 5%;
}
.product{
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.product .card{
width:310px;
background: #f5f5f5;
box-shadow:0 10px 20px rgba(0, 0, 0, .8);
border-radius:15px;
padding:5px;
margin-bottom:20px;
}
.product .card img{
height:410px;
width:100%;
}
.product .card .descc{
padding:5px 20px;
opacity:0.8;
}
.product .card .titel{
font-weight:900;
font-size:20px;
color:#392f2f;
padding:0 20px;
text-align: center;
}
.product .card .box{
display:flex;
justify-content:space-between;
align-items:center;
padding: 20px 5px;
}
.product .card .box .praice{
margin:5px;
color:#3a7563;
font-size:25px;
font-weight:bold;
}
.product .card .box .btn{
background-color: #3a7563;
color:#e6d3a7;
text-transform:uppercase;
border-radius: 25px;
padding:10px 18px;
font-size:14px;
font-weight:bold;
cursor: pointer;
font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
.product .card .box .btn:hover{
background-color: #e6d3a7;
color:#3a7563;
}
.blur-background {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
filter: blur(8px);
display: none;
justify-content: center;
align-items: center;
z-index: 2;
}
.zoomed-card {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 3;
display: none;
}
.zoomed-card img {
max-width: 100%;
max-height: 100%;
}
.card:hover {
cursor: pointer;
transform: scale(1.1);
transition: transform 0.3s ease;
}
footer{
background-color: #3a7563;
height:10vh;
background-color: #3a7563;
border-radius: 25px 25% 0 0 ;
box-shadow: 0 0 14px rgba(0, 0, 0, .8);
}
@font-face {
font-family: 'Dancing Script';
src: url('../fonts/DancingScript-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
footer h3 {
font-size:35px;
display: flex;
color: #e6d3a7;
align-items: center;
margin: 20px;
padding: 10px;
justify-content: center;
font-family: 'Dancing Script', cursive;
}