/* Shadows for videos 

.videoShadow{
  -webkit-box-shadow: 0px 4px 32px rgba(14, 28, 61, 0.3);
  -moz-box-shadow: 0px 4px 32px rgba(14, 28, 61, 0.3);
  box-shadow: 0px 4px 32px rgba(14, 28, 61, 0.3);
}*/

.imageShadowSoft {
  -moz-box-shadow-webkit-box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
}

.grey-background-heading {
    display: inline-block; /* Ensure the background only takes the width of the content */
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px 20px;
}

.image-overlay {
  position: relative;
}

.image-overlay::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%; /* Adjust this value to control the height of the overlay */
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5)); /* Adjust the color and transparency */
}

/* Hide the element on screens larger than 767px */
@media only screen and (min-width: 768px) {
  .mobile-only {
    display: none !important;
  }
}

/* Element is hidden on screens smaller than 768px and larger than 1000px */
@media screen and (max-width: 300px), (min-width: 1001px) {
  .hideExceptOnMediumScreens {
    display: none;
  }
}

/* Element is visible on screens between 768px and 1000px */
@media screen and (min-width: 300px) and (max-width: 1000px) {
  .showOnlyOnMediumScreens {
    display: block; /* Or display: inline-block; depending on your needs */
  }
}