@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&family=Roboto+Condensed:wght@300;400;700&display=swap");

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body,
button {
  font-family: "Poppins", sans-serif;
}

img {
  width: 100%;
}

a {
  text-decoration: none;
}

#section-pro {
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  background-image: linear-gradient(25deg, #141e30, #243b55);
  display: flex;
  justify-content: center;
  align-items: center;
  transform-style: preserve-3d;
}

.content {
  padding: 2rem;
}

.hide{
  display: block !important;
}

.card-container {
  position: relative;
  color: #fff;
  width: 100%;
  height: 500px;
  transform-style: preserve-3d;
}

.card-container-1 {
  position: relative;
  color: #fff;
  width: 100%;
  height: 500px;
  transform-style: preserve-3d;
}

.card-face {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem 3rem;
  backface-visibility: hidden;
  transition: 0.8s;
  transform-style: preserve-3d;
  border-radius: 5px;
}

.face-1, .face-2, .face-3, .face-4 {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  backface-visibility: hidden;
  border-radius: 5px;
  transition: transform 0.8s;
}

/* Front faces */
.face-1, .face-3 {
  background-image: linear-gradient(-45deg, #009b8e, #009b8e);
  transform: rotateY(0deg);
}

/* Back faces */
.face-2, .face-4 {
  background-image: linear-gradient(-45deg, #009b8e, #009b8e);
  transform: rotateY(180deg);
}

/* Rotate container on hover */
.card-container:hover .face-1 {
  transform: rotateY(180deg);
}

.card-container:hover .face-2 {
  transform: rotateY(360deg);
}

.card-container-1:hover .face-3 {
  transform: rotateY(180deg);
}

.card-container-1:hover .face-4 {
  transform: rotateY(360deg);
}

.logo {
  width: 50px;
  transform: translateZ(40px);
  transform-style: preserve-3d;
}

.face-1 .top-part > h2 {
  font-size: 2.1rem;
  text-transform: uppercase;
  font-family: "Roboto Condensed", sans-serif;
  letter-spacing: 2px;
  margin: 0.4rem 0 0.6rem;
  transform: translateZ(50px);
  transform-style: preserve-3d;
}

.face-3 .top-part > h2 {
  font-size: 2.1rem;
  text-transform: uppercase;
  font-family: "Roboto Condensed", sans-serif;
  letter-spacing: 2px;
  margin: 0.4rem 0 0.6rem;
  transform: translateZ(50px);
  transform-style: preserve-3d;
}

.shoe-info {
  display: flex;
  align-items: center;
  justify-content: center;

}

.shoe-new {
  margin-right: 0.8rem;
  padding: 0.3rem 0.6rem;
  background-color: #fff;
  color: rgb(30, 35, 66);
  border-radius: 3px;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  transform: translateZ(40px);
  transform-style: preserve-3d;
}

.shoe-year {
  color: #eee;
  font-size: 2rem;
  transform: translateZ(40px);
  transform-style: preserve-3d;
}

.bottom-part {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.shoe-price {
  font-weight: 400;
  font-size: 2.3rem;
  font-family: "Roboto Condensed", sans-serif;
  line-height: 0.95;
  display: flex;
  transform: translateZ(45px);
  transform-style: preserve-3d;
}

.shoe-price span {
  font-size: 1.4rem;
  margin-right: 0.2rem;
}

.card-head{
  font-size: 45px !important;
  font-weight: 600 !important;
}

.right-arrow {
  width: 35px;
  padding-top: 0.3rem;
  transform: translateZ(45px);
  transform-style: preserve-3d;
}

.right-arrow img {
  filter: invert(1);
  animation: move 0.5s infinite ease alternate;
}

@keyframes move {
  from {
    transform: translateX(-5px);
  }
  to {
    transform: translateX(5px);
  }
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.heading {
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 1px;
  font-size: 1.3rem;
  font-family: "Roboto Condensed", sans-serif;
  margin-top: 0.5rem;
  transform: translateZ(35px);
  transform-style: preserve-3d;
}

.wish {
  color: #fff;
  font-size: 1.4rem;
  transform: translateZ(30px);
  transform-style: preserve-3d;
}

.features {
  list-style: none;
  margin: 3rem 0;
  color: #eee;
  font-weight: 300;
  transform: translateZ(40px);
  transform-style: preserve-3d;
}

.features li {
  margin-bottom: 0.3rem;
}

.color-wrap {
  display: flex;
  align-items: center;
  transform: translateZ(40px);
  transform-style: preserve-3d;
}

.color-wrap > span {
  font-weight: 600;
  font-size: 1.2rem;
  margin-right: 1.3rem;
  transform: translateZ(40px);
  transform-style: preserve-3d;
}

.colors {
  display: flex;
  align-items: center;
}

.color {
  display: inline-block;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  margin-right: 0.6rem;
  cursor: pointer;
  transition: 0.3s;
}

.color.blue {
  background-color: #2980b9;
  border: 4.5px solid #2980b9;
}

.color.black {
  background-color: #333;
  border: 4.5px solid #333;
}

.color.white {
  background-color: #ccc;
  border: 4.5px solid #ccc;
}

.color.active {
  border: 4.5px solid #fff;
}

.color:hover {
  transform: scale(1.1);
}

.buy-wrap {
  display: flex;
  justify-content: flex-end;
}

.buy {
  display: inline-block;
  padding: 0.5rem 1.7rem;
  background-color: #2980b9;
  border-radius: 4px;
  color: #fff;
  transition: background-color 0.3s, opacity 0.7s !important;
  transform: translateZ(45px);
  transform-style: preserve-3d;
}

.buy i {
  font-size: 0.9rem;
}

.buy:hover {
  background-color: #2875a9;
}

.face-1 .hide {
  opacity: 1;
  transition: 0.7s;
}

.face-2 .hide {
  opacity: 0;
  transition: 0.7s;
}

.face-3 .hide {
  opacity: 1;
  transition: 0.7s;
}

.face-4 .hide {
  opacity: 0;
  transition: 0.7s;
}

.card-container:hover .face-1 .hide {
  opacity: 0;
}

.card-container:hover .face-2 .hide {
  opacity: 1;
}

.card-container-1:hover .face-3 .hide {
  opacity: 0;
}

.card-container-1:hover .face-4 .hide {
  opacity: 1;
}

.shoe-image-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 3;
  transform-style: preserve-3d;
  pointer-events: none;
}

.shoe-img {
  position: absolute;
  width: 75%;
  top: -8%;
  left: 43%;
  transform: translate(-45%, -55%) translateZ(200px);
  transform-style: preserve-3d;
  filter: drop-shadow(0px 0px 30px rgba(0, 0, 0, 0.2));
  animation: float 2s alternate ease-in-out infinite;
  transition: 0.65s;
}

@keyframes float {
  0% {
    transform: translateX(calc(-45% - 5px)) translateY(calc(-55% - 5px))
      translateZ(200px);
  }

  100% {
    transform: translateX(calc(-45% + 5px)) translateY(calc(-55% + 5px))
      translateZ(400px);
  }
}

.shoe {
  transform: rotate(-10deg);
  transition: 0.6s;
}

.card-container:hover .shoe-img {
  width: 110%;
  top: 9%;
}

.card-container:hover .shoe {
  transform: rotate(-12deg);
}

.card-container-1:hover .shoe-img {
  width: 110%;
  top: 9%;
}

.card-container-1:hover .shoe {
  transform: rotate(-12deg);
}

@media (max-width: 550px) {
  .content {
    transform: scale(0.9);
  }
}
