/* styles-inflate2.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    background-color: #f0f8ff;
    color: #333;
}

header {
    background-color: #0077b6;
    color: white;
    padding: 20px 0;
}

h1 {
    margin: 0;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
}

nav a:hover {
    text-decoration: underline;
}

main {
    margin: 20px;
}

.calculator {
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 20px;
    margin: 20px auto;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
    text-align: left;
}

input {
    width: calc(100% - 20px); /* Add padding adjustment */
    margin: 10px 0;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-align: center; /* Centers text inside inputs */
}

button {
    background-color: #00b4d8;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0077b6;
}

#result {
    margin-top: 20px;
    font-size: 18px;
    color: #0077b6;
}

#colorButton {
    background-color: #00b4d8;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin-top: 20px; /* Adds spacing between elements */
}

#colorButton:hover {
    background-color: #0077b6;
}

#colorButton:active {
    background-color: #999;
}

table {
    margin: 20px auto; /* Centers the table */
    border-collapse: collapse;
    width: 80%; /* Adjusts the table width */
    max-width: 600px; /* Sets a maximum width for the table */
    font-size: 0.8em; /* Reduces the font size by 50% */
    text-align: center;
}

th, td {
    border: 1px solid #ccc; /* Adds a border to table cells */
    padding: 5px; /* Reduces padding for smaller cells */
}

th {
    background-color: #0077b6; /* Blue background for table headers */
    color: white; /* White text for table headers */
}

td {
    background-color: #f9f9f9; /* Light gray background for table cells */
}


footer {
    margin-top: 20px;
    padding: 10px 0;
    background-color: #ddd;
    color: #555;
  }