Spaces:
Running
Running
| body { | |
| font-family: 'Segoe UI', Tahoma, sans-serif; | |
| background: linear-gradient(120deg, #f2f4f7, #e6f0ff); | |
| margin: 0; | |
| padding: 0; | |
| color: #333; | |
| } | |
| .container { | |
| max-width: 720px; | |
| margin: 60px auto; | |
| background: #ffffff; | |
| padding: 50px 40px; | |
| border-radius: 12px; | |
| box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05); | |
| transition: transform 0.2s ease; | |
| } | |
| .container:hover { | |
| transform: scale(1.01); | |
| } | |
| h1 { | |
| text-align: center; | |
| color: #2c3e50; | |
| font-size: 32px; | |
| margin-bottom: 35px; | |
| font-weight: 600; | |
| } | |
| form { | |
| display: flex; | |
| justify-content: center; | |
| gap: 10px; | |
| margin-bottom: 30px; | |
| } | |
| input[type="text"] { | |
| flex: 1; | |
| padding: 14px 18px; | |
| font-size: 16px; | |
| border: 1.5px solid #d0d7e2; | |
| border-radius: 8px; | |
| background-color: #f9fbff; | |
| transition: border-color 0.3s ease, box-shadow 0.3s ease; | |
| } | |
| input[type="text"]:focus { | |
| border-color: #5c9ded; | |
| outline: none; | |
| box-shadow: 0 0 6px rgba(92, 157, 237, 0.4); | |
| } | |
| button { | |
| padding: 14px 22px; | |
| background-color: #5c9ded; | |
| color: white; | |
| border: none; | |
| font-size: 16px; | |
| font-weight: 500; | |
| border-radius: 8px; | |
| cursor: pointer; | |
| transition: background-color 0.3s ease, transform 0.2s ease; | |
| } | |
| button:hover { | |
| background-color: #3b7bd9; | |
| transform: scale(1.03); | |
| } | |
| .result { | |
| background: #eef6ff; | |
| padding: 25px; | |
| border-radius: 10px; | |
| font-size: 17px; | |
| line-height: 1.7; | |
| color: #2d3b45; | |
| border-left: 5px solid #5c9ded; | |
| } |