/* General Button styles */
.btn {
  background-color: transparent;
  border: none;
  outline: transparent;
  text-transform: uppercase;
  font-size: 4vw;
  transition: all 0.3s ease-in-out;
  transform-style: preserve-3d;
  height: 10%;
  width: 17%;
}

.btn:is(:active, :hover, :focus) {
  color: inherit;
  outline: transparent;
}

.btn:not(.btn-menu)::before {
  content: '';
  transition: all 0.3s ease-in-out;
  position: absolute;
  inset: 50% 50% auto auto;
  transform: translate(50%, -50%);
  margin: auto;
  width: 110%;
  height: 110%;
  z-index: -1;
}

.btn:not(.btn-menu):hover::before {
  background-color: rgb(28 189 250/ 0.3);
  filter: blur(0.5em);
}

.btnbg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  z-index: -1;
  inset: 0;
  margin: auto;
}

.play-btn {
  top: 59.5%;
  left: 0.5%;
}

.play-btn:lang(np){
  top: 63%;
}

.submit-btn {
  top: 6%;
  z-index: 1001 !important;
}

.start-btn,
.replay-btn {
  width: 30%;
  height: 20%;
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30 !important;
}

.btn.replay-btn {
  bottom: 1%;
  width: 10%;
  height: 8%;
  display: none;
  z-index: 10000 !important;
}

.btn.start-btn::before {
  width: 45%;
  aspect-ratio: 1;
  border-radius: 50%;
}
.btn.replay-btn::before {
  width: 40%;
  aspect-ratio: 1;
  border-radius: 50%;
}

.btn.btn-menu {
  text-transform: capitalize;
  font-family: inter;
  font-size: 2vw;
  width: 64%;
  margin: 4.5% auto;
  background-color: #1cbdfa;
  clip-path: polygon(5% 0%, 95% 0%, 100% 50%, 95% 100%, 5% 100%, 0% 50%);
  color: #7ad3ff;
}

.btn.btn-menu::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(-10em);
  width: 98%;
  height: 93%;
  background-color: #0d485d9d;
  clip-path: inherit;
  transition: all 0.3s ease-in-out;
  z-index: -1;
}

.btn.btn-menu:hover::after,
.btn.btn.btn-menu.active::after {
  background-color: rgba(1, 44, 86, 0.9);
}

.buttons .checked-img {
  position: absolute;
  right: 3.5%;
  height: 10%;
}

.btn.home-btn {
  width: 5%;
  position: absolute;
  z-index: 200;
  right: 1%;
  top: 1%;
}
.btn.home-btn::before {
  width: 50%;
}


.explanation .btn-detail{
  height: 25%;
  width: 25%;
  object-fit: contain;
  position: absolute;
  z-index: 20;
  top: 50%;
  left: 50%;
  transform: translate(-50%);
}

:is(.btn-alt1, .btn-alt2){
  display: none;
}

.explanation .btn-alt1{
  transform: rotate(-90deg);
  top: 70%;
  left: 70%;
}
.explanation .btn-alt2{
  transform: rotate(90deg);
  top: 70%;
  left: 10%;
}

.btn-displacement{
  position: absolute;
  z-index: 10000 !important;
  top: 70%;
  width: 10%;
  object-fit: contain;
  left: 70%;
  transform: rotate(-90deg);
  display: none;
}

@media (min-aspect-ratio: 4/3) {
  .btn {
    font-size: 5.5vh;
  }
  .btn:lang(np){
    font-size: 4vh;
  }
  .btn.btn-menu {
    font-size: 2.5vh;
  }
}
