Eine kleine Idee
<style>@import url(https://fonts.googleapis.com/css?family=Montserrat); body { margin: 0;}canvas { display: block;} /* Modal styles */.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 9999; justify-content: center; align-items: center; font-family: Montserrat;} .modal-content { background-color: #aaffaa; padding: 20px; border-radius: 10px; box-shadow: inset 0px 0px 5px 5px rgba(0,0,0,0.3); animation: fadeInModal 1s ease-in-out forwards;} button { position: relative; left: 50%; transform: translate(-50%, 0); background-color: #c2fbd7; border-radius: 100px; box-shadow: rgba(44, 187, 99, .2) 0 -25px 18px -14px inset,rgba(44, 187, 99, .15) 0 1px 2px,rgba(44, 187, 99, .15) 0 2px 4px,rgba(44, 187, 99, .15) 0 4px 8px,rgba(44, 187, 99, .15) 0 8px 16px,rgba(44, 187, 99, .15) 0 16px 32px; color: green; cursor: pointer; display: inline-block; font-family: CerebriSans-Regular,-apple-system,system-ui,Roboto,sans-serif; padding: 7px 20px; text-align: center; text-decoration: none; transition: all 250ms; border: 0; font-size: 16px; user-select: none; -webkit-user-select: none; touch-action: manipulation; &:hover { box-shadow: rgba(44,187,99,.35) 0 -25px 18px -14px inset,rgba(44,187,99,.25) 0 1px 2px,rgba(44,187,99,.25) 0 2px 4px,rgba(44,187,99,.25) 0 4px 8px,rgba(44,187,99,.25) 0 8px 16px,rgba(44,187,99,.25) 0 16px 32px; transform: translate(-50%, 0) scale(1.3) rotate(-4deg); }} @keyframes fadeInModal { from { opacity: 0; } to { opacity: 1; }} </style> <!-- Modal --><div id="modal" class="modal"> <div class="modal-content"> <h2>Daishi’s-Forum wünscht ihnen <br><br><center>🐰 Frohe Ostern 🐰</center></h2> <br><br> <button onclick="modal.style.display = 'none';">Close</button> </div></div> <script> // Modal auf Timer anzeigenwindow.onload = function() { setTimeout(function() { modal.style.display = 'flex'; }, 2000); // delay}; </script>