cannamatch/templates/video.html
2026-04-27 19:12:20 +02:00

91 lines
2.4 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>cannamatch</title>
<link rel="icon" type="image/png" href="{{ url_for('static', filename='favicon.png') }}">
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; background: #000; overflow: hidden; }
.video-wrapper {
position: fixed;
inset: 0;
display: flex;
justify-content: center;
align-items: center;
}
video {
height: 100%;
width: calc(100vh * 9 / 16);
object-fit: cover;
}
.btn-row {
display: flex;
justify-content: center;
gap: 1rem;
}
@keyframes pulseGlow {
0%, 100% { box-shadow: 0 0 6px 1px rgba(191,181,49,0.3); }
50% { box-shadow: 0 0 14px 4px rgba(191,181,49,0.7); }
}
@keyframes borderTrace {
0%, 100% { outline: 2px solid rgba(191,181,49,0.2); outline-offset: 2px; }
50% { outline: 2px solid rgba(191,181,49,0.7); outline-offset: 4px; }
}
.btn-container {
position: fixed;
bottom: 2rem;
left: 0;
width: 100%;
display: flex;
flex-direction: column;
gap: 2rem;
z-index: 10;
}
.btn-row a {
padding: 0.75rem 1.75rem;
background: #BFB531;
color: #000;
font-family: Arial, sans-serif;
font-weight: 700;
font-size: 1rem;
border-radius: 8px;
text-decoration: none;
animation: pulseGlow 2.5s ease-in-out infinite,
borderTrace 2.5s ease-in-out infinite;
}
.btn-row a:hover {
background: #fff;
animation: none;
box-shadow: 0 0 18px 6px rgba(191,181,49,0.8);
}
</style>
</head>
<body>
<div class="video-wrapper">
<video src="{{ url_for('static', filename='video.mp4') }}"
autoplay muted loop playsinline></video>
</div>
<div class="btn-container">
<div class="btn-row">
<a href="{{ url_for('inactive') }}">Interactive</a>
<a href="{{ url_for('profiles_page') }}">Profiles</a>
<a href="{{ url_for('quiz') }}">Quiz</a>
</div>
<div class="btn-row">
<a href="{{ url_for('static', filename='Praeventionsbroschuere_DE_2026.pdf') }}" target="_blank">Präventionsbroschüre</a>
</div>
</div>
</body>
<script src="{{ url_for('static', filename='js/fullscreen.js') }}"></script>
</html>