Files

130 lines
3.7 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>404 • Not Found</title>
<link
href="https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400&family=DM+Sans:wght@300;400&display=swap"
rel="stylesheet"
/>
<style>
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
:root {
--bg: #0a0a0a;
--fg: #f0ede8;
--muted: #4a4a4a;
--line: #1e1e1e;
}
body {
background: var(--bg);
color: var(--fg);
font-family: "DM Sans", sans-serif;
font-weight: 300;
min-height: 100vh;
display: grid;
place-items: center;
padding: 40px 24px;
overflow: hidden;
}
body::before {
content: "";
position: fixed;
inset: 0;
background-image:
linear-gradient(var(--line) 1px, transparent 1px),
linear-gradient(90deg, var(--line) 1px, transparent 1px);
background-size: 60px 60px;
pointer-events: none;
opacity: 0.5;
}
.container {
position: relative;
max-width: 600px;
width: 100%;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
opacity: 0;
transform: translateY(16px);
animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}
@keyframes rise {
to {
opacity: 1;
transform: translateY(0);
}
}
.code {
font-family: "DM Mono", monospace;
font-size: clamp(80px, 18vw, 140px);
font-weight: 300;
letter-spacing: -0.04em;
line-height: 1;
color: #1e1e1e;
margin-bottom: 32px;
user-select: none;
}
h1 {
font-size: clamp(22px, 5vw, 32px);
font-weight: 300;
letter-spacing: -0.02em;
color: var(--fg);
white-space: nowrap;
margin-bottom: 16px;
}
.divider {
width: 32px;
height: 1px;
background: var(--muted);
margin-bottom: 16px;
}
p {
font-size: 15px;
line-height: 1.8;
color: #999;
}
.back {
margin-top: 40px;
font-family: "DM Mono", monospace;
font-size: 11px;
letter-spacing: 0.12em;
text-transform: uppercase;
color: #555;
text-decoration: none;
transition: color 0.2s;
}
.back:hover {
color: var(--fg);
}
</style>
</head>
<body>
<div class="container">
<div class="code">404</div>
<h1>Page not found</h1>
<div class="divider"></div>
<p>The page you're looking for doesn't exist.</p>
<a class="back" href="/">← back to home</a>
</div>
</body>
</html>