.buttondiv{
    height: 91vh;
    background: url('./../images/bg_1.jpg') no-repeat;
    background-size: cover;
  }
  .buttondiv{
    display: flex; gap: 2rem; justify-content: center; width: 100%;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    /* margin: 30% 40%; */
    /* height: 40vh; */
  }

  .but {
    background-color: rgba(25, 191, 19, 0.8); color: white; border: none;
            border-radius: 0.6rem; font-size: 4rem; padding: 2rem 6rem;
            transition: all 0.5s;
  }

  .hover {
    transition: all 0.2s;
    cursor: pointer;
  }

  .hover:hover {
    box-shadow: 0px 1px 7px #19bf13;
    color: #19bf13;
    background-color: white;
  }

  #data-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        padding: 20px;
        height: 100%;
    }

    #data-container div {
        border: 1px solid #ccc;
        border-radius: 0.5rem;
        padding: 16px;
        width: calc(25% - 20px); /* 4 cards per line */
        margin-bottom: 20px;
        box-sizing: border-box;
        height: 40rem;
        cursor: pointer;
        transition: all 0.5s;
    }

    /* #div-container div:hover{
        box-shadow: 1px 2px 7px rgba(25, 191, 19, 0.8);
    } */

    #data-container div img {
        width: 100%;
        height: 20rem;
        object-fit: contain;
        border-radius: 0.5rem;
        margin-bottom: 1rem;
    }

    #data-container div h2 {
        font-size: 1.8rem;
        color: #19bf13;
        font-weight: bold;
        background-color: white;
        /* border: 1px solid #19bf13; */
        border-radius: 0.5rem;
        text-align: center;
        font-family: Arial, sans-serif;
        margin-bottom: 0.8rem;
        margin-top: -1rem;
    }

    #data-container div p {
        font-size: 1.2rem;
        margin-bottom: 5px;
        color: black;
    }

    #data-container div .price {
        font-weight: 600;
        color: #333;
        font-size: 1.6rem;
    }

    #data-container div .location {
        font-size: 1.2rem;
        color: navy;
        text-align: center;
    }

    #data-container div .contact {
        font-size: 1.2rem;
        color: navy;
        text-align: center;
    }

/* material price weight contact location */


.farmer-heading {
    font-size: 3rem;
    text-align: center;
    margin-top: 4rem;
    margin-bottom: 2rem;
    color: white;
    background-color: #19bf13;
    padding: 1rem auto;
    
}