/* Base styles for mobile-first approach */
.wrapper {
    display: flex;
    flex-direction: column; /* Ensures a single-column layout on mobile */
    align-items: center; /* Centers the content */
    padding: 10px;
    width: 100%; /* Ensures the wrapper takes the full width */
}

.explanation-container, .calculator-container {
    width: 100%; /* Full width for mobile */
    padding: 20px; /* Consistent padding */
    box-sizing: border-box; /* Includes padding and border in the element's total width and height */
	background:#fff;
}

/* Adjustments for input fields and button to ensure they don't overflow their containers */
input[type="number"], button {
    width: calc(100% - 40px); /* Adjusts width to ensure padding is accounted for */
    margin: 10px 0; /* Adds margin above and below for spacing */
}

/* General body and element styling */
body {
    margin: 0;
    padding: 20px;
    background-color: #eeeeee;
    font-family: 'Roboto', sans-serif; /* Sets Roboto as the primary font, with a generic sans-serif as the fallback */
}

/* Styles for larger screens using a media query */
@media screen and (min-width: 992px) { /* Increased breakpoint for targeting desktops more specifically */
    .wrapper {
        flex-direction: row; /* Side-by-side layout for desktop */
        justify-content: space-between; /* Spaces the child elements within the container */
        align-items: flex-start; /* Aligns items at the start of the cross axis */
    }

    .explanation-container, .calculator-container {
        max-width: 49%; /* Adjusts the max-width for a two-column layout */
        margin: 0; /* Resets margin */
    }
}

/* Rest of the styles (h2, label, input[type="number"], button, h3, p, span) remain unchanged */

.calculator-container{
	background:#fff;}


h2 {
    color: #333;
}

label {
    display: block;
    margin-top: 20px;
    color: #333;
}

input[type="number"] {
    width: 100%;
    padding: 20px;
	font-size:26px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ddd;
    box-sizing: border-box; /* Makes sure the padding doesn't affect the total width */
}

button {
    width: 100%;
    padding: 10px;
    margin-top: 20px;
    background-color: #42b198;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 30px;
}

@media screen and (min-width: 992px) {
    /* For desktop, you can adjust the input size back if needed, or keep them consistent */
    input[type="number"], button {
        padding: 10px; /* Resets padding for desktop if desired */
        font-size: 16px; /* Resets font size for desktop if desired */
    }
}

button:hover {
    background-color: #004494;
}

.explanation-container{
	line-height:1.5em;}

h3 {
    margin-top: 30px;
    color: #333;
}
.logo{
	width:100px;
	height:auto;
	margin-right:15px;
	}
p {
    background-color: #eeeeee;
    padding: 10px;
/*    border-radius: 5px; */
    border-left: 5px solid #42b198;
}

span {
    font-weight: bold;
}
