Spaces:
Running
Running
| body { | |
| font-family: sans-serif; | |
| margin: 20px; | |
| background-color: #f4f4f4; | |
| display: flex; | |
| justify-content: center; | |
| align-items: center; | |
| min-height: 100vh; | |
| } | |
| .container { | |
| background-color: #fff; | |
| padding: 30px; | |
| border-radius: 8px; | |
| box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | |
| width: 80%; | |
| max-width: 700px; | |
| } | |
| h1, h2 { | |
| text-align: center; | |
| color: #333; | |
| } | |
| p { | |
| line-height: 1.6; | |
| color: #555; | |
| } | |
| textarea { | |
| width: 100%; | |
| padding: 10px; | |
| margin-bottom: 15px; | |
| border: 1px solid #ccc; | |
| border-radius: 4px; | |
| box-sizing: border-box; | |
| font-size: 16px; | |
| } | |
| button { | |
| background-color: #007bff; | |
| color: white; | |
| padding: 10px 20px; | |
| border: none; | |
| border-radius: 4px; | |
| cursor: pointer; | |
| font-size: 18px; | |
| transition: background-color 0.3s ease; | |
| display: block; | |
| margin: 15px auto; | |
| } | |
| button:hover { | |
| background-color: #0056b3; | |
| } | |
| .result-box { | |
| margin-top: 20px; | |
| padding: 15px; | |
| border: 1px solid #ddd; | |
| border-radius: 4px; | |
| background-color: #f9f9f9; | |
| } | |
| #resultText { | |
| font-weight: bold; | |
| color: #333; | |
| } |