/* Global Reset */ * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Roboto', sans-serif; } body { background: linear-gradient(135deg, #3f51b5, #1a237e); font-family: 'Roboto', sans-serif; display: flex; justify-content: center; align-items: center; height: 100vh; overflow: hidden; color: white; animation: gradientBG 15s ease-in-out infinite; } /* Container */ .container { text-align: center; padding: 60px 80px; border-radius: 30px; background: rgba(0, 0, 0, 0.8); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); animation: slideUp 1s ease-out forwards, popIn 2s ease-out infinite alternate; transform: scale(0.95); } h1.title { font-size: 3.8rem; font-weight: bold; color: #00e676; margin-bottom: 20px; text-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); animation: glowingText 2s ease-in-out infinite alternate; } textarea { width: 85%; height: 180px; padding: 18px; margin: 30px 0; border-radius: 20px; background: rgba(255, 255, 255, 0.1); color: white; border: 2px solid transparent; font-size: 1.2rem; resize: none; transition: all 0.3s ease; box-shadow: 0 0 15px rgba(255, 255, 255, 0.1); } textarea:focus { background: rgba(255, 255, 255, 0.2); outline: none; border: 2px solid #00e676; box-shadow: 0 0 20px rgba(0, 255, 255, 0.7); } button { padding: 18px 40px; background: linear-gradient(135deg, #ff4081, #e040fb); border: none; border-radius: 25px; font-size: 1.6rem; color: white; cursor: pointer; transition: all 0.3s ease; position: relative; animation: bounceIn 1s ease-out, glowButton 1.5s ease-in-out infinite alternate; } button:hover { transform: scale(1.1); background: linear-gradient(135deg, #e040fb, #ff4081); box-shadow: 0 5px 25px rgba(255, 0, 255, 0.6); } #result { margin-top: 40px; font-size: 1.9rem; font-weight: 700; transition: opacity 0.3s ease-out; animation: fadeIn 1s ease-out; } .warn { animation: shake 0.6s ease-in-out, flashWarning 1.5s infinite; color: #ff1744; font-weight: bold; } .safe { color: #00e676; animation: pulseGlow 1.5s ease-in-out infinite alternate, smoothFade 2s ease-out; } #tips { margin-top: 25px; font-size: 1.4rem; animation: fadeInLeft 1s ease-out forwards; } a { color: #40c4ff; text-decoration: none; transition: color 0.3s, text-shadow 0.3s; font-size: 1.2rem; } a:hover { color: #ff4081; text-decoration: underline; text-shadow: 0 0 8px #ff4081, 0 0 15px #ff4081; } /* Keyframe Animations */ @keyframes gradientBG { 0% { background: linear-gradient(135deg, #3f51b5, #1a237e); } 50% { background: linear-gradient(135deg, #ff4081, #e040fb); } 100% { background: linear-gradient(135deg, #3f51b5, #1a237e); } } @keyframes glowingText { 0% { text-shadow: 0 10px 20px rgba(0, 255, 255, 0.8); } 50% { text-shadow: 0 20px 40px rgba(0, 255, 255, 1.5); } 100% { text-shadow: 0 10px 20px rgba(0, 255, 255, 0.8); } } @keyframes slideUp { 0% { opacity: 0; transform: translateY(20px); } 100% { opacity: 1; transform: translateY(0); } } @keyframes popIn { 0% { transform: scale(0.95); opacity: 0; } 100% { transform: scale(1); opacity: 1; } } @keyframes bounceIn { 0% { transform: scale(0.8); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } } @keyframes glowButton { 0% { box-shadow: 0 0 20px rgba(255, 0, 255, 0.4); } 50% { box-shadow: 0 0 40px rgba(255, 0, 255, 0.7); } 100% { box-shadow: 0 0 20px rgba(255, 0, 255, 0.4); } } @keyframes shake { 0% { transform: translateX(0); } 25% { transform: translateX(-5px); } 50% { transform: translateX(5px); } 75% { transform: translateX(-5px); } 100% { transform: translateX(0); } } @keyframes flashWarning { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } } @keyframes pulseGlow { 0% { text-shadow: 0 0 10px rgba(0, 255, 255, 0.6); } 50% { text-shadow: 0 0 25px rgba(0, 255, 255, 1); } 100% { text-shadow: 0 0 10px rgba(0, 255, 255, 0.6); } } @keyframes smoothFade { 0% { opacity: 0; } 100% { opacity: 1; } } @keyframes fadeInLeft { 0% { opacity: 0; transform: translateX(-20px); } 100% { opacity: 1; transform: translateX(0); } } /* Hover Effects */ textarea:hover { background: rgba(255, 255, 255, 0.3); border: 2px solid #ff4081; box-shadow: 0 0 30px rgba(255, 0, 255, 0.6); } button:active { transform: scale(1.05); background: linear-gradient(135deg, #e040fb, #ff4081); } a:focus { color: #ff4081; outline: none; box-shadow: 0 0 15px #ff4081; } .container .title { font-size: 4rem; font-weight: 700; letter-spacing: 2px; animation: smoothText 3s ease-in-out infinite alternate; } @keyframes smoothText { 0% { letter-spacing: 0; } 50% { letter-spacing: 3px; } 100% { letter-spacing: 0; } } /* Responsive Styles */ @media screen and (max-width: 768px) { .container { padding: 30px 40px; } h1.title { font-size: 2.5rem; } textarea { width: 90%; height: 160px; } button { padding: 14px 28px; font-size: 1.4rem; } } /* Glow Text Animation */ .footer { position: fixed; bottom: 10px; /* Abstand vom unteren Rand */ width: 100%; text-align: center; font-family: 'Arial', sans-serif; } .glow { font-size: 12px; /* Kleine Schriftgröße */ font-weight: bold; color: #fff; text-shadow: 0 0 5px #fff, 0 0 10px #ff00ff, 0 0 15px #ff00ff, 0 0 20px #ff00ff, 0 0 25px #ff00ff; animation: glow-animation 1.5s ease-in-out infinite alternate; } /* Glow Animation */ @keyframes glow-animation { 0% { text-shadow: 0 0 5px #fff, 0 0 10px #ff00ff, 0 0 15px #ff00ff, 0 0 20px #ff00ff, 0 0 25px #ff00ff; } 50% { text-shadow: 0 0 10px #fff, 0 0 20px #ff00ff, 0 0 30px #ff00ff, 0 0 40px #ff00ff, 0 0 50px #ff00ff; } 100% { text-shadow: 0 0 15px #fff, 0 0 30px #ff00ff, 0 0 45px #ff00ff, 0 0 60px #ff00ff, 0 0 75px #ff00ff; } } /* Feedback */ /* Feedback-Button */ #feedback-container { position: fixed; bottom: 20px; right: 20px; z-index: 9999; } .feedback-button { background-color: #00c6ff; border: none; color: rgb(188, 0, 0); font-size: 1.5rem; padding: 15px; border-radius: 50%; cursor: pointer; box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4); transition: all 0.3s ease; animation: bounceIn 1s ease-out; } .feedback-button:hover { background-color: #0090c2; transform: scale(1.1); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); } @keyframes bounceIn { 0% { transform: scale(0.5); opacity: 0; } 60% { transform: scale(1.2); } 100% { transform: scale(1); opacity: 1; } } /* Modal Feedback-Form */ .feedback-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); justify-content: center; align-items: center; z-index: 10000; } .modal-content { background: #bd0000; padding: 30px; border-radius: 10px; width: 80%; max-width: 600px; animation: fadeInModal 0.5s ease; } @keyframes fadeInModal { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } } textarea { width: 100%; height: 150px; padding: 10px; border: 2px solid #ddd; border-radius: 8px; font-size: 1rem; margin-bottom: 20px; resize: none; } textarea:focus { outline: none; border-color: #00c6ff; } .submit-feedback, .close-feedback { background-color: #00c6ff; color: white; border: none; padding: 10px 20px; border-radius: 5px; cursor: pointer; transition: all 0.3s ease; } .submit-feedback:hover, .close-feedback:hover { background-color: #0090c2; } .close-feedback { background-color: #ff4c4c; } #feedback-button { transition: transform 0.3s ease; } /* Style für den Feedback-Button */ .feedback-button { position: center; bottom: 20px; right: 20px; background-color: #4CAF50; color: rgb(150, 85, 85); border: none; padding: 10px 20px; font-size: 18px; border-radius: 50px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); cursor: pointer; transition: background-color 0.3s ease, transform 0.2s ease; } .feedback-button:hover { background-color: #45a049; transform: scale(1.1); } /* Style für das Modal */ #feedback-modal { display: none; /* Standardmäßig ausgeblendet */ position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); justify-content: center; align-items: center; z-index: 10000; } /* Style für den Modal-Inhalt */ .modal-content { background: #000000; border-radius: 10px; padding: 20px; width: 400px; max-width: 90%; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); } h2 { margin-top: 0; font-family: 'Arial', sans-serif; color: #333; } textarea { width: 100%; height: 150px; border: 1px solid #00000000; border-radius: 5px; padding: 10px; font-size: 14px; margin-top: 10px; font-family: 'Arial', sans-serif; } button { background-color: #4CAF50; color: white; border: none; padding: 10px 20px; font-size: 16px; cursor: pointer; border-radius: 5px; margin-top: 10px; transition: background-color 0.3s ease, transform 0.2s ease; } button:hover { background-color: #45a049; transform: scale(1.05); } #close-feedback { background-color: #f44336; } #close-feedback:hover { background-color: #e53935; } /* Modal sichtbar machen */ #feedback-modal.show { display: flex; /* Zeigt das Modal an */ }