<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Runenregen</title>
<style>
@keyframes runeFall {
0% {
transform: translateY(-10%);
}
100% {
transform: translateY(110vh);
}
}
.rune {
position: absolute;
font-size: 24px;
color: #f2a900; /* Farbe des Bitcoin (orange) */
text-shadow: 0 0 10px #f2a900; /* Schimmer */
animation: runeFall 8s linear infinite;
}
/* Beispielstil für den Hintergrund */
body {
background-color: #000000; /* Hintergrundfarbe */
overflow: hidden;
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<script>
function createRune() {
const rune = document.createElement('div');
rune.classList.add('rune');
const runeSymbols = ['ᚠ', 'ᚢ', 'ᚦ', 'ᚩ', 'ᚱ', 'ᚳ', 'ᚷ', 'ᚹ', 'ᚻ', 'ᛁ', 'ᛡ', 'ᛠ', 'ᚴ', 'ᛢ', 'ᚼ', 'ᛣ', 'ᚾ', 'ᚿ'];
const randomSymbol = runeSymbols[Math.floor(Math.random() * runeSymbols.length)];
rune.textContent = randomSymbol;
rune.style.left = `${Math.random() * 100}vw`;
document.body.appendChild(rune);
setTimeout(() => {
rune.remove();
}, 8000); // Remove rune after 8 seconds
}
setInterval(createRune, 25); // Create a rune every 25 milliseconds
</script>
</body>
</html>