::-webkit-scrollbar {
  width: 4px;
}

/* Track */
::-webkit-scrollbar-track {
  background: lightgrey;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: black;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: black;
}

.gallerysize {
  width: "100%";
}

.banner-image {
  position: relative;
}

.banner-image img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
}
.banner-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  word-spacing: 4px;
  z-index: 2;
  color: white;
  font-size: 1rem;
  font-family: fantasy;
  font-weight: 400;
  width: 100%;
  text-align: center;
  line-height: 1.5;
  padding: 0 1rem;
}
.gallery-container {
    padding-bottom: 6rem;
}

.card-single-container {
  height: 100%;
  overflow: hidden;
  position: relative;
}

.card-single-container:hover .image-text-wrapper {
  left: 0;
}

.image-text-wrapper {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  padding: 1rem 1rem 1rem 0;
  transition: left 0.3s ease-in-out;
}

.card-single-container img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.card-single-container img.position-top-left {
  object-position: top left;
}

.image-text-container {
  background: rgba(0,0,0,0.7);
  height: 100%;
  width: 100%;
  position: relative;
}

.image-text {
  position: absolute;
  bottom: 1.5rem;
  left: calc(210% + 1.5rem);
  width: calc(100% - 1.5rem);
  height: fit-content;
  transition: left 0.3s ease-in-out;
}

.card-single-container:hover .image-text {
  left: 1.5rem;
}

.small-text {
  color: white;
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.medium-text {
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 0;
}

@media (min-width: 576px) {
    .banner-title {
        font-size: 1.1rem;
    }
}

@media (min-width: 768px) {
    .banner-image img {
       min-height: unset;
       max-height: 250px;
    }
    .banner-title {
      font-size: 1.6rem;
    }
    .gallery-container {
      padding-top: 2rem;
    }
}

@media (min-width: 992px) {
    .banner-title {
      font-size: 3rem;
    }
}

