html {
  overflow: hidden;
}

::-webkit-scrollbar {
  display: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* overflow: hidden; */
  }

  body{
    width: 100%;
    height: 100%;
    background: black;
  }
  
  .body {
    width: 100%;
    height: auto;
    display: grid;
    place-items: center;
    background-color: black;
  }
  
  .gallery {
    padding-top: 10vh;
    padding-bottom: 10vh;
    width: 90vw;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    grid-auto-rows: 200px;
    gap: 0.25rem;
  
    & img {
      width: 100%;
      height: 100%;
      object-fit: cover;
  
     /*&:not(.hero) {
        cursor: pointer;
      }*/
    }
  
    & .hero {
      grid-column: span 2;
      grid-row: span 2;
    }
  }

  .white-text{
    color: white;
  }

  .custom-nav{
    background: rgba(0, 0, 0, 0.87) !important;
  }

  .details-link, .details-link-out{
    cursor: pointer;
  }

  .img-hover-zoom {
    /* height: 300px;  */
    height: auto;
    overflow: hidden; 
  }

.img-hover-zoom--slowmo img { 
  /* transform-origin: 50% 65%; */
  transition: transform 5s, filter 3s ease-in-out;
  filter: brightness(100%);
}

.img-hover-zoom--slowmo:hover img {
  filter: brightness(150%);
  transform: scale(1.1);
}


.img-hover-zoom--slowmo {
  position: relative;
  overflow: hidden;
}

.img-hover-zoom--slowmo a {
  display: block;
}


.image-title {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background-color: rgba(0, 0, 0, 0.7); */
  color: white;
  text-align: center;
  /* padding: 1rem; */
  opacity: 0;
  transition: opacity 1s, font-size 1s;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  text-align: center;
  font-size: 50px;
  font-weight: bold;
  font-size: 150%;
  width: 100%;
  background: linear-gradient(to top, rgba(24, 0, 255, 1), transparent);
}

.img-hover-zoom--slowmo:hover .image-title {
  opacity: 1;
  /* font-size: 2.2em; */
}

@media (width < 700px) {
  .gallery {
    height: auto;
    padding-top: 10vh;
    padding-bottom: 10vh;
    grid-template-columns: repeat(2,1fr);
    grid-auto-rows: 175px;
  }

  .image-title {
    font-size: 1em;
  }

}

@media (height < 700px) {
  .gallery {
    height: auto;
    padding-top: 16vh;
    padding-bottom: 16vh;
    grid-template-columns: repeat(2,1fr);
    grid-auto-rows: 175px;
  }
}

