Glueck-Auf/flask_app/templates/base.html
2026-06-17 14:33:57 +02:00

212 lines
5.4 KiB
HTML

<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}Glück Auf Stadion Escape{% endblock %}</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% 120%, rgba(255, 255, 255, 0.16), transparent 34%),
#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 {
position: relative;
min-height: calc(100vh - 76px);
display: grid;
align-items: center;
padding: 4rem 3rem;
overflow: hidden;
}
main::before {
content: "";
position: absolute;
inset: auto 8% 0;
height: 42%;
border: 1px solid rgba(122, 179, 255, 0.22);
border-bottom: 0;
border-radius: 50% 50% 0 0;
opacity: 0.75;
}
.scene,
.puzzle {
position: relative;
z-index: 1;
max-width: 760px;
}
.puzzle {
width: min(720px, 100%);
margin: 0 auto;
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: 1.5rem;
font-family: "Bebas Neue", sans-serif;
font-size: clamp(3rem, 8vw, 7rem);
line-height: 0.92;
letter-spacing: 0.03em;
color: #fff;
text-shadow: 0 4px 40px rgba(0, 80, 200, 0.7);
}
h1 span {
color: #7ab3ff;
}
p {
max-width: 560px;
color: rgba(255, 255, 255, 0.68);
font-size: 1.05rem;
font-weight: 300;
line-height: 1.8;
}
.tag,
label {
color: rgba(255, 255, 255, 0.46);
font-size: 0.72rem;
letter-spacing: 0.2em;
text-transform: uppercase;
}
.tag {
margin-bottom: 1.2rem;
}
.clue,
.result {
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.82);
}
label {
display: block;
margin-bottom: 0.6rem;
}
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);
}
.btn,
button {
display: inline-block;
margin-top: 1rem;
padding: 0.82rem 2.2rem;
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;
}
.btn:hover,
button:hover {
color: #fff;
background: #0057c2;
transform: translateY(-2px);
}
.secondary {
padding-inline: 1.6rem;
background: rgba(255, 255, 255, 0.14);
color: #fff;
}
@media (max-width: 640px) {
nav {
align-items: flex-start;
flex-direction: column;
padding: 1rem 1.5rem;
}
main {
padding: 3rem 1.5rem;
}
.puzzle {
padding: 1.4rem;
}
}
</style>
</head>
<body>
<nav>
<a class="logo" href="/app/">Glück Auf</a>
<a href="/app/raetsel">Stadiontor</a>
</nav>
<main>
{% block content %}{% endblock %}
</main>
</body>
</html>