﻿*,
*::before,
*::after {
  box-sizing: border-box;
}



h3 {
  font-size: 32px;
  letter-spacing: -0.02em;

  a {
    font-size: 32px;

  }

}

h5 {
  font-size: 20px;
  letter-spacing: -0.01em;
  margin: 0;
  padding: 0 !important;

  a {
    font-size: 20px;
  }

}



.accordion-swiper-show {
  .swiper {
    --circle-speed: 8s;
  }
}

@keyframes circleRight {
  0% {
    transform: rotate(-135deg);
  }

  50%,
  100% {
    transform: rotate(45deg);
  }
}

@keyframes circleLeft {

  0%,
  50% {
    transform: rotate(-135deg);
  }

  100% {
    -webkit-transform: rotate(45deg);
  }
}

@-webkit-keyframes stroke {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes stroke {
  to {
    stroke-dashoffset: 0;
  }
}

.accordion-swiper {
  .swiper-pagination {
    display: none;
  }

  .circle__box {
    width: 3.25rem;
    height: 3.25rem;
    position: relative;
    opacity: 0;
    display: none;
  }

  .circle__wrapper {
    width: 20px;
    height: 3.25rem;
    position: absolute;
    top: 0;
    overflow: hidden;
    box-sizing: border-box;

  }

  .circle__wrapper--right {
    right: 0;
  }

  .circle__wrapper--left {
    left: 0;
  }

  .circle__whole {
    width: 3.25rem;
    height: 3.25rem;
    border: 1px solid transparent;
    border-radius: 50%;
    position: absolute;
    top: 0;
    transform: rotate(-135deg);
  }

  .circle__right {
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    ;
    right: 1px;
    animation: circleRight var(--circle-speed) linear forwards;
  }

  .circle__left {
    border-bottom: 2px solid #fff;
    ;
    border-left: 2px solid #fff;
    ;
    left: 1px;
    animation: circleLeft var(--circle-speed) linear forwards;
  }

  .swiper-slide-active {
    svg {
      opacity: 1;
    }

    .circle {
      -webkit-animation: stroke var(--circle-speed, 1s) linear forwards;
      animation: stroke var(--circle-speed, 1s) linear forwards;
    }

    .sc-content {
      opacity: 1;
    }

    .counter {
      opacity: 1;
    }

    .circle__box {
      opacity: 1;
      display: block;
    }
  }
}