/*------------------------------------------------Title --------------------------------------------------*/
.title3 {
  top: 57%;
}

.title3 img {
  width: 85%;
}

/*-----------------------------------------------Button---------------------------------------------------*/
.bbtn {
  top: 62.7%;
}

.bbtn img {
  width: 80%;
  animation: pulse 0.9s infinite linear;
}

/*------------------------------------------------Tiles---------------------------------------------------*/
.tiles {
  top: 68.5%;
}

/*------------------------------------------------Tile----------------------------------------------------*/
.tiles-grid {
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, clamp(115px, 32.5vw, 250px));
  column-gap: clamp(8px, 3vw, 24px);
  justify-content: center;
}

.tile {
  height: auto;
  width: 100%;
  transform-style: preserve-3d;
  transform-origin: center;
  transition: all 0.5s;
  animation-name: tilePulse;
  animation-duration: 2.5s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  cursor: pointer;
}

#tile1 {
  animation-delay: 0s;
}

#tile2 {
  animation-delay: 0.5s;
}

#tile3 {
  animation-delay: 1s;
}

#tile4 {
  animation-delay: 1.5s;
}

.tile .tile__face--front {
  height: auto;
  width: 100%;
  aspect-ratio: 3 / 4;
  background-image: url("../image/scene2/elements/tile.avif");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.tile__text {
  opacity: 0;
  width: 100%;
  margin-top: -1rem;
  text-align: center;
}

#text1 img {
  width: 32%;
}

#text2 img {
  width: 37%;
}

#text3 img {
  width: 32%;
}

#text4 img {
  width: 25%;
}

.tile__face {
  width: 10%;
  height: 100%;
}

/*-----------------------------------------------Animation------------------------------------------------*/
@keyframes tilePulse {
  0% {
    transform: scale(1);
  }

  8% {
    transform: scale(1.08) translateY(-4px);
  }

  16% {
    transform: scale(1);
  }

  100% {
    transform: scale(1);
  }
}

/*----------------------------------------Multi Device Screen Size----------------------------------------*/
@media (min-width: 992px) {
  #bg {
    height: 100vh;
  }
}
