main {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100dvh;
  /* Prevent default touch behaviors for smooth swipe */
  touch-action: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

main > a {
  width: 66vw;
  height: auto;
  position: absolute;
  @media (min-width: 600px) {
    width: 33vw;
  }
  /* z-index: 1; */
  @media (min-width: 2000px) {
    width: 25vw;
  }
  /* Add smooth transition for blur effect */
  /* transition: filter 0.1s ease-out; */
  /* Ensure blur works properly */
  /* will-change: filter; */
}

main > a img {
  transform: scaleX(-1)
  /* Ensure images don't interfere with blur */
  /* display: block;
  width: 100%;
  height: auto; */
  /* Prevent image smoothing issues with blur */
  /* image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges; */
}

/* main > a:nth-child(1) {
  transform: rotate(calc(360deg * (1 - 1) / 6)) translateY(calc(120% / tan(180deg / 6))) rotateX(90deg);
}

main > a:nth-child(2) {
  transform: rotate(calc(360deg * (2 - 1) / 6)) translateY(calc(120% / tan(180deg / 6))) rotateX(90deg);
}

main > a:nth-child(3) {
  transform: rotate(calc(360deg * (3 - 1) / 6)) translateY(calc(120% / tan(180deg / 6))) rotateX(90deg);
}

main > a:nth-child(4) {
  transform: rotate(calc(360deg * (4 - 1) / 6)) translateY(calc(120% / tan(180deg / 6))) rotateX(90deg);
}

main > a:nth-child(5) {
  transform: rotate(calc(360deg * (5 - 1) / 6)) translateY(calc(120% / tan(180deg / 6))) rotateX(90deg);
}

main > a:nth-child(6) {
  transform: rotate(calc(360deg * (6 - 1) / 6)) translateY(calc(120% / tan(180deg / 6))) rotateX(90deg);
} */

main {
  transform-style: preserve-3d;
  transform: perspective(2000px) rotateX(-90deg) rotate(0deg);
}

/* main > a {
  display: block;
} */

.nav {
  position: fixed;
  bottom: 0;
  height: 64px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  /* background-color: var(--white); */
  width: 100%;
  @media (min-width: 600px) {
    z-index: 2;
    width: auto;
  }
}

.nav button {
  width: 32px;
  height: 32px;
  appearance: none;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}

#plus, #minus {
  position: absolute;
  top: -25%;
  display: flex;
  align-items: center;
  justify-content: center;
}

article {
  position: fixed;
  top: 80px;
  bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  text-align: center;
  padding: 32px;
  width: 100%;
  background-color: rgba(248, 248, 248, 0.5);
}

article p {
  max-width: 800px;
  margin-bottom: 16px;
}

#blur {
  background: none;
  backdrop-filter: none;
}
