Glueck-Auf/templates/frage.html
2026-06-17 14:24:56 +02:00

194 lines
5.3 KiB
HTML

<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Rätsel am Stadiontor</title>
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@300;400;500&display=swap" rel="stylesheet">
<style>
*, *::before, *::after {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
font-family: "Barlow", sans-serif;
color: #f5f8ff;
background:
linear-gradient(rgba(0, 20, 60, 0.9), rgba(0, 31, 68, 0.96)),
radial-gradient(circle at 50% 0, rgba(122, 179, 255, 0.26), transparent 32%),
#001f44;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
gap: 2rem;
padding: 1.2rem 2.5rem;
background: rgba(0, 20, 60, 0.88);
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.logo {
color: #fff;
font-family: "Bebas Neue", sans-serif;
font-size: 1.7rem;
letter-spacing: 0.12em;
text-decoration: none;
}
nav a:not(.logo) {
color: rgba(255, 255, 255, 0.52);
font-size: 0.82rem;
letter-spacing: 0.12em;
text-decoration: none;
text-transform: uppercase;
}
nav a:hover {
color: #fff;
}
main {
max-width: 720px;
margin: 0 auto;
padding: 4rem 1.5rem;
}
.puzzle {
padding: 2rem;
border: 1px solid rgba(122, 179, 255, 0.28);
background: rgba(0, 31, 68, 0.72);
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
h1 {
margin-top: 0;
margin-bottom: 1rem;
font-family: "Bebas Neue", sans-serif;
font-size: clamp(2.6rem, 7vw, 4.8rem);
line-height: 0.95;
letter-spacing: 0.03em;
color: #fff;
}
p {
color: rgba(255, 255, 255, 0.68);
font-size: 1.02rem;
font-weight: 300;
line-height: 1.8;
}
.clue {
margin: 1.4rem 0;
padding: 1rem 1.2rem;
border-left: 3px solid #7ab3ff;
background: rgba(255, 255, 255, 0.06);
color: rgba(255, 255, 255, 0.8);
}
label {
display: block;
margin-bottom: 0.6rem;
color: rgba(255, 255, 255, 0.7);
font-size: 0.72rem;
letter-spacing: 0.16em;
text-transform: uppercase;
}
input {
width: 100%;
padding: 0.95rem 1rem;
border: 1px solid rgba(255, 255, 255, 0.18);
background: rgba(255, 255, 255, 0.06);
color: #fff;
outline: none;
font-size: 16px;
}
input:focus {
border-color: rgba(122, 179, 255, 0.9);
box-shadow: 0 0 0 3px rgba(122, 179, 255, 0.12);
}
button,
a {
display: inline-block;
margin-top: 1rem;
padding: 0.82rem 1.8rem;
color: #001f44;
background: #fff;
border: 0;
text-decoration: none;
font-family: "Barlow", sans-serif;
font-size: 0.82rem;
font-weight: 500;
letter-spacing: 0.12em;
text-transform: uppercase;
cursor: pointer;
transition: background 0.2s, color 0.2s, transform 0.15s;
}
button:hover,
a:hover {
color: #fff;
background: #0057c2;
transform: translateY(-2px);
}
.result {
margin-top: 18px;
padding: 1rem 1.2rem;
border-left: 3px solid #7ab3ff;
background: rgba(255, 255, 255, 0.08);
color: #fff;
}
@media (max-width: 640px) {
nav {
align-items: flex-start;
flex-direction: column;
padding: 1rem 1.5rem;
}
.puzzle {
padding: 1.4rem;
}
}
</style>
</head>
<body>
<nav>
<a class="logo" href="/app/">Glück Auf</a>
<a href="/app/">Zurück</a>
</nav>
<main>
<section class="puzzle">
<h1>Das Stadiontor</h1>
<p>
Das Drehkreuz ist verriegelt. Über dem Eingang leuchten vier
blaue Markierungen: Nordkurve, Südkurve, Haupttribüne und Gegengerade.
</p>
<p class="clue">
Hinweis: Der Verein trägt die Vier sogar im Zeichen. Gib die Zahl ein,
die das Tor zum Innenraum öffnet.
</p>
<form method="post">
<label for="antwort">Code am Stadiontor</label>
<input id="antwort" name="antwort" required>
<button type="submit">Tor öffnen</button>
</form>
{% if ergebnis %}
<p class="result">{{ ergebnis }}</p>
{% endif %}
<p><a href="/app/">Zurück in den Gang</a></p>
</section>
</main>
</body>
</html>