-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
86 lines (76 loc) · 2.32 KB
/
index.html
File metadata and controls
86 lines (76 loc) · 2.32 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Futuristic Search - Error</title>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Roboto', sans-serif;
background-color: #121212;
color: #fff;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
h1 {
font-size: 3em;
text-align: center;
}
.error-message {
font-size: 1.5em;
text-align: center;
margin-top: 20px;
}
.retry-button {
background-color: #00e0ff;
padding: 15px 30px;
border-radius: 10px;
border: none;
font-size: 1.2em;
cursor: pointer;
color: #121212;
margin-top: 20px;
transition: background 0.3s ease;
}
.retry-button:hover {
background-color: #00b8d4;
}
.retry-button:focus {
outline: none;
}
/* Animation for the background */
@keyframes spaceBackground {
0% {
transform: scale(1);
}
100% {
transform: scale(1.1);
}
}
.background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url('https://www.nasa.gov/sites/default/files/thumbnails/webb_stars_space_2.jpg');
background-size: cover;
background-position: center;
animation: spaceBackground 15s infinite alternate;
filter: blur(5px);
z-index: -1;
}
</style>
</head>
<body>
<div class="background"></div>
<h1>Oops! Something Went Wrong</h1>
<p class="error-message">We couldn't fetch the data from the search service after multiple attempts. Please try again later.</p>
<button class="retry-button" onclick="window.location.href = 'https://www.google.com';">Go to Google</button>
</body>
</html>