.image-container {
    /* Flex display allows for the hover effect */
    display: flex;
    flex-direction: column;
    /* take up full parent width */
    width: 100%;
    /* height: 300px; Full viewport height */
    /* Show border radius by hiding overflow */
    /* overflow: hidden;
    border-radius: 5px; */
  }
  
  .expandable-image {
    /* */
    flex: 1;
    transition: flex-basis 0.3s ease;
  }

  .expandable-image img{
    /* min-height: 100% !important; */
    /* width: auto; */
    width: 100%;
    height: 150px;
    border-radius: 0px;
    max-width: none; 
    object-fit: cover;
  }
  
  /* .expandable-image:hover {
    flex-basis: 50%;
    object-fit: cover;
  } */

  @media screen and (min-width:31.25em) {
    .image-container{
      flex-direction: row;
      height: 300px; /* Full viewport height */
      overflow: hidden;
      border-radius: 5px;
    }  
    .expandable-image {
      height: 300px;
      width: 100px;
    }
    .expandable-image img{
      /* min-height: 100% !important; */
      /* width: auto; */
      height: 300px;
    }
    .expandable-image:hover {
      flex-basis: 24%; /* Adjust this value to control max width on hover */
      object-fit: cover;
    }
  }