diff --git a/index.html b/index.html index d898c78..605dee5 100644 --- a/index.html +++ b/index.html @@ -7,32 +7,17 @@ -

Sleep Calculator

- - - -
- +
+

Sleep Calculator

+
+ + + +
+ +
+
- - diff --git a/sleep.css b/sleep.css index 0bf2337..6d5d10e 100644 --- a/sleep.css +++ b/sleep.css @@ -1,35 +1,64 @@ body { - font-family: Arial, sans-serif; - text-align: center; + font-family: 'Arial', sans-serif; + background-color: #f7f7f7; + margin: 0; + padding: 0; + display: flex; + justify-content: center; + align-items: center; + height: 100vh; + } + + .container { + max-width: 400px; + width: 100%; + padding: 20px; + background-color: #fff; + border-radius: 10px; + box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); } - h1 { + .app-title { + text-align: center; + margin-bottom: 20px; color: #333; } + .calculator { + display: flex; + flex-direction: column; + } + label { - display: block; + color: #666; + margin-bottom: 10px; + } + + input[type="time"] { + padding: 10px; + border: 1px solid #ccc; + border-radius: 5px; margin-bottom: 10px; } - button { + .calculate-button, .premium-button { background-color: #007bff; color: #fff; padding: 10px 20px; border: none; border-radius: 5px; cursor: pointer; + margin-top: 10px; } - button:hover { + .calculate-button:hover, .premium-button:hover { background-color: #0056b3; } - #result { + .result { margin-top: 20px; - } - .dark-theme { - background-color: #333; - color: #fff; + text-align: center; + font-size: 18px; + color: #333; } \ No newline at end of file