-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.html
207 lines (191 loc) · 6.15 KB
/
404.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sagarawat Electricals - Coming Soon</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Outfit&family=Raleway:wght@700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"> <!-- Font Awesome CSS -->
<link rel="icon" type="image/png" href="favicon.ico">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<style>
/* Reset and basic styles */
body, html {
margin: 0;
padding: 0;
height: 100%;
font-family: 'Outfit', sans-serif;
}
/* Container styles */
.container {
position: relative;
height: 100vh;
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
}
/* Video background */
.video-background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
}
.video-background video {
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
/* Content styles */
.content {
text-align: center;
color: #fff;
max-width: 800px;
padding: 20px;
background-color: rgba(0, 0, 0, 0.2);
border-radius: 20px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
backdrop-filter: blur(10px);
animation: float 6s ease-in-out infinite;
margin-bottom: 50px;
}
.content h1 {
font-family: 'Raleway', sans-serif;
font-size: 4rem;
margin-bottom: 1rem;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.content p {
font-size: 1.4rem;
margin-bottom: 2rem;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
/* Button styles */
.contact-btn {
background-color: transparent;
border: 2px solid #fff;
color: #fff;
padding: 0.8rem 1.5rem;
font-size: 1.2rem;
cursor: pointer;
transition: background-color 0.3s ease;
backdrop-filter: blur(0px);
border-radius: 30px;
animation: breathe 3s infinite;
text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
text-decoration: none;
display: inline-flex;
align-items: center;
justify-content: center;
}
.contact-btn:hover {
background-color: rgba(255, 255, 255, 0.2);
}
/* Home page icon styles */
.home-icon {
font-size: 1.5rem;
margin-right: 0.5rem;
}
/* Breathing animation */
@keyframes breathe {
0% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
100% {
transform: scale(1);
}
}
/* Floating animation */
@keyframes float {
0% {
transform: translateY(0);
}
50% {
transform: translateY(-20px);
}
100% {
transform: translateY(0);
}
}
/* Responsive styles */
@media (max-width: 768px) {
.content {
max-width: 90%;
border-radius: 10px;
}
.content h1 {
font-size: 3rem;
}
.content p {
font-size: 1.2rem;
}
}
/* Mobile styles */
@media (max-width: 680px) {
.content {
max-width: 100%;
padding: 10px;
border-radius: 20px;
margin: 20px;
animation: float 6s ease-in-out infinite;
}
}
/* Footer styles */
footer {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
background-color: rgba(0, 0, 0, 0.2);
color: #fff;
text-align: center;
padding: 10px;
backdrop-filter: blur(0px);
box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
footer p {
color: #fff;
font-size: 0.8rem;
margin: 0;
}
</style>
</head>
<body>
<div class="container w3-animate-opacity">
<div class="video-background">
<video autoplay muted>
<source src="Render.mp4" type="video/mp4">
Your browser does not support the video-tag.
</video>
</div>
<div class="content">
<h1>404 Error !</h1>
<p>Oops! We're sorry, but the page you're looking for can't be found. Perhaps there's an error, or the page has been moved.</p>
<a href="index.html" class="contact-btn">
<span class="home-icon fas fa-home"></span> Go Back To Home Page
</a>
</div>
<footer>
<p>© <span id="copyrightYear"></span> Sagarawat Electricals. All rights reserved.</p>
</footer>
</div>
<script>
// Get the current year and update the copyright year
var currentYear = new Date().getFullYear();
document.getElementById("copyrightYear").textContent = currentYear;
</script>
</body>
</html>