@import url("https://fonts.googleapis.com/css2?family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Castoro+Titling&display=swap");
body {
  background: black;
  margin-top: 10%;
}

.card {
  width: 35vw;
  aspect-ratio: 143/200;
  margin: auto;
  position: relative;
  perspective: 500px;
}

.card-content {
  transform-style: preserve-3d;
  width: 100%;
  aspect-ratio: 143/200;
  position: relative;
}

.card-content-front, .card-content-back {
  width: 100%;
  aspect-ratio: 143/200;
  position: absolute;
  transition: opacity 1s ease;
}

.card-content-front {
  background-image: url(../links/shoe.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.card-content-front h1 {
  position: absolute;
  color: #9cc4ef;
  text-align: center;
  font-weight: 100;
  font-size: 3.5vw;
  top: 4%;
  width: 100%;
}

.card-content-back {
  background-image: url(../links/background.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.card-content-back-info {
  position: relative;
}

.card-content-back-info p {
  background-image: url(../links/frame-left.png), url(../links/frame-right.png);
  background-size: 11%;
  background-repeat: no-repeat;
  background-position: 8px 7px, 97.5% 7px;
  margin: 0;
}

/* top:10px left:10px, top:10px, right:10px */
.card-content-back-info img {
  position: relative;
  top: 50%;
  left: 14%;
  width: 80%;
  aspect-ratio: 400/563;
}

.card-content-back-info p {
  background-color: #C6D7EA;
  font-family: "Zain";
  font-size: 1vw;
  font-weight: 400;
  color: #3D5E82;
  padding-block: 1em;
  padding-inline: 2.5em;
  margin-inline: 3em;
  border-radius: 0.5em;
  text-align: center;
}

.card-content-back-info h1 {
  font-family: "Castoro Tiling";
  font-size: 3.4vw;
  color: white;
  transform: rotate(-90deg); /*translate(-23%, -620%)  */
  transform-origin: bottom left;
  position: absolute;
  top: 54%;
  left: 18%;
}

.designs_01 {
  position: relative;
  bottom: -80px;
  left: 60%;
}

.shoe {
  width: 100%;
}

video.container__magic,
video.container__transformation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}

video.container__magic {
  transform: rotate(90deg);
}

.wand {
  position: absolute;
  top: -5%;
  right: 105%;
  transform-origin: bottom left;
  transition: all 1s ease;
  z-index: 1;
}

.wave {
  animation-name: wand;
  animation-duration: 1.5s;
}

@keyframes wand {
  0% {
    transform: rotate(0deg) translateY(0);
  }
  50% {
    transform: rotate(90deg) translateY(-20px);
  }
  100% {
    transform: rotate(0deg) translateY(0);
  }
}
.card-content-front, .card-content-back {
  transition: opacity 1s ease-in-out;
}

.container__magic, .container__transformation {
  opacity: 0;
  transition: opacity 1s ease;
}

.fade-out {
  opacity: 0;
  display: none;
}

.fade-in {
  opacity: 1;
}/*# sourceMappingURL=styles.css.map */