body {
    margin: 0;
    font-family: Arial, sans-serif;
}

.body-paragraph {
    background: linear-gradient(to right, #00e6c3, #a2f3c5);
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #012F6D;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    margin: 35px 0;
    margin-top:15px;
}


.find-jobs-button {
    display: inline-block;
    background-color: #2a4bff;
    color: white;
    text-decoration: none;
    padding: 10px 40px;
    font-weight: bold;
    font-size: 14px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

    .find-jobs-button:hover {
        background-color: #fff;
        text-decoration:none;
    }

/* Medium Devices (iPads, tablets) */
@media (max-width: 1024px) {
    .body-paragraph {
        font-size: 13.5px;
        padding: 12px 16px;
    }

    .find-jobs-button {
        font-size: 13.5px;
        padding: 9px 18px;
    }
}


/* Small Laptops */
@media (max-width: 768px) {
    .body-paragraph {
        font-size: 13px;
        padding: 12px;
        flex-direction: row; /* align text and button in a row */
        flex-wrap: wrap; /* wrap if screen gets too tight */
        gap: 10px;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .find-jobs-button {
        font-size: 13px;
        margin: 0; /* remove extra spacing */
        padding: 9px 18px;
    }
}


/* Phones - minimize height and spacing */
@media (max-width: 480px) {
    .body-paragraph {
        font-size: 12.5px;
        padding: 6px 10px;
        flex-direction: column;
        gap: 4px; /* tighter spacing between text and button */
        line-height: 1.2;
    }

    .find-jobs-button {
        font-size: 12.5px;
        padding: 6px 12px;
        margin-top: 2px;
    }
    .body-paragraph {
        margin: 10px 0;
    }
}
