/* .hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
} */

.slider {
    display: flex;
    /* width: 200vw;  */
    min-height: 100vh;
    transition: transform 1s ease-in-out;
    /* overflow: hidden; */
}

.slide {
    padding: 150px 50px 100px 50px;
    display:flex;
    align-items:center;
    justify-content: center;
    position: relative;
    width: 100vw;
    height: 100%;
    flex-shrink: 0;
    overflow: hidden;
     /* background: linear-gradient(
        to right,
        rgba(232, 225, 214, 1),
        rgba(232, 225, 214, 0.5)
      ),
      url('../images/farmland.jpg')
      center/cover no-repeat;

    animation: zoomInOut 5s ease-in-out infinite alternate;

    border: 3px solid red; */
}


@keyframes zoomInOut {
    0% {
      transform: scale(1);
    }

    100% {
      transform: scale(1.08);
    }
  }


.background_image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 5s ease;
}

.slide.active .background_image {
    transform: scale(1.08);
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
}

 @media(max-width:600px){    
    .slide {
    padding: 150px 20px 100px 20px;
    }
}