/*!******************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/osourbatteries/style.scss ***!
  \******************************************************************************************************************************************************************************************************************************************************/
/**
 * The following styles get applied both on the front of your site
 * and in the editor.
 *
 * Replace them with your own styles or remove the file completely.
 */
.our-products {
  padding: 10rem 0;
  overflow: hidden;
}

.our-products .title {
  text-align: center;
  margin-bottom: 3rem;
}

.our-products .title h2 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--gray-950);
}

.our-products .product-container {
  background-repeat: no-repeat;
  background-position: center;
  padding: 4rem 0;
}

#slider-container {
  position: relative;
  width: 80%;
  max-width: 900px;
  margin: 50px auto;
  border-radius: 8px;
}

#slider-wrapper {
  display: flex;
  transition: transform 0.8s ease-in-out;
}

.slide {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  position: relative;
}

.slide img {
  max-width: 60%;
  max-height: 300px;
  transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
  opacity: 0.5;
  transform: scale(0.8);
}

.slide.active img {
  opacity: 1;
  transform: scale(1);
}

.slide-title-container {
  position: absolute;
  top: 50%;
  right: -14rem;
  transform: translateX(-50%);
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  max-width: 20rem;
}

.slide-price {
  position: absolute;
  left: 50%;
  bottom: -8rem;
  transform: translateX(-50%);
  font-family: "JetBrains Mono", monospace;
  text-transform: uppercase;
  font-size: 1.25rem;
  opacity: 0;
  color: var(--purple-300);
  transition: opacity 0.8s ease-in-out;
}

.slide:nth-child(2) img {
  max-width: 80% !important;
  max-height: none;
}

.slide:nth-child(2) .slide-title-container {
  right: -18.5rem;
}

.slide:nth-child(3) .slide-title-container {
  right: -23rem;
}

.slide:nth-child(3) img {
  max-height: 16rem;
}

.slide:nth-child(4) img,
.slide:nth-child(1) img {
  max-height: 30rem;
}

.slide.active .slide-title-container {
  opacity: 1;
}

.slide.active .slide-price {
  opacity: 1;
}

@media screen and (max-width: 1440px) {
  #slider-container {
    max-width: 700px;
  }
}
@media screen and (max-width: 1024px) {
  #slider-container {
    max-width: 600px;
  }
}
@media screen and (max-width: 768px) {
  .our-products {
    padding: 4rem 0 6rem;
  }
  #slider-container {
    max-width: 440px;
  }
  .slide-title-container {
    font-size: 0.75rem;
    max-width: 15rem;
  }
  .slide:nth-child(3) .slide-title-container,
  .slide:nth-child(2) .slide-title-container {
    right: -15.5rem;
  }
  .our-products .title h2 {
    font-size: 3rem;
  }
}
@media screen and (max-width: 550px) {
  #slider-container {
    max-width: 320px;
  }
  .our-products {
    padding: 4rem 0 0;
  }
  .our-products .title h2 {
    font-size: 2.25rem;
  }
  .our-products .slide-title-container {
    left: 4rem !important;
    right: auto !important;
    top: -8rem !important;
    max-width: none;
  }
  .our-products .slide:nth-child(2) .slide-title-container {
    left: 5.125rem !important;
  }
  .our-products .slide:nth-child(3) .slide-title-container {
    left: 5.75rem !important;
  }
  .our-products .slide-price {
    text-align: center;
    display: block;
    width: 100%;
    bottom: -4rem;
  }
  .slide:nth-child(4) img {
    max-width: 80% !important;
  }
}
@media screen and (max-width: 375px) {
  .our-products .title h2 {
    font-size: 1.75rem;
  }
}

/*# sourceMappingURL=style-index.css.map*/