
.bg_dark_design {
  position: relative;
  z-index: 1;
}
.bg_dark_design::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 1;
}
.banner-slider_img {
  width: 100%;
  position: relative;
  overflow: hidden;
  /* padding: 16rem 0; */
}
.banner-slider.owl-theme .owl-nav.disabled + .owl-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translate(-50%);
  margin: 0;
}

.gallery_slider.owl-theme .owl-dots .owl-dot span,
.sport_group_slider.owl-theme .owl-dots .owl-dot span,
.banner-slider.owl-theme .owl-dots .owl-dot span {
  width: 10;
  height: 10px;
  transition: width 0.5s ease-in-out;
  background-color: #c4c4c4;
}

.gallery_slider.owl-theme .owl-dots .owl-dot.active span,
.sport_group_slider.owl-theme .owl-dots .owl-dot.active span,
.banner-slider.owl-theme .owl-dots .owl-dot.active span {
  background: var(--theme-gradient);
  width: 30px;
  height: 10px;
  transition: width 0.5s ease-in-out;
}
.banner-slider .animation_img img {
  position: relative;
  width: 100%;
  display: block;
  -webkit-transition: all 500ms ease;
  transition: all 500ms ease;
  transition-duration: 1s;
}

/* حالت اولیه انیمیشن */
.banner-slider .owl-item.animate .animation_img img {
  -webkit-transform: translateX(-50%) scaleX(2);
  transform: translateX(-50%) scaleX(2);
  opacity: 0;
  -webkit-filter: blur(10px);
  filter: blur(10px);
}

/* حالت نهایی بعد از نمایش */
.banner-slider .owl-item.active .animation_img img {
  -webkit-transform: translateX(0) scaleX(1);
  transform: translateX(0) scaleX(1);
  opacity: 1;
  -webkit-filter: blur(0);
  filter: blur(0);
}

.bg_design {
  background-image: url(../../Images/design/pattern.jpg);
  background-size: cover;
  background-position: center center;
}

.bg_design_about {
  background-image: url(../../Images/design/bg-box.jpg);
  background-size: cover;

}

.bg_design_accademi {
  background-image: url(../../Images/design/bg-box-2.jpg);
  background-size: cover;
  background-position: center center;
}

.hover_img_design {
  position: relative;
}

.hover_img_design::after {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 46.46%,
    rgba(0, 0, 0, 0.85) 83.96%
  );
  content: "";
  z-index: 1;
}

.hover_img_design::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 0%;
    left: 50%;
    top: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%) rotate(-45deg);
    z-index: 1;
}

.hover_img_design:hover::before {
     height: 250%;
    transition: all 600ms linear;
    background-color: transparent;
}

.nav-tabs a.active {
  background: var(--theme-gradient);
  color: #121212;
}

@media (width >= 48rem /* 768px */) {
  .article_design:before {
    content: "";
    z-index: 100;
    position: absolute;
    display: block;
    overflow: hidden;
    top: 35px;
    z-index: 1;
    width: 0;
    height: 0;
    border-style: solid;
  }
  .article:nth-child(odd) .article_design:before {
    right: auto;
    left: -36px;
    border-color: transparent var(--theme-dark-100) transparent transparent;
    border-width: 29px 36px 29px 0;
  }

  .article:nth-child(even) .article_design:before {
    right: -36px;
    left: auto;
    border-color: transparent transparent transparent var(--theme-dark-100);
    border-width: 29px 0 29px 36px;
  }
}
