@font-face {
  font-family: "Canopee";
  src: url(/assets/Fonts/Canopee/Canopee.otf) format('otf'),
       url(/assets/Fonts/Canopee/Canopee.woff) format('woff');
}

.head {
  width: 100vw;
  height: 100vh;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
}

.head .bg-p {
  position: absolute;
  background-color: #000;
  padding: 5px 20px;
}

.head p {
  color: #FFF;
  opacity: 1;
  font-size: .8rem;
}

.header {
  position: absolute;
  font-size: 15vw;
  font-family: "Canopee";
  font-weight: 300;
  color: #FFF;
  text-transform: uppercase;
  padding-top: 15px;
}

.container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  padding: 20px;
}

.noImg {
  pointer-events: none;
}

.gallery {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  max-width: 100%;
  margin: 0 auto;
}

.gallery .imgContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
}

.gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.imgPreview {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0);
}

.wrap img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate3d(-50%, -50%, 0);
}

.wrap:hover .overlay {
  position: absolute;
  top: 10%;
  width: 100%;
  height: 100%;
  background: linear-gradient(214deg,
      rgba(0, 0, 0, 0) 55%,
      rgba(255, 255, 255, 0.5) 55%,
      rgba(255, 255, 255, 0.5) 65%,
      rgba(0, 0, 0, 0) 65%);
  background-size: 180% 180%;
  animation: gradient-animation 2s ease infinite;
  background-blend-mode: multiply;
  -webkit-animation: gradient-animation 2s ease infinite;
  z-index: 1;
}

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.wrap:active .overlay {
  display: none;
}

.imgPreview .wrap img {
  height: 100%;
  max-height: 80vh;
  width: auto;
}


@media (max-width: 900px) {
  .head .bg-p {
    position: absolute;
    background-color: #000;
    padding: 2px;
  }

  .head p {
    color: #FFF;
    opacity: 1;
    font-size: .5rem;
  }
}