Changed around line 1
+ :root {
+ --primary-color: #4CAF50;
+ --secondary-color: #45a049;
+ --background-color: #f4f4f4;
+ --text-color: #333;
+ --button-color: #e0e0e0;
+ --button-hover: #ccc;
+ }
+
+ body {
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
+ margin: 0;
+ padding: 0;
+ background-color: var(--background-color);
+ color: var(--text-color);
+ line-height: 1.6;
+ }
+
+ header {
+ background-color: var(--primary-color);
+ color: white;
+ padding: 2rem;
+ text-align: center;
+ }
+
+ main {
+ max-width: 800px;
+ margin: 2rem auto;
+ padding: 0 1rem;
+ }
+
+ #calculator {
+ background: white;
+ padding: 2rem;
+ border-radius: 8px;
+ box-shadow: 0 2px 5px rgba(0,0,0,0.1);
+ margin-bottom: 2rem;
+ }
+
+ .display input {
+ width: 100%;
+ padding: 1rem;
+ font-size: 1.5rem;
+ text-align: right;
+ border: 1px solid var(--button-color);
+ border-radius: 4px;
+ margin-bottom: 1rem;
+ }
+
+ .buttons {
+ display: grid;
+ grid-template-columns: repeat(4, 1fr);
+ gap: 1rem;
+ }
+
+ .buttons button {
+ padding: 1.5rem;
+ font-size: 1.2rem;
+ border: none;
+ border-radius: 4px;
+ background-color: var(--button-color);
+ cursor: pointer;
+ transition: background-color 0.3s;
+ }
+
+ .buttons button:hover {
+ background-color: var(--button-hover);
+ }
+
+ #storage {
+ background: white;
+ padding: 2rem;
+ border-radius: 8px;
+ box-shadow: 0 2px 5px rgba(0,0,0,0.1);
+ }
+
+ .storage-controls {
+ display: flex;
+ gap: 1rem;
+ margin-bottom: 1rem;
+ }
+
+ .storage-controls input {
+ flex: 1;
+ padding: 0.5rem;
+ border: 1px solid var(--button-color);
+ border-radius: 4px;
+ }
+
+ .storage-controls button {
+ padding: 0.5rem 1rem;
+ background-color: var(--primary-color);
+ color: white;
+ border: none;
+ border-radius: 4px;
+ cursor: pointer;
+ transition: background-color 0.3s;
+ }
+
+ .storage-controls button:hover {
+ background-color: var(--secondary-color);
+ }
+
+ #storedVariables {
+ background: var(--background-color);
+ padding: 1rem;
+ border-radius: 4px;
+ min-height: 50px;
+ }
+
+ footer {
+ text-align: center;
+ padding: 1rem;
+ background-color: var(--primary-color);
+ color: white;
+ margin-top: 2rem;
+ }
+
+ @media (max-width: 600px) {
+ .buttons {
+ grid-template-columns: repeat(3, 1fr);
+ }
+ }