/* web components */

webcomponent-button {
  --primary-color: #1e74fd;
  --primary-color-button-text: #ffffff;
  --light-primary-color: #0d0d0d;
}

wc-aws-cognito {
  --primary-color: #1e74fd;
  --primary-color-button-text: #ffffff;
  --light-primary-color: #1e74fd;
  --error-color: #ef5350;
  --button-order: 2;
  --error-order: 2;
  --input-text-color: white;
  --input-container-color: white;
  --cancel-text-color: red;
  --text-color: white;
  --recovery-padding-top: 20px;
}

webcomponent-loading {
  --primary-color: #1e74fd;
  --primary-color-button-text: #ffffff;
  --light-primary-color: #0d0d0d;
}

.nftgc-match-leaderboard-last-refresh {
  color: var(--primary-color);
  font-size: 12px;
  display: flex;
  justify-content: center;
  padding-top: 15px;
}

.leaderboard-player-name {
  width: 50%;
}

.arrow-up {
  position: relative;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid green;
  animation: moveUp 1s 3;
}

@keyframes moveUp {
  0% {
    bottom: 0;
  }

  95% {
    bottom: 10px;
  }

  100% {
    bottom: 0;
  }
}

.arrow-down {
  position: relative;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid red;
  animation: moveDown 1s 3;
}

@keyframes moveDown {
  0% {
    bottom: 0;
  }

  95% {
    bottom: -10px;
  }

  100% {
    bottom: 0;
  }
}

#fireworks-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.firework {
  position: relative;
  bottom: 0;
  top: 0%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  z-index: 99999;
} /* All lines start together */
.line {
  position: absolute;
  width: 2px;
  height: 0px;
  border-radius: 5px;
  left: 50%;
  top: 50%;
  transform-origin: center;
  animation: expandCollapse 0.8s ease-out forwards;
}
.pass-text {
  font-size: 12px;
  font-weight: bold;
  color: #ffffff;
  padding: 3px 3px;
  white-space: nowrap;
  animation: textShow 2s ease-in-out forwards;
  margin-bottom: 0;
}
@keyframes expandCollapse {
  0% {
    height: 0px;
    transform: rotate(var(--rotation)) translateY(0);
    opacity: 1;
  }
  40% {
    height: 25px;
    transform: rotate(var(--rotation)) translateY(-30px);
  }
  100% {
    height: 0px;
    transform: rotate(var(--rotation)) translateY(-60px);
    opacity: 0;
  }
}
@keyframes textShow {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.moving-up {
  animation: moveUp 1s ease-in-out;
}
.moving-down {
  animation: moveDown 1s ease-in-out;
}
@keyframes moveUp {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50px);
  }
}
@keyframes moveDown {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(50px);
  }
}
@media screen and (min-width: 600px) {
  .leaderboard-player-name {
    font-size: 10px;
    width: 80%;
  }
}
@media screen and (max-width: 426px) {
  .pass-text {
    font-size: 8px !important;
  }
  .leaderboard-player-name {
    font-size: 10px;
    width: 30%;
  }
  .leaderboard-player-name .text-muted {
    font-size: 10px;
  }
}
