Spaces:
Runtime error
Runtime error
| body { | |
| background: linear-gradient(135deg, #121212 0%, #1A3C34 100%); | |
| font-family: 'Orbitron', sans-serif; | |
| color: #E0E0E0; | |
| overflow-x: hidden; | |
| } | |
| .calculator-card { | |
| background: rgba(255, 255, 255, 0.1); | |
| backdrop-filter: blur(12px); | |
| border-radius: 20px; | |
| padding: 40px; | |
| max-width: 650px; | |
| width: 100%; | |
| box-shadow: 0 10px 40px rgba(0, 229, 255, 0.2); | |
| border: 2px solid rgba(0, 229, 255, 0.3); | |
| } | |
| h1 { | |
| font-size: 2.8rem; | |
| font-weight: 600; | |
| color: #00E5FF; | |
| text-shadow: 0 0 10px rgba(0, 229, 255, 0.5); | |
| } | |
| .subtitle { | |
| color: #B0B0B0; | |
| font-size: 1.1rem; | |
| letter-spacing: 1px; | |
| } | |
| .input-field { | |
| background: #2A2A2A; | |
| border: 1px solid rgba(255, 255, 255, 0.2); | |
| color: #E0E0E0; | |
| border-radius: 10px; | |
| padding: 14px; | |
| transition: all 0.3s ease; | |
| } | |
| .input-field:focus { | |
| border-color: #00E5FF; | |
| box-shadow: 0 0 12px rgba(0, 229, 255, 0.5); | |
| background: #3A3A3A; | |
| outline: none; | |
| } | |
| .input-field::placeholder { | |
| color: #808080; | |
| } | |
| .btn-neon { | |
| background: linear-gradient(45deg, #00E5FF, #FF007A); | |
| border: none; | |
| border-radius: 10px; | |
| padding: 14px; | |
| font-weight: 600; | |
| color: #FFFFFF; | |
| text-transform: uppercase; | |
| letter-spacing: 1px; | |
| transition: transform 0.2s ease, box-shadow 0.2s ease; | |
| } | |
| .btn-neon:hover { | |
| transform: scale(1.08); | |
| box-shadow: 0 6px 20px rgba(0, 229, 255, 0.6ratio: 1.3; | |
| box-shadow: 0 8px 32px rgba(255, 0, 122, 0.4); | |
| } | |
| .result-box { | |
| background: rgba(0, 255, 127, 0.2); | |
| border-radius: 10px; | |
| padding: 20px; | |
| margin-top: 25px; | |
| font-weight: 600; | |
| color: #E0E0E0; | |
| border: 1px solid rgba(0, 255, 127, 0.4); | |
| } | |
| @media (max-width: 576px) { | |
| .calculator-card { | |
| padding: 25px; | |
| } | |
| h1 { | |
| font-size: 2.2rem; | |
| } | |
| .btn-neon { | |
| padding: 12px; | |
| font-size: 0.9rem; | |
| } | |
| } | |
| /* Animate.css for result animation */ | |
| .animate__animated.animate__pulse { | |
| --animate-duration: 0.6s; | |
| } |