/* styles.css */
body {
    font-family: 'Arial', sans-serif;
    background-color: #e0f7fa;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh; /* Minimum viewport height */
}

header {
    background-color: #12BB90;
    color: white;
    width: 100%;
    padding: 20px 0;
    text-align: center;
}

.calculator, .article {
    width: 100%;
    max-width: 800px; /* Adjust max-width as needed */
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    text-align: left;
    margin-bottom: 20px; /* Adjust spacing */
}

.article h2, .article h3 {
    color: #00796b; /* Heading color */
}

.calculator {
    margin-bottom: 20px; /* Adjust spacing between calculator and article */
}

.note {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.note-box {
    background-color: #ffecb3;
    border: 1px solid #ffb300;
    border-radius: 8px;
    padding: 15px;
}

.note-box p {
    margin: 0;
    font-size: 0.9em;
}

h1 {
    margin: 0;
    font-size: 1.5em;
}

input, button {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    box-sizing: border-box;
    border-radius: 4px;
    border: 1px solid #ccc;
}
input[type="number"] {
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    box-sizing: border-box;
    border: 2px solid #ccc;
    border-radius: 6px;
    font-size: 1.2em; /* Increase font size */
    font-weight: bold; /* Make text bold */
}
button {
    background-color: #12BB90;
    color: rgb(255, 255, 255);
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1em;
    font-weight: bold;
}

button:hover {
    background-color: rgb(0, 59, 50);
}

#result, #intermediateResult, #resistance, #support {
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: bold;
}

#resistance {
    color: #388e3c;
}

#support {
    color: #d32f2f;
}
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
}
/* styles.css */

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

/* Responsive Layout */
@media (max-width: 768px) {
    .calculator, .article {
        max-width: 90%;
    }
}
