/* allstyles.css */

/* Apply a smooth gradient background to the entire page */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #ff7e5f, #feb47b);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    color: #333;
}

/* Main container styling */
.main-container {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 400px;
    text-align: center;
}

/* Header styling */
h1 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

/* Input and button styling */
input[type="number"],
input[type="submit"] {
    font-size: 18px;
    padding: 10px;
    width: 100%;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
}

input[type="submit"] {
    background-color: #ff7e5f;
    color: #fff;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #feb47b;
}

/* Output section styling */
.output {
    margin-top: 20px;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Paragraph styling within the output */
.output p {
    font-size: 16px;
    margin: 20px 5px;
}

/* Responsive layout adjustments */
@media (max-width: 600px) {
    .main-container {
        padding: 15px;
        width: 95%;
    }

    h1 {
        font-size: 20px;
    }

    input[type="number"],
    input[type="submit"] {
        font-size: 16px;
    }

    .output p {
        font-size: 14px;
    }
}
