* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: left;
    margin-bottom: 40px;
    font-size: 2.5rem;
    font-weight: normal;
    color: #333;
}

/* Box Layout Container */
.box-layout {
    display: flex;
    align-items: stretch; /* Makes all boxes equal height */
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
}

/* Individual Box Styling */
.box {
    background-color: #f4f3f3;
    padding: 30px;
    flex: 1;
    min-width: 0; /* Allows boxes to shrink below content size */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.box#result {
    background-color: #c8e6a8;
}

.box h2 {
    font-size: 1.5rem;
    font-weight: normal;
    color: #333;
}

.box p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* Separator (=) Styling */
.separator {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    padding: 0 20px;
    flex-shrink: 0; /* Prevents separator from shrinking */
    width: 80px; /* Fixed width for consistent spacing */
}

/* Info Section */
.info-section {
    background-color: #f5f5f5;
    border-radius: 15px;
    padding: 25px;
    line-height: 1.6;
}

.info-section p {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #666;
}

.info-section p:last-child {
    margin-bottom: 0;
}

.info-section strong {
    color: #333;
}

/* Responsive: Stack vertically on narrow screens */
@media (max-width: 800px) {
    .box-layout {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .separator {
        padding: 10px 0;
        width: 100%; /* Full width in vertical layout */
        height: 80px;
        transform: none; /* Keep = sign upright in vertical layout */
    }

    .box {
        width: 100%;
    }
}

/* Additional responsive adjustments for very small screens */
@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .box {
        padding: 20px;
    }

    .box h2 {
        font-size: 1.3rem;
    }

    .container {
        padding: 15px;
    }
}
