@import url(animation.css);
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.product-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 4rem 2rem;
  background-color: #212529;
  transform: translateY(100px);
  animation: scroll-up linear both;
  animation-timeline: view();
  animation-range: entry 0% cover 50%;
}
.inside-product-section {
  width: 100%;
}
.product-slide {
  display: flex;
  justify-content: space-evenly;
  align-items: stretch;
  width: 100%;
  padding: 4rem;
}
.product-left {
  width: 50%;
  position: relative;
}
.product-left img {
  position: relative;
  width: 100%;
  z-index: 20;
}
.product-left::before {
  content: "";
  position: absolute;
  top: -13%;
  left: -7%;
  background-color: #000;
  width: 100%;
  height: 100%;
  z-index: 10;
}
.product-right {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.product-right img {
  width: 90%;
  border-radius: 58% 42% 22% 78% / 34% 72% 28% 66%;
  /* animation: radius 3s infinite ease 0 infinite ; */
  margin-bottom: 2rem;
}
.product-right p {
  font-size: 25px;
  margin-bottom: 1rem;
  color: #dee2e6;
  font-family: "Baskervville";
  letter-spacing: 1px;
  font-weight: 500;
}
.product-right a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  border: 1px solid;
  padding: 10px 20px;
  border-radius: 4px;
  font-family: "Mulish";
  text-transform: capitalize;
  letter-spacing: 1px;
}

.swiper-button-next,
.swiper-button-prev {
  /* position: absolute;
 top: var(--swiper-navigation-top-offset, 50%);
 margin-top: calc(0px -(var(--swiper-navigation-size) / 2));
 z-index: 10;
 cursor: pointer;
 display: flex
 ;
 align-items: center;
 width: calc(var(--swiper-navigation-size) / 44* 27);
 height: var(--swiper-navigation-size);
 justify-content: center; */
  color: black !important;
}
.swiper-pagination-bullet-active {
  opacity: var(--swiper-pagination-bullet-opacity, 1);
  background: black !important;
}

@media (maax-width: 1024px) {
  .product-section {
    /* animation-timeline: view(30%, 10%); */
    animation-range: entry 0% cover 20%;
  }
  .product-section {
    padding: 2rem;
  }
}

@media (max-width: 970px) {
  .product-left::before {
    top: -13%;
    left: -9%;
    height: 93%;
  }
}
@media (max-width: 850px) {
  .product-section {
    /* animation-timeline: view(30%, 10%); */
    animation-range: entry 0% cover 30%;
  }
  .product-slide {
    flex-direction: column;
    align-items: center;
  }
  .product-right img {
    display: none;
  }
  .product-left {
    width: 80%;
    margin-bottom: 2rem;
  }
  .product-left::before {
    left: -4%;
  }
  .product-slide {
    padding: 2rem 7rem;
  }
  .product-right {
    width: 100%;
    margin-bottom: 1rem;
  }
  .product-right p {
    text-align: center;
  }
}

@media (max-width: 700px) {
  .product-left {
    width: 90%;
    margin-bottom: 2rem;
  }
}

@media (max-width: 600px) {
  .product-slide {
    padding: 2rem 4rem;
  }
  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-weight: 1000 !important;
    font-size: 25px !important;
  }
}

@media (max-width: 500px) {
  .product-slide {
    padding: 2rem 3rem;
  }
  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-weight: 1000 !important;
    font-size: 23px !important;
  }
}
