-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
379 lines (342 loc) · 11.5 KB
/
index.html
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
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BHARAT: The Jewels of India</title>
<link rel="icon" href="logo black.png" type="image/x-icon">
<style>
:root {
--bg: #000000;
--text: #151515;
--yellow: #ff8000;
--red: #ffffff;
--green: #00ff04;
}
body {
height: 100vh;
margin: 0;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
gap: 3em;
background-color: var(--bg);
font-family: "Recoleta";
margin: 0 10em;
color: antiquewhite;
}
h1 {
font-size: 60px;
font-weight: normal;
margin: 0;
}
h2 {
font-size: 32px;
}
p {
font-size: 20px;
}
a {
text-decoration: none;
color: inherit;
}
body::before,
body::after {
position: absolute;
left: 0;
top: 0;
content: '';
width: 100%;
height: 100%;
z-index: -1;
opacity: 20%;
}
body::before {
background: #5b5b5b;
filter: url(#noiseFilter);
}
.blob-cont {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
z-index: -2;
height: 500px;
width: 500px;
position: relative;
right: 5em;
opacity: 0.75;
}
.blob {
border-radius: 100px;
filter: blur(50px);
}
.yellow {
background-color: var(--yellow);
position: absolute;
top: 200px;
left: 100px;
height: 200px;
width: 200px;
animation: yellow 8s infinite ease;
}
.green {
background-color: var(--green);
position: absolute;
top: 80px;
right: -20px;
height: 200px;
width: 250px;
animation: green 8s infinite ease;
}
.red {
background-color: var(--red);
position: absolute;
right: 0;
top: 300px;
height: 250px;
width: 200px;
animation: red 8s infinite linear;
}
@keyframes yellow {
0% {top: 200px; left: 100px; transform: scale(1);}
30% {top: 300px; left: 150px; transform: scale(1.2);}
60% {top: 100px; left: 200px; transform: scale(1.3);}
100% {top: 200px; left: 100px; transform: scale(1);}
}
@keyframes green {
0% {top: 80px; right: -20px; transform: scale(1.2);}
30% {top: 300px; right: -20px;transform: scale(1);}
60% {top: 200px; right: 100px;transform: scale(1);}
100% {top: 80px; right: -20px; transform: scale(1.2);}
}
@keyframes red {
0% {top: 250px; right: 0px; transform: scale(1);}
30% {top: 150px; right: 150px;transform: scale(1.4);}
60% {top: 250px; right: 100px;transform: scale(1);}
100% {top: 250px; right: 0px; transform: scale(1);}
}
.nav {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
width: 100%;
}
.menu {
display: flex;
flex-direction: row;
justify-content: flex-end;
align-items: center;
gap: 3em;
}
.hero {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
width: 100%;
height: 130%;
gap: 3em;
background:
linear-gradient(to right, #151515 1px, transparent 1px) 0 0,
linear-gradient(to right, #151515 1px, transparent 1px) 0 100%,
linear-gradient(to left, #151515 1px, transparent 1px) 100% 0,
linear-gradient(to left, #151515 1px, transparent 1px) 100% 100%,
linear-gradient(to bottom, #151515 1px, transparent 1px) 0 0,
linear-gradient(to bottom, #151515 1px, transparent 1px) 100% 0,
linear-gradient(to top, #151515 1px, transparent 1px) 0 100%,
linear-gradient(to top, #151515 1px, transparent 1px) 100% 100%;
background-repeat: no-repeat;
background-size: 20px 20px;
}
.hero-text {
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: flex-start;
gap: 3em;
}
.buttons {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
gap: 2em;
}
.button {
padding: 1em 3em;
border: 1px solid rgb(213, 184, 125);
font-size: 18px;
}
.primary {
background-color: var(--text);
color: #DED3B6;
}
@media only screen and (max-width: 1000px) {
body {
margin: 1em;
}
}
.nav img {
height: 50px;
width: 50px;
}
.website-content {
position: relative;
width: 100%;
height: 100vh;
padding: 2em;
background: #000000;
color: bisque;
z-index: 1;
}
.text {
font-size: 8vw;
letter-spacing: -.01em;
line-height: 130%;
margin: 0;
width: 100%;
color: rgba(255, 255, 255, 0.784);
background: linear-gradient(to right, #b6b6b6, #b6b6b6) no-repeat;
-webkit-background-clip: text;
background-clip: text;
background-size: 0%;
transition: background-size cubic-bezier(.1, .5, .5, 1) 0.5s;
border-bottom: 1px solid #2F2B28;
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
position: relative;
}
span {
position: absolute;
width: 100%;
height: 100%;
background-color: #d9b676;
color: #0D0D0D;
clip-path: polygon(0 50%, 100% 50%, 100% 50%, 0 50%);
transform-origin: center;
transition: all cubic-bezier(.1, .5, .5, 1) 0.4s;
display: flex;
flex-direction: column;
justify-content: center;
}
.text:hover > span {
clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}
.number-container {
display: flex;
justify-content: center;
align-items: center;
margin-top: 2em;
}
.number {
font-size: 10rem;
color: #fff;
font-weight: bold;
text-align: center;
transition: opacity 0.5s ease-in-out;
}
.website-content p {
font-size: 30px;
}
svg {
display: none;
}
</style>
</head>
<body>
<div class="nav">
<img src="logo black.png" alt="Logo">
<h2>BHARAT: The Jewels of India</h2>
<div class="menu">
<a href="menu.html"><p>Menu</p></a>
<a href="about.html"><p>About Us</p></a>
</div>
</div>
<div class="hero">
<div class="hero-text">
<h1>Cultural Grandeur.</h1>
<p>Immerse in India's enchanting culture and natural splendor.</p>
<div class="buttons">
<a class="button primary" href="booking.html" target="_blank">Book Now</a>
<a class="button secondary" href="explore.html" target="_blank">Explore Us</a>
</div>
</div>
<div class="blob-cont">
<div class="yellow blob"></div>
<div class="red blob"></div>
<div class="green blob"></div>
</div>
</div>
<section class="website-content">
<h1 class="text">
<span>Richness.</span>
Explore.<br>
</h1>
<h1 class="text">
<span>Greatness.</span>
Discover.<br>
</h1>
<h1 class="text">
<span>Majesty.</span>
Journey.<br>
</h1>
<h1 class="text">
<span>Elegance.</span>
Experience.
</h1>
<p>Explore the vibrant and diverse landscapes of India with our carefully curated travel experiences. From the majestic palaces of Rajasthan to the serene backwaters of Kerala, our theme centers around discovering the rich cultural heritage and natural beauty of this incredible country. Join us on a journey through India's hidden gems and renowned landmarks, where every corner tells a story and every moment is an adventure.</p>
<div class="number-container">
<h1 class="text">
<span>+ satisfied customers.</span>
<div class="number" data-number="250000">0</div>
</h1>
</div>
<div class="number-container">
<h1 class="text">
<span>+ outlets across India.</span>
<div class="number" data-number="200">0</div>
</h1>
</div>
<div class="number-container">
<h1 class="text">
<span>+ bookings right now.</span>
<div class="number" data-number="1250">0</div>
</h1>
</div>
</section>
<svg>
<filter id='noiseFilter'>
<feTurbulence type='fractalNoise' baseFrequency='0.6' stitchTiles='stitch'/>
<feColorMatrix in="colorNoise" type="matrix" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0" />
<feComposite operator="in" in2="SourceGraphic" result="monoNoise"/>
<feBlend in="SourceGraphic" in2="monoNoise" mode="screen" />
</filter>
</svg>
<script>
document.addEventListener('DOMContentLoaded', function() {
// Numbers animation
const numberElements = document.querySelectorAll('.number');
numberElements.forEach(element => {
const target = +element.getAttribute('data-number');
let count = 0;
const increment = target / 200; // Adjust the increment for speed
const updateNumber = () => {
count += increment;
if (count >= target) {
element.textContent = target;
} else {
element.textContent = Math.floor(count);
requestAnimationFrame(updateNumber);
}
};
updateNumber();
});
});
</script>
</body>
</html>