body {
    font-family: Arial, sans-serif;
    margin: 0px;
    background: linear-gradient(135deg, #cfdaff, #ced9ff); /* Gradient background */
overflow-x: hidden;
}



.intro {
font-size: 20px;
margin-left: 280px;
margin-right: 280px;
text-align: center;
margin-bottom: 10px;
line-height: 1.5;
margin-bottom: 20px;
}

p {
    text-align: center;
    font-size: 23px;
    margin-top: 20px;
}

input::placeholder {
    font-size: 17px; /* Adjust the size as needed */
    color: #888; /* Optional: change the color of the placeholder */
    opacity: 1; /* Ensure the placeholder is fully opaque */
}

h1 {
    font-size: 38px;
    color: #1c0078;
    text-align: center; /* Centered headings */
    font-weight: bold;
}

h2 {
color: #100061;
margin-top: px;
margin-bottom: 5px;

}

.budget-input {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    margin-left: 200px;
    margin-right: 200px;
}

.inputintro {
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 22px;
}

.needs-column {
    width: 30%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: #eae6ff;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
}

.wants-column, .savings-column {
    width: 30%;
    height: 520px; /* Adjust to a smaller height */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background-color: #eae6ff;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 30px;
}


.needs-column:hover, .wants-column:hover, .savings-column:hover {
    transform: scale(1.02); /* Slight zoom on hover */
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15); /* Enhanced shadow on hover */
}

.expense-item {
    margin: 10px 0;
    width: 100%; /* Full width for expense items */
    text-align: center; /* Center text for labels */
}

.income-label {
    display: inline-block;
    margin-bottom: 10px;
    text-align: center;
    font-size: 23px;
    background-color: rgb(240, 242, 255);
    padding: 5px;
    border-radius: 5px;
    color: #333;
    box-sizing: border-box;
    display: block;
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
}

label {
    margin-bottom: 10px;
    text-align: center;
    background-color: rgb(240, 242, 255);
    padding: 5px;
    border-radius: 5px;
    color: #333;
    box-sizing: border-box;
    display: block;
    margin-bottom: 10px;
    text-align: center;
    font-size: 20px;
}

input {
    font-size: 18px; /* Adjust the size as needed */
    padding: 15px; /* Optional: padding for better spacing */
    border: 1px solid #ccc; /* Optional: border style */
    border-radius: 4px; /* Optional: rounded corners */
}

input[type="number"] {
    width: 60%; /* Set width to a percentage for a smaller input field */
    max-width: 200px; /* Max width to prevent it from being too large */
    padding: 15px; /* Padding for input */
    border: 1px solid #1d00ad;
    border-radius: 4px;
    transition: border-color 0.3s; /* Transition effect for focus */
    display: block; /* Block display for centering */
    margin: 0 auto; /* Center input fields */
    margin-bottom: 0px;
}

input[type="number"]:focus {
    border-color: #8c7fff; /* Change border color on focus */
    outline: none; /* Remove default outline */
}



button {
    padding: 18px 18px;
    background-color: #0037ff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 22px; /* Larger font size */
    transition: background-color 0.3s, transform 0.2s; /* Transition effect */
    display: block; /* Change to block for centering */
    margin: 20px auto; /* Center the button */
    margin-top: -80px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4); /* Subtle shadow for depth */

}

button:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: scale(1.05); /* Slight zoom on hover */
}

.results-display {
    margin-top: 20px;
    text-align: center;
    background-color: #ffffff;
    padding: 15px;
    padding-bottom: 5px;
    padding-top: 5px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 1000px; /* Adjust width as needed */
    margin-left: auto; /* Center-align */
    margin-right: auto; /* Center-align */
    color: #000000;
}

.results-display h2 {
    color: #190396;
}


.results-table {
    width: 100%; /* Keep the table width to fill its container */
    max-width: 1035px; /* Slightly narrower than .results-display */
    border-collapse: collapse;
    margin-top: 20px;
    margin-left: auto; /* Center-align */
    margin-right: auto; /* Center-align */
    font-size: 20px;
}

/* Style the header with a blue background and white text */
.results-table th {
    background-color: #192ac3;
    color: white;
    border: 1px solid #ddd;
    padding: 20px;
    text-align: left;
}

/* Style all rows in the table body with a white background and dark text */
.results-table td {
    background-color: #ffffff;
    color: #333;
    border: 1px solid #ddd;
    padding: 20px;
    text-align: left;
}

/* Remove any alternating row colors and hover effects to keep rows white */
.results-table tr:hover, .results-table tr:nth-child(even) {
    background-color: #ffffff;
}

/* General styles */
section {
    margin-top: 50px;
    margin-left: 230px;
    margin-right: 230px;
    padding-left: 80px;
    padding-right: 80px;
    padding-top: 10px;
    margin-bottom: 4vh;
    background-color: #f9f9f9;
    border-radius: 12px;
    padding-bottom: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4); /* Subtle shadow for depth */
    border: 1px solid #ddd; /* Light border to define the section */

}

strong {
    font-size: 18px;
}

h4 {
    font-size: 28px;
    color: #1900ff;
    margin-bottom: 10px;
    text-align: center;
}

h3 {
    font-size: 32px;
    text-align: center;
    color: #0037ff;
}

h2 {
    font-size: 30px;
    color: #6600ff;
    margin-top: 20px;
    text-align: center;
}

#article-section {
    padding-bottom: 2vh
}

#article-section p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 0px;
    text-align: left;
}

#padding {
    padding-left: 40px;
}
/* Style the ordered and unordered lists */
#article-section ol, #article-section ul {
    padding-left: 50px;
    margin-top: 10px;
    line-height: 1.8;
}

#margin-top {
    margin-top: 15px;
}

strong {
    font-weight: bold;
}

/* Section specific styles */
#article-section section ul {
    margin-top: 10px;
}

/* Styling nested items (example lists inside Needs, Wants, Savings/Debt) */
#article-section ul ul li {
    font-weight: normal;
    margin-bottom: 5px;
}

 .hamburger {
    display: none; /* Hidden by default on desktop */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    margin-left: 20px;
 }
 
 .hamburger span {
    width: 30px;
    height: 5px;
    background-color: #fff;
    border-radius: 5px;
 }

/* Mobile Styles for 430px width and below */
@media screen and (max-width: 1020px) {
    body {
        font-size: 16px; /* Adjust base font size */
    }

    .intro {
        margin-left: 30px;
        margin-right: 30px;
        line-height: 1.7;
        font-size: 1.2rem;
        text-align: left;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 26px;
    }

    h4 {
        font-size: 22px;
    }

    p {
        font-size: 1.2rem;
        margin-left: 15px;
        margin-right: 15px;
    }

    .budget-input {
        flex-direction: column;
        margin-left: 20px;
        margin-right: 20px;
    }

    .needs-column,
    .wants-column,
    .savings-column {
        width: 90%;
        margin: 10px auto;
        height: auto; /* Remove fixed height for better responsiveness */
        padding: 15px;
    }

    input {
        font-size: 16px;
        padding: 10px;
    }

    input[type="number"] {
        width: 80%;
        max-width: 100%;
    }

    button {
        font-size: 1.3rem;
        padding: 12px;
        margin-top: 10px;
    }

    .results-display {
        max-width: 95%;
        padding: 10px;
    }

    .results-table {
        font-size: 1.2rem;
        max-width: 95%;
    }

    #article-section {
margin-bottom: 3vh;
width: 90vw;
padding: 0vh 4vw;
padding-bottom: 3vh;
margin: 4vh auto;
    }

    #article-section p {
        font-size: 1.2rem;
        line-height: 1.6;
    }

    #article-section ol,
    #article-section ul {
        font-size: 1.2rem;

        padding-left: 20px;
    }

    /* Show the hamburger menu for mobile */
    .hamburger {
        display: flex;
    }
}