.preloader {
  position: fixed;
  background-color: var(--adhvan-white);
  background-position: center center;
  background-repeat: no-repeat;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9991;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  text-align: center;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 180ms ease, visibility 0s linear 180ms;
  animation: preloader-fallback 1500ms linear forwards;
}

.preloader img {
  height: 50%;
  width: 50%;
}

.preloader.is-ready {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes preloader-fallback {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .preloader {
    animation-duration: 300ms;
    transition-duration: 1ms;
  }
}

/* scroll to top */
.scroll-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  height: 50px;
  width: 50px;
  cursor: pointer;
  display: block;
  border-radius: 50%;
  background-color: transparent;
  z-index: 99;
  opacity: 0;
  padding: 0;
  visibility: hidden;
  transform: translateY(15px);
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}

.scroll-to-top--active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top::after {
  position: absolute;
  content: "\f062";
  font-family: "Font Awesome 5 Free";
  font-weight: 700;
  text-align: center;
  line-height: 50px;
  font-size: 18px;
  color: var(--adhvan-base);
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  cursor: pointer;
  display: block;
  z-index: 1;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}

.scroll-to-top::before {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  content: "";
  border: 2px solid rgb(var(--adhvan-base-rgb), 0.3);
  z-index: -1;
  border-radius: 50%;
}

.scroll-to-top path {
  stroke: var(--adhvan-base);
  stroke-width: 4;
  fill: none;
  box-sizing: border-box;
  -webkit-transition: all 200ms linear;
  transition: all 200ms linear;
}

/*--------------------------------------------------------------
# Custom Cursor
--------------------------------------------------------------*/
.custom-cursor__cursor {
  width: 25px;
  height: 25px;
  border-radius: 100%;
  border: 1px solid var(--adhvan-base);
  -webkit-transition: all 200ms ease-out;
  transition: all 200ms ease-out;
  position: fixed;
  pointer-events: none;
  left: 0;
  top: 0;
  -webkit-transform: translate(calc(-50% + 5px), -50%);
  transform: translate(calc(-50% + 5px), -50%);
  z-index: 999991;

  @media (max-width: 1200px) {
    display: none;
  }
}

.custom-cursor__cursor-two {
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background-color: var(--adhvan-base);
  opacity: 0.3;
  position: fixed;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  -webkit-transition: width 0.3s, height 0.3s, opacity 0.3s;
  transition: width 0.3s, height 0.3s, opacity 0.3s;
  z-index: 999991;

  @media (max-width: 1200px) {
    display: none;
  }
}

.plane {
  background: var(--adhvan-base);
  width: 400%;
  height: 100%;
  position: absolute;
  -webkit-transform: translate3d(0px, 0, 0);
  transform: translate3d(0px, 0, 0);
  /*transition: all 0.8s ease; */
  z-index: 100;
  -webkit-perspective: 1000;
  perspective: 1000;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.animation {
  transition: all 0.3s ease;
}

#top .plane {
  z-index: 2000;
  -webkit-animation: trans1 1.3s ease-in infinite 0s backwards;
  animation: trans1 1.3s ease-in infinite 0s backwards;
}

#middle .plane {
  -webkit-transform: translate3d(0px, 0, 0);
  transform: translate3d(0px, 0, 0);
  background: var(--adhvan-base);
  -webkit-animation: trans2 1.3s linear infinite 0.3s backwards;
  animation: trans2 1.3s linear infinite 0.3s backwards;
}

#bottom .plane {
  z-index: 2000;
  -webkit-animation: trans3 1.3s ease-out infinite 0.7s backwards;
  animation: trans3 1.3s ease-out infinite 0.7s backwards;
}

#top {
  width: 53px;
  height: 20px;
  left: 20px;
  -webkit-transform: skew(-15deg, 0);
  transform: skew(-15deg, 0);
  z-index: 100;
}

#middle {
  width: 33px;
  height: 20px;
  left: 20px;
  top: 15px;
  -webkit-transform: skew(-15deg, 40deg);
  transform: skew(-15deg, 40deg);
}

#bottom {
  width: 53px;
  height: 20px;
  top: 30px;
  -webkit-transform: skew(-15deg, 0);
  transform: skew(-15deg, 0);
}
