.md-grid {
  max-width: 1440px;
}

.image-hover {
  position: relative;
  display: inline-block;
}

.image-hover span {
  visibility: hidden;
  width: 40vw;
  /* Optionally, set a maximum height */
  background-color: white;
  border: 1px solid #ddd;
  padding: 5px;
  text-align: center;
  border-radius: 5px;
  box-shadow: 0px 0px 5px rgba(0,0,0,0.2);
  position: absolute;
  z-index: 1;
  bottom: 150%; /* Adjust this value according to your needs */
  left: 50%;
  margin-left: -100px; /* Half of the width to center the image */
}

.image-hover span img {
  width: 100%; /* Scale image to fit */
}

.image-hover:hover span {
  visibility: visible;
}
