/*!******************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./node_modules/@wordpress/scripts/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[2].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[2].use[3]!./src/frontend/sections/rotating-product-section/style.scss ***!
  \******************************************************************************************************************************************************************************************************************************************************************************************************************/
section.wp-block-section-rotating-product-section {
  display: grid;
  justify-content: center;
  align-items: center;
  justify-items: center;
  position: relative;
  background-color: rgb(243, 243, 243);
  border-radius: 32px;
  padding: 32px 0px;
  margin: auto;
  max-width: 1400px;
  overflow: hidden;
  transform: translateY(-32px);
  justify-self: center;
}
section.wp-block-section-rotating-product-section .bg-image {
  position: absolute;
  top: 50%;
  width: 100%;
  z-index: 0;
  animation-name: rotationAnimation;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}
section.wp-block-section-rotating-product-section .header-wrapper {
  display: grid;
  text-align: center;
  max-width: 680px;
  align-items: center;
  justify-content: center;
  z-index: 2;
  padding: 16px;
}
section.wp-block-section-rotating-product-section .header-wrapper h2 {
  font-size: 32px;
  font-weight: 500;
}
section.wp-block-section-rotating-product-section .main-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  z-index: 1;
}
section.wp-block-section-rotating-product-section .main-content .cards-left-wrapper {
  display: grid;
  gap: 20px;
  width: 30vw;
}
section.wp-block-section-rotating-product-section .main-content .cards-left-wrapper p {
  background-color: rgba(255, 188, 3, 0.5);
  padding: 16px 32px;
  width: 100%;
  font-size: 16px;
  font-weight: 500;
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}
section.wp-block-section-rotating-product-section .main-content .cards-right-wrapper {
  display: grid;
  gap: 20px;
  width: 30vw;
}
section.wp-block-section-rotating-product-section .main-content .cards-right-wrapper p {
  background-color: rgba(255, 188, 3, 0.5);
  padding: 16px 32px;
  width: 100%;
  font-size: 16px;
  font-weight: 500;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}
@media (width > 1980px) {
  section.wp-block-section-rotating-product-section .main-content .cards-left-wrapper,
  section.wp-block-section-rotating-product-section .main-content .cards-right-wrapper {
    width: 25vw !important;
  }
}
@media (max-width: 789px) {
  section.wp-block-section-rotating-product-section .main-content {
    display: grid;
    justify-content: center;
  }
  section.wp-block-section-rotating-product-section .main-content .cards-left-wrapper,
  section.wp-block-section-rotating-product-section .main-content .cards-right-wrapper {
    width: 100%;
    text-align: center;
    padding: 16px;
  }
  section.wp-block-section-rotating-product-section .main-content .cards-left-wrapper p,
  section.wp-block-section-rotating-product-section .main-content .cards-right-wrapper p {
    border-radius: 32px;
    padding: 12px;
  }
}
section.wp-block-section-rotating-product-section .footer-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 2;
}
section.wp-block-section-rotating-product-section .footer-wrapper p.wp-block-paragraph a {
  position: relative;
  color: #ffbc03;
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
}
section.wp-block-section-rotating-product-section .footer-wrapper p.wp-block-paragraph a::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, #ffbc03, transparent);
  mask: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  transition: width 0.3s ease-in-out;
}
section.wp-block-section-rotating-product-section .footer-wrapper p.wp-block-paragraph a:hover::after {
  width: 100%;
}
@media (max-width: 789px) {
  section.wp-block-section-rotating-product-section .footer-wrapper {
    display: grid;
    text-align: center;
    width: 100%;
    justify-content: unset;
  }
  section.wp-block-section-rotating-product-section .footer-wrapper .wp-block-buttons {
    width: 100%;
  }
  section.wp-block-section-rotating-product-section .footer-wrapper .wp-block-buttons .wp-block-button {
    width: 100%;
  }
  section.wp-block-section-rotating-product-section .footer-wrapper .wp-block-buttons .wp-block-button a {
    max-width: 468px;
    width: calc(100% - 32px);
    /* margin: auto; */
    text-align: center;
    justify-content: unset;
    place-self: center;
  }
  section.wp-block-section-rotating-product-section .footer-wrapper .wp-block-buttons .wp-block-button a strong {
    width: calc(100% - 64px);
  }
}
@media (max-width: 500px) {
  section.wp-block-section-rotating-product-section {
    width: calc(100% + clamp(2rem, 5vw, 4rem));
    margin-left: calc(var(--wp--style--root--padding-left) * -1) !important;
    margin-right: calc(var(--wp--style--root--padding-right) * -1) !important;
  }
}
