.tx-gridgallery{position:relative; overflow:hidden; max-width:100%; margin:3rem auto 4rem auto; height: 150vh; }

.tile {
  position: absolute;
  transition: transform 800ms ease;
  overflow:hidden;
  transform: scale(1);
}

.tile:hover {
  transform: scale(1.1);
}

.tile:hover > picture > img {
  opacity: 1;
  transform: scale(1);
}

.tile > picture > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: inherit;
  opacity: 0;
  transform: scale(1);
  transition: opacity 800ms ease,transform 800ms ease;
}

.tile:nth-child(1) {
  height: auto;
  width: 30%;
  left: 0;
  top: 10%;
}

.tile:nth-child(2) {
  height: auto;
  width: 44%;
  left: 33%;
  top: 15%;
}

.tile:nth-child(3) {
  height: auto;
  width: 26%;
  right: 0;
  top: 0;
  z-index:12;
}

.tile:nth-child(4) {
  height: auto;
  width: 44%;
  left: 15%;
  top: 60%;
}

.tile:nth-child(5) {
  height: auto;
  width: 25%;
  right: 18%;
  bottom: 0;
}

.tile:nth-child(6) {
  height: auto;
  width: 24%;
  left: 68%;
  top: 8%;
}

.tile:nth-child(7) {
  height: auto;
  width: 20%;
  left: 50%;
  top: 74%;
}

.tile:nth-child(8) {
  height: auto;
  width: 18%;
  left: 72%;
  top: 42%;
}

.tile:nth-child(9) {
  height: auto;
  width: 8%;
  left: 84%;
  top: 84%;
}


@media screen and (max-width: 1280px) {
.tx-gridgallery {height: 90vh;}
}

@media screen and (max-width: 800px) {
.tx-gridgallery {height: 65vh;}
}
@media screen and (max-width: 660px) {
.tx-gridgallery {height: 50vh;}
}
@media screen and (max-width: 480px) {
.tx-gridgallery {height: 35vh;}
}
