:root {
  --slide-animation-duration: .4s;
  --fadeAnimationDuration: .8s;
  --fadeAnimationGap: 100px;
}

.layout-slide-item-animation {
  animation-fill-mode: forwards;
}

.layout-slide-item-animation.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
}

.layout-slide-item-animation.animated {
  animation-duration: var(--slide-animation-duration);
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-left.animated {
  animation-name: slideInLeft;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.animation-flip {
  position: relative;
  padding: 0;
}

.animation-flip:hover .front {
  transform: rotateY(180deg);
}

.animation-flip:hover .back {
  transform: rotateY(0);
}

.animation-flip .front,
.animation-flip .back {
  backface-visibility: hidden;
  /* transition: transform 0.5s; */
}

.animation-flip .front {
  transform: rotateY(0);
}

.animation-flip .back {
  transform: rotateY(180deg);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

@media (max-width:991px) {

  .animation-flip:hover .front,
  .animation-flip:hover .back {
    transform: none;
  }

  .animation-flip .back {
    display: none;
  }
}

@keyframes animation-nnapuo {
  0% {
    transform: scale(1.5);
  }

  100% {
    transform: scale(1);
  }
}


.zoom-box-wrapper,
.zoom-hover-animation-wrapper {
  overflow: hidden;
}

.zoom-box-wrapper .image-load-toggle,
.zoom-hover-animation-inner {
  transition: .5s;
  transform: scale(1);
}

.zoom-box-wrapper .image-load-toggle.done:hover,
.zoom-hover-animation-inner:hover {
  transform: scale(1.1);
}

.scrollUpSection {
  transition: all .6s ease;
  -webkit-transition: all .6s ease;
}

.scrollUpSection.hidden:not(.show):not(.left) {
  transform: translateY(250px);
}

.scrollUpSection.left.hidden:not(.show) {
  transform: translateX(-150px);
}

.scrollUpSection:not(.show) {
  pointer-events: none;
  opacity: .1;
}


/* fade in animation */
.fade-in-animation {
  transition: opacity var(--fadeAnimationDuration) ease-in-out, transform var(--fadeAnimationDuration) cubic-bezier(0.19, 1, 0.22, 1);
  will-change: transform, opacity;
}

.fade-in-animation:not(.animated) {
  opacity: 0;
}

.fade-in-animation.animated {
  opacity: 1;
}

.fade-in-bottom:not(.animated) {
  transform: translateY(var(--fadeAnimationGap));
}

.fade-in-bottom.animated {
  transform: translateY(0px);
}

.fade-in-left:not(.animated) {
  transform: translateX(calc(-1 * var(--fadeAnimationGap)));
}

.fade-in-left.animated {
  transform: translateX(0px);
}


.fade-in-right:not(.animated) {
  transform: translateX(calc(1 * var(--fadeAnimationGap)));
}

.fade-in-right.animated {
  transform: translateX(0px);
}

.arrows-animation-wrapper {
  width: 40px;
  height: 40px;
}

.arrows-animation {
  display: flex;
  position: relative;
  width: 100%;
  height: 100%;
}

.arrows-animation.revert .arrow {
  transform: rotate(45deg) translateY(-50%);
  top: calc(50% - 4px);
}

.arrows-animation .arrow {
  padding: 1rem;
  box-shadow: 2px -2px var(--goldColor) inset;
  transform: rotate(225deg) translateY(-50%);
  opacity: 0;
  position: absolute;
  top: calc(50% - 28px);
}

.arrows-animation .arrow-one {
  animation: arrowMovement 2s ease-in-out infinite;
}

.arrows-animation .arrow-two {
  animation: arrowMovement 2s 1s ease-in-out infinite;
}

.arrows-animation.revert .arrow-one {
  animation: arrowRevertMovement 2s ease-in-out infinite;
}

.arrows-animation.revert .arrow-two {
  animation: arrowRevertMovement 2s 1s ease-in-out infinite;
}

@media (max-width:1100px) {
  .arrows-animation .arrow {
    padding: 12px;
    top: calc(50% - 20px);
  }
}

@keyframes arrowMovement {
  0% {
    left: -10px;
    opacity: 0;
  }

  70% {
    opacity: 1;
  }

  100% {
    left: 20px;
    opacity: 0;
  }
}

@keyframes arrowRevertMovement {
  0% {
    right: -10px;
    opacity: 0;
  }

  70% {
    opacity: 1;
  }

  100% {
    right: 20px;
    opacity: 0;
  }
}