/* story */

.bg-gradient-story {
  background: linear-gradient(to right, #833ab4, #fd1d1d, #fcb045);
}

.progress {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, #833ab4, #fd1d1d, #fcb045);
  transition: width linear;
}

.progressContainer {
  pointer-events: none;
}
@-webkit-keyframes spin-slow {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-moz-keyframes spin-slow {
  0% {
    -moz-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -moz-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-o-keyframes spin-slow {
  0% {
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spin-slow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.animate-spin-slow {
  -webkit-animation: spin-slow 3s linear infinite;
  -moz-animation: spin-slow 3s linear infinite;
  -o-animation: spin-slow 3s linear infinite;
  animation: spin-slow 3s linear infinite;
}

.story-modal::backdrop {
  background: rgba(0, 0, 0, 0.8);
}
/* story */


.group_hover_design::after {
  content: '';
  position: absolute;
  background-color: var(--theme-primary);
  bottom: -50%;
  inset-inline-start: -110%;
  width: 100%;
  height: 100%;
  -moz-transform: skewY(30deg);
  -ms-transform: skewY(30deg);
  -o-transform: skewY(30deg);
  -webkit-transform: skewY(30deg);
  transform: skewY(30deg);
  -moz-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
  -moz-box-shadow: 10px -10px 0 10px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 10px -10px 0 10px rgba(0, 0, 0, 0.3);
  box-shadow: 10px -10px 0 10px rgba(0, 0, 0, 0.3);
}

.group_hover_design:hover::after {
  inset-inline-start: 0;
  -moz-transition: all 0.25s ease-in-out;
  -o-transition: all 0.25s ease-in-out;
  -webkit-transition: all 0.25s ease-in-out;
  transition: all 0.25s ease-in-out;
}
.group_hover_design .title-product {
  position: absolute;
  inset-inline-start: -100%;
  z-index: 2;
}
.group_hover_design .title-product {
  bottom: 2rem;
  -moz-transition: inset-inline-end 0.2s ease-in-out;
  -o-transition: inset-inline-end 0.2s ease-in-out;
  -webkit-transition: inset-inline-end 0.2s ease-in-out;
  transition: inset-inline-end 0.2s ease-in-out;
  -moz-transition-delay: 0.1s;
  -o-transition-delay: 0.1s;
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
}

.group_hover_design:hover .title-product {
  inset-inline-start: 2rem;
  -moz-transition: inset-inline-start 0.25s ease-in-out;
  -o-transition: inset-inline-start 0.25s ease-in-out;
  -webkit-transition: inset-inline-start 0.25s ease-in-out;
  transition: inset-inline-start 0.25s ease-in-out;
  -moz-transition-delay: 0.2s;
  -o-transition-delay: 0.2s;
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}

.bg-section {
  position: relative;
  min-height: 35rem;
  background: url('../../Images/slider/3.jpg') center / cover no-repeat fixed;
  z-index: 1;
}

.bg-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: -1;
}

.border-design {
  position: relative;
  box-shadow: inset 0 0 0 3px var(--theme-primary);
  
}

.border-design::before,
.border-design::after {
  content: '';
  position: absolute;
  top: 0;
  display: block;
  width: 50%;
  height: 3px;
  background: #fff;
  transition: width 0.2s ease;
}

.border-design::before {
  right: 3px;
  transition-delay: 0.2s;
}

.border-design::after {
  top: calc(100% - 3px);
  left: 3px;
}

.border-design:hover::before,
.border-design:hover::after {
  width: 0;
}
