#svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  cursor: pointer;
  z-index: -10;
}

html,
body,
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000000;
}

#animationbox {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.animationbox-inner {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}



/* bottom card group */
.bottom-card-parent {
  position: absolute;
  bottom: 0%;
  width: 100%;
  height: 55vh;
  z-index: -1;
}

.bottom-cards-group {
  width: 100%;
  height: 100%;
  position: relative;
  opacity: 0;

}

.bcard-parent {
  position: absolute;
  width: 15vw;
  aspect-ratio: 9 / 13;

  /* opacity: 0.2!important; */
}

.bcard-relative {
  position: relative;
  width: 100%;
  height: 100%;
}

.b-border {
  width: 100%;
  height: 100%;
  background-color: #000000;
  opacity: 0.3;
  position: absolute;
  inset: 0;
  padding: 4px;
  box-sizing: unset;
}

.b-card {
  width: 100%;
  height: 100%;
  background: #9600ff;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem;
}

.b-card h6 {
  font-size: 1.4rem;
  color: #000000;
}



.card-face {
  width: 100%;
  height: 100%;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border: 4px solid #00000036;  */
}

.card-front {
  background-color: #9600ff;
}

.card-back {
  background-color: #9600ff;
  transform: rotateY(180deg);
  backface-visibility: hidden;

}

.animation-container {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.cards-container {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  perspective: 2000px;
  /* perspective-origin: 18% 52%; */
  /* perspective-origin: top left; */
  transform-style: preserve-3d;
  perspective-origin: 65% 35%;

}

.card1,
.card2,
.deck-cards {
  width: 13.3vw;
  aspect-ratio: 9 / 13;
  background-color: #9600ff;
  transform-style: preserve-3d;
  z-index: 5;
  position: relative;
  opacity: 0;
}

.card1,
.card2,
.deck-cards {
  font-size: 1.4rem;
  color: #000000;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.card1 h6,
.card2 h6,
.deck-cards h6 {
  font-size: 1.4rem;
  color: #000000;
}

.bcard-parent:nth-child(1) {
  width: 13vw;
  top: 20%;
  left: 6%;
  transform: rotate(348deg);
  z-index: 7;
}

.bcard-parent:nth-child(2) {
  width: 13vw;
  top: 10%;
  left: 18%;
  transform: rotate(353deg);
  z-index: 6;
}

.bcard-parent:nth-child(3) {
  width: 13.4vw;
  top: 2%;
  left: 30%;
  transform: rotate(356deg);
  z-index: 5;
}

.bcard-parent:nth-child(4) {
  width: 13.5vw;
  top: -1%;
  left: 42%;
  transform: rotate(1deg);
  z-index: 4;
}

.bcard-parent:nth-child(5) {
  width: 13.4vw;
  top: 4%;
  left: 55%;
  transform: rotate(4deg);
  z-index: 3;
}

.bcard-parent:nth-child(6) {
  width: 13.7vw;
  top: 9.5%;
  left: 67.6%;
  transform: rotate(7deg);
  z-index: 2;
}

.bcard-parent:nth-child(7) {
  width: 13.7vw;
  top: 17%;
  left: 79%;
  transform: rotate(10deg) !important;
  z-index: 1;
  opacity: 0 !important;
}




/* sparkle animation  */

svg#one {
  position: absolute;
  top: -17px;
  left: -23px;
}

svg#two1 {
  position: absolute;
  top: 28px;
  left: -4px;
}

svg#two2 {
  position: absolute;
  top: -10px;
  left: -12px;
}

svg#two3 {
  position: absolute;
  top: -3px;
  left: 4px;
}

svg#two4 {
  position: absolute;
  top: 13px;
  left: -17px;
}

svg#two5 {
  position: absolute;
  top: 6px;
  left: -6px;
}

svg#three {
  position: absolute;
  top: -8px;
  left: -28px;
}

.group {
  -webkit-transform: translate(42.5px, 42.5px);
  -moz-transform: translate(42.5px, 42.5px);
  transform: translate(42.5px, 42.5px);
}

path,
.sparkle {
  -webkit-transform: translate(-42.50px, -42.50px);
  -moz-transform: translate(-42.50px, -42.50px);
  transform: translate(-42.50px, -42.50px);
}


#logo line {
  stroke: #000000;
}

.logo-stroke {
  stroke: #000000 !important;
}

.sparkle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  z-index: -99;
  opacity: 0;
}

.sparkle.active {
  opacity: 1;
  transition: all 0.3s linear;
  z-index: 99;
}

.sparkle.active .large {
  -webkit-animation: large 3s infinite;
  -moz-animation: large 3s infinite;
}

.sparkle.active .large-2 {
  -webkit-animation: large-2 3s infinite;
  -moz-animation: large-2 3s infinite;
}

.sparkle.active .small {
  -webkit-animation: small 3s infinite;
  -moz-animation: small 3s infinite;
}

@-webkit-keyframes large {
  0% {
    -webkit-transform: rotate(0deg) scale(0);
    transform: rotate(0deg) scale(0);
  }

  50% {}

  100% {
    -webkit-transform: rotate(360deg) scale(1.5);
    transform: rotate(360deg) scale(1.5);
  }
}

@-moz-keyframes large {
  0% {
    transform: rotate(0deg) scale(0);
  }

  50% {}

  100% {
    transform: rotate(360deg) scale(1.5);
  }
}

@-webkit-keyframes large-2 {
  0% {
    -webkit-transform: rotate(45deg) scale(0);
    transform: rotate(45deg) scale(0);
  }

  50% {}

  100% {
    -webkit-transform: rotate(405deg) scale(1.1);
    transform: rotate(405deg) scale(1.1);
  }
}

@-moz-keyframes large-2 {
  0% {
    transform: rotate(45deg) scale(0);
  }

  50% {}

  100% {
    transform: rotate(405deg) scale(1.1);
  }
}

@-webkit-keyframes small {
  0% {
    -webkit-transform: rotate(0deg) scale(0);
    transform: rotate(0deg) scale(0);
  }

  50% {}

  100% {
    -webkit-transform: rotate(-360deg) scale(1);
    transform: rotate(-360deg) scale(1.5);
  }
}

@-moz-keyframes small {
  0% {
    transform: rotate(0deg) scale(0);
  }

  50% {}

  100% {
    transform: rotate(-360deg) scale(1.5);
  }
}



#c7,
#a1,
#a2,
#bottomcard,
#card2line1,
#card2line2,
#card1line1,
#card1line2,
#cardsgroup,
#card-deck,
#animatecard1,
#animatecard2,
#complete-deck,
.deckpaths,
.custompath {
  /* visibility: hidden; */
  display: none;
}


#cardlibrary {
  width: 20%;
  height: 100%;
  z-index: 999;
}

#backCard,
#card1,
#cardlibrary {
  cursor: pointer;
}

.links {
  display: block;
}
