Spaces:
Running
Running
| body { | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| background: linear-gradient(to right bottom, #f8f3eb, #e4d4ae); | |
| margin: 0; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| justify-content: center; | |
| min-height: 100vh; | |
| } | |
| /* | |
| .header { | |
| background: linear-gradient(to right, #ffdb58, #ffaf00); | |
| color: #fff; | |
| padding: 5px; | |
| text-align: center; | |
| width: 100%; | |
| position: fixed; | |
| top: 0; | |
| height:60px; | |
| z-index: 1000; | |
| }*/ | |
| /* ... (unchanged styles) ... */ | |
| /* ... (unchanged styles) ... */ | |
| .header { | |
| background: linear-gradient(to right, #ffdb58, #ffaf00); | |
| color: #fff; | |
| padding: 5px; | |
| text-align: center; | |
| width: 100%; | |
| position: fixed; | |
| top: 0; | |
| height: 60px; | |
| z-index: 1000; | |
| display: flex; | |
| justify-content: space-between; /* Add space between logo and navbar */ | |
| align-items: center; | |
| } | |
| .logo { | |
| height: 50px; /* Set the height of the logo */ | |
| margin-left: 10px; /* Adjust the margin for spacing */ | |
| } | |
| .navbar { | |
| flex-grow: 1; /* Allow the navbar to take up remaining space */ | |
| } | |
| .navbar h1 { | |
| margin: 0; /* Remove default margin for h1 inside navbar */ | |
| text-align: center; /* Center the text within the navbar */ | |
| } | |
| /* ... (unchanged styles) ... */ | |
| .container { | |
| text-align: center; | |
| max-width: 400px; | |
| width:600px; | |
| padding: 20px; | |
| background-color: #dec3ba;; | |
| border-radius: 8px; | |
| box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | |
| margin-top: 80px; /* Adjusted to accommodate the fixed header */ | |
| margin-bottom: 70px; /* Adjusted to add space between content and footer */ | |
| animation: fadeIn 1s ease-in-out; | |
| } | |
| h1 { | |
| color: #333; | |
| } | |
| textarea { | |
| width: 75%; | |
| margin-bottom: 10px; | |
| padding: 8px; | |
| border: 1px solid #ddd; | |
| border-radius: 4px; | |
| transition: border-color 0.3s; | |
| } | |
| textarea:focus { | |
| border-color: #4caf50; | |
| } | |
| button { | |
| background-color: #4caf50; | |
| color: white; | |
| padding: 10px 15px; | |
| border: none; | |
| border-radius: 4px; | |
| cursor: pointer; | |
| transition: background-color 0.3s; | |
| } | |
| button:hover { | |
| background-color: #45a049; | |
| } | |
| #result { | |
| margin-top: 20px; | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| } | |
| #result.result-container { | |
| margin-top: 10px; /* Adjusted margin-top to add space between the result items and the textarea */ | |
| padding: 3px; /* Adjusted padding to decrease the height */ | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| } | |
| .result-item { | |
| background-color: #e0e0e0; | |
| border-radius: 4px; | |
| margin-bottom: 10px; | |
| padding: 10px; | |
| width: 100%; | |
| box-sizing: border-box; | |
| animation: fadeIn 0.5s ease-in-out; | |
| } | |
| .chart { | |
| margin-top: 20px; | |
| border-radius: 8px; | |
| box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); | |
| } | |
| .footer { | |
| background: linear-gradient(to right, #ffdb58, #ffaf00); | |
| color: #fff; | |
| padding: 7px; | |
| text-align: center; | |
| position: fixed; | |
| bottom: 0; | |
| width: 100%; | |
| animation: slideUp 0.8s ease-in-out; | |
| z-index: 1000; | |
| } | |
| @keyframes fadeIn { | |
| from { | |
| opacity: 0; | |
| } | |
| to { | |
| opacity: 1; | |
| } | |
| } | |
| @keyframes slideUp { | |
| from { | |
| transform: translateY(50px); | |
| opacity: 0; | |
| } | |
| to { | |
| transform: translateY(0); | |
| opacity: 1; | |
| } | |
| } | |