-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
249 lines (225 loc) · 4.09 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
/*CSS RESET*/
*{
margin: 0px;
padding: 0px;
}
html{
scroll-behavior: smooth;
}
/*css variables*/
:root{
--navbar-height:59px;
}
/*navigation bar*/
#navbar{
display: flex;
align-items: center;
}
/*navigation bar:image amd logo*/
#logo{
margin: 44px 34px;
}
#logo img{
height: 134px;
width: auto;
margin: 44px 23px;
}
#navbar ul{
display: flex;
}
*{
margin: 0px;
padding: 0px;
}
/*css variables*/
:root{
--navbar-height:59px;
}
/*navigation bar*/
#navbar{
display: flex;
align-items: center;
position: sticky;
top: 0px;
}
/*navigation bar:image amd logo*/
#logo{
margin: 34px 45px;
align-items: center;
}
#logo img{
height: 44px;
margin: 34px 35px;
align-items: center;
}
#navbar ul{
display: flex;
font-family: 'Baloo Bhai 2', cursive;
}
#navbar::before{
content: "";
background-color:pink;
position: absolute;
top: 0px;
left: 0px;
height: 100%;
width: 100%;
z-index: -1;
opacity: 0.4;
}
#navbar ul li{
color: white;
/* background-color: aqua;*/
font-size: 1.3rem;
}
#navbar ul li a{
color: white;
display: block;
padding: 3px 22px;
border-radius: 20px;
text-decoration: none;
}
#navbar ul li a:hover{
color: black;
background-color: white;
}
/*home section*/
#home{
display: flex;
flex-direction: column;
height: 620px;
padding: 4px 200px;
justify-content: center;
align-items: center;
}
#home::before{
content: "";
background: url('food2.jpg')no-repeat center center/cover;
position: absolute;
height: 100%;
width: 100%;
top: 0px;
left: 0px;
z-index: -1;
opacity: 0.46;
}
#home h1{
color: black;
text-align: center;
font-family: 'Gentium Book Plus', serif;
font-size: 3rem;
}
#home p{
color: black;
text-align: center;
font-size: 1.2rem;
font-family: 'Baloo Bhai 2', cursive;
}
/*services section*/
#services{
margin: 20px;
display: flex;
height:100%;
}
#services .box {
border: 2px solid brown;
padding: 34px;
margin: 3px 6px;
border-radius: 24px;
background-color: rgb(213, 116, 116);
margin-bottom: 15px;
}
#services .box img{
height: 105px;
margin: auto;
display: block;
}
#services .box p{
font-family: 'Baloo Bhai 2', cursive;;
}
#contact-box {
display: flex;
justify-content: center;
align-items: center;
padding-bottom: 34px;
}
#contact-box form{
width: 40%;
}
#contact-box label{
font-size: 1.3rem;
font-family: 'Gentium Book Plus', serif;;
}
#contact-box input,
#contact-box textarea{
width: 100%;
padding: 0.5rem;
border-radius: 6px;
font-size: 1.3rem;
}
footer{
background-color: black;
color: white;
padding: 9px 20px;
}
/*CONTACT SECTION*/
#contact{
position: relative;
}
#contact::before{
content: "";
position: absolute;
width: 100%;
height: 100%;
z-index: -1;
opacity: 0.7;
background: url('cnt.jpg')no-repeat center center/cover;
}
/*client section*/
.client-item{
padding: 35px;
}
#client-section{
position: relative;
}
#client-section::before{
content: "";
position: absolute;
background: url('../food2.jpg');
width: 100%;
z-index: -1;
opacity: 0.4;
}
#clients{
display: flex;
justify-content: center;
align-items: center;
}
#clients img{
height: 120px;
}
/*utility classes*/
.h-primary{
font-size: 3.8rem;
font-family: 'Gentium Book Plus', serif;
padding: 12px;
height:120px;
}
.h-secondary{
font-size: 2rem;
font-family: 'Gentium Book Plus', serif;
padding: 12px;
}
.btn{
padding: 6px 20px;
border: 2px solid white;
background-color: brown;
color: white;
margin: 17px;
font-size: 1.2rem;
border-radius: 8px;
cursor: pointer;
}
.center{
text-align: center;
}