body {
    background-color: #B0E0B2;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #4CAF50;
    color: #fff;
    text-align: center;
    padding: 1em 0;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
}

.container {
    background-color: #f1ffea;
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin-bottom: 20px;
    gap: 20px;
}

.input-container, .options-container {
    width: 45%;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.input-container h2, .options-container h2 {
    margin-top: 0;
}

textarea, input[type="text"], input[type="number"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    box-sizing: border-box;
    font-size: 1rem;
}

.output-container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.recipe-button {
    position: relative;
    height: 50px;
    width: 175px;
    left: -22px;
    align-items: center;
    background-color: #4CAF50;
    border-radius: 12px;
    box-shadow: transparent 0 0 0 3px,rgba(18, 18, 18, .1) 0 6px 20px;
    box-sizing: border-box;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-family: Inter,sans-serif; 
    font-size: 1.2rem;
    font-weight: 700;
    justify-content: center;
    line-height: 1;
    margin: 0;
    outline: none;
    padding: 1rem 1.2rem;
    text-align: center;
    text-decoration: none;
    transition: box-shadow .2s,-webkit-box-shadow .2s; 
    white-space: nowrap;
    border: 0;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    scale: 0.75 
}

.recipe-button:hover {
    box-shadow: #121212 0 0 0 3px, transparent 0 0 0 0;
}

.recipe-button2 {
    width: 250px;
    align-items: center;
    background-color: #4CAF50;
    border-radius: 12px;
    box-shadow: transparent 0 0 0 3px, rgba(18, 18, 18, .1) 0 6px 20px;
    box-sizing: border-box;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    font-family: Inter, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    justify-content: center;
    line-height: 1;
    margin: 0;
    outline: none;
    padding: 1rem 1.2rem;
    text-align: center;
    text-decoration: none;
    transition: box-shadow .2s, -webkit-box-shadow .2s;
    white-space: nowrap;
    border: 0;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    scale: 0.75;
}

.recipe-button2:hover {
    box-shadow: #121212 0 0 0 3px, transparent 0 0 0 0;
}

/* Recipe form styles */
#recipe-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    background-color: #ffffff;
}

#recipe-form input, #recipe-form button {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#recipe-form button {
    background-color: #4CAF50;
    border: 1px solid #ccc;
    border: none;
    cursor: pointer;
}

#recipe-form button:hover {
    background-color: #45a049;
}

/* Response section styles */

.response-area h2 {
    margin-top: 0;
}

#response {
    white-space: pre-wrap;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Responsive styles */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .input-container, .options-container {
        width: 100%;
        margin-bottom: 20px;
    }
    .recipe-button, .recipe-button2 {
        width: 100%;
        left: 0;
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    header {
        font-size: 1.1em;
        padding: 0.5em 0;
    }
    main {
        margin: 10px;
    }
    .container {
        padding: 0 5px;
    }
    .input-container, .options-container {
        padding: 10px;
        font-size: 0.95rem;
    }
    textarea, input[type="text"], input[type="number"] {
        font-size: 0.95rem;
        padding: 8px;
    }
    .recipe-button, .recipe-button2 {
        font-size: 0.95rem;
        padding: 0.8rem 1rem;
        height: 40px;
    }
    .response-area h2 {
        font-size: 1.1rem;
    }
}
