
@keyframes ripple-out {
  0% {
    top: -5px;
    right: -5px;
    bottom: -5px;
    left: -5px;
  }
  50% {
    top: -15px;
    right: -15px;
    bottom: -15px;
    left: -15px;
    opacity: 0.8;
  }

  100% {
    top: -5px;
    right: -5px;
    bottom: -5px;
    left: -5px;
    opacity: 1;
  }
}


body {
  color: var(--color-two);
  /* font-weight: 600 !important; */
  background: #ffffff;
}
/* ناوبری نقطه‌ای */
.nav-dots {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1040;
}

.nav-dots button {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: none;
  background: var(--color-red-500);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.nav-dots button.active {
  background: #121212;
  transform: scale(1.3);
}

.h_faq .h_faq_body {
  box-shadow: none;
  border: none;
  background: transparent;
  border-radius: 0;
}
.h_faq_li.open .h_faq_question_title {
  color: var(--theme-orange-500);
}

.bg_design {
  background-image: url(../../images/Seo/bg-04.jpg);
  background-size: cover;
  background-position: center;
}



.hover_before_design::before{
  content: "";
  position: absolute;
  inset: -5px;
  z-index: -1;
  border-radius: 99999px;
  border-width: 10px;

}

.group:hover .hover_before_design::before{
  animation: ripple-out 1.5s infinite linear;
  
}

.after_question::after{  
  content: "\e90e";
  position: absolute;
  top: 0;
  inset-inline-end: 50%;
  transform: translate(-50%,-120%);
  font-size: 1.5rem;
  opacity: 0;
  transition-duration:cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.3s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'global_icon' !important;
  color: inherit;
  z-index: -1;

}

.group:hover.after_question::after{  
  opacity: 1;

}



.editor_modal {
  opacity: 0;
  visibility: hidden;
}

.editor_modal.showModal {
  opacity: 1;
  visibility: visible;
}

@-webkit-keyframes intro-animation {
  100% {
    opacity: 1;
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
}
@keyframes intro-animation {
  100% {
    opacity: 1;
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
}

.filter-design-up {
  -webkit-mask-image: url(../../images/portfolio/curve-top1.svg);
  mask-image: url(../../images/portfolio/curve-top1.svg);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  mask-size: 100% 100%;
  padding: 0.25rem 2.9rem;
}

.editor_description {
  background-image: linear-gradient(to bottom, #e0e0e0, #fff);
}

.scroll-thumb {
  width: 1.5em;
  height: 1.5em;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  cursor: pointer;
  pointer-events: none;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 4px #1900ff5c;
  border: 5px solid #121212;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-thumb::before {
  content: "";
  position: absolute;
  width: 50%;
  height: 50%;
  border-radius: 50%;
  background-color: red;
}

.scroll-range {
  width: 100%;
  position: relative;
  opacity: 0;
  position: absolute;
  inset: 0;
  -webkit-writing-mode: vertical-lr;
  -ms-writing-mode: tb-lr;
  writing-mode: vertical-lr;
  direction: ltr;
  z-index: 3;
  cursor: pointer;
}

.scroll-range:active + .scroll-thumb {
  transform: scale(1.05) translateX(-50%);
  box-shadow: 0 4px 7px #1900ff7a;
}

.scrollbar-hidden {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scrollbar-hidden::-webkit-scrollbar {
  display: none;
}
.editor_tools {
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-design-right {
  width: 2em;
  height: 20em;
  padding: 4.2rem 0;
  position: relative;
  -webkit-mask-image: url(../../images/portfolio/scrollbar-curve.svg);
  mask-image: url(../../images/portfolio/scrollbar-curve.svg);
  background: linear-gradient(to right, #fff, #dddce5);
  -webkit-mask-size: 100% 100%;
  -webkit-mask-position: center;
  /* margin-top: -3.8rem; */
}
.editor_tools_range::before {
  content: "";
  background-color: #d1cfe5;
  width: 0.7rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 1rem;
  height: 100%;
}

.editor_body {
  overflow-y: auto;
  height: 100%;
  border-radius: 1rem;
  border: 1px solid #050033;
  border-bottom: none;
  box-shadow: inset 0 0 15px hsl(0deg 0% 0% / 25%);
}

.editor-container {
  margin: 0 auto;
  transition: width 0.4s ease;
}
.editor-container {
  width: 20em;
}

/* tab */
.tab-content__pane {
  display: none;
}
.tab-content__pane.show {
  display: block;
}
/* tab */

@media (width >= 40rem /*sm*/) {
  .editor-container {
    width: 30em;
  }
}

@media (width > 64rem) {
  .editor-container {
    width: 60em;
  }
}

@media (width > 80rem) {
  .editor-container {
    width: 70em;
  }
}
