/* Button text */

.button-text {
  position: relative;
  z-index: 9999;
}

.button-text:hover .arrow-forward {
  transform: translateX(30px);
  animation: arrowslideleft 0.5s forwards;
}

.button-text .arrow-forward {
  width: auto;
  height: auto;
  animation: arrowslideleftreverse 0.5s backwards;
}

/* Link go to */

.link-goto {
  font-family: 'Neue Haas Grotesk Display Pro';
  font-weight: 400;
  letter-spacing: 0.03rem;
}

.link-goto:hover .arrow-down {
  transform: translateX(30px);
  animation: arrowslidedown 0.5s forwards;
}

.link-goto .arrow-down {
  width: auto;
  height: auto;
  animation: arrowslidedownreverse 0.5s backwards;
}

.link-goto:hover .arrow-upward {
  transform: translateX(30px);
  animation: arrowslidedownreverse 0.5s forwards;
}

.link-goto .arrow-upward {
  width: auto;
  height: auto;
  animation: arrowslidedown 0.5s backwards;
}

/* Button go to */

.button-goto {
  background-size: 100% 200%;
  background-image: linear-gradient(to bottom, rgba(255,255,255,0) 50%, white 50%)!important;
  -webkit-transition: background-position 1s;
  -moz-transition: background-position 1s;
  transition: background-position 0.5s;
  padding: 15px 25px;
  border-radius: 0px;
  font-family: 'Neue Haas Grotesk Display Pro';
  font-weight: 400;
  /*letter-spacing: 0.03rem;*/
}

.button-goto:hover {
  background-position: 0 100%;
  color: var(--bs-primary) !important;
}

.button-goto:hover .arrow-down {
  color: var(--bs-primary)!important;
  transform: translateX(30px);
  animation: arrowslidedown 0.5s forwards;
}

.button-goto .arrow-down {
  width: auto;
  height: auto;
  animation: arrowslidedownreverse 0.5s backwards;
}

.button-goto:hover .arrow-upward {
  transform: translateX(30px);
  animation: arrowslidedownreverse 0.5s forwards;
}

.button-goto .arrow-upward {
  width: auto;
  height: auto;
  animation: arrowslidedown 0.5s backwards;
}

/* Button PDF */

.button-pdf {
  font-family: 'Neue Haas Grotesk Display Pro';
  font-weight: 400;
  letter-spacing: 0.03rem;
  /*transition: color 1s ease;*/
}

.pdf-icon {
  color: var(--bs-secondary);
  transition: color 0.3s ease;
}

.button-pdf:hover {
  color: var(--bs-primary)!important;
}

.button-pdf:hover .pdf-icon {
  color: var(--bs-primary)!important;
}

/* Button heading */

.button-heading {
  font-family: 'Neue Haas Grotesk Display Pro';
  font-weight: 400;
}

.button-heading .arrow-forward {
  width: auto;
  height: auto;
  animation: bigarrowslideleftreverse 0.5s backwards;
}

.button-heading:hover .arrow-forward {
  transform: translateX(30px);
  animation: bigarrowslideleft 0.5s forwards;
}

.button-heading .arrow-diagonal {
  width: auto;
  height: auto;
  animation: bigarrowslidediagonalreverse 0.5s backwards;
}

.button-heading:hover .arrow-diagonal {
  transform: translateX(30px);
  animation: bigarrowslidediagonal 0.5s forwards;
}

/* Primary Button */

.button-primary {
  background-size: 100% 200%;
  background-image: linear-gradient(to bottom, rgba(255,255,255,0) 50%, white 50%)!important;
  -webkit-transition: background-position 1s;
  -moz-transition: background-position 1s;
  transition: background-position 0.5s;
  padding: 15px 25px;
  border-radius: 0px;
  font-family: 'Neue Haas Grotesk Display Pro';
  font-weight: 400;
  /*letter-spacing: 0.03rem;*/
}

.button-primary:hover {
  background-position: 0 100%;
  color: var(--bs-primary) !important;
}

.button-primary:hover .arrow-forward {
  color: var(--bs-primary)!important;
  transform: translateX(30px);
  animation: arrowslideleft 0.5s forwards;
}

.button-primary .arrow-forward {
  width: auto;
  height: auto;
  animation: arrowslideleftreverse 0.5s backwards;
}

/* Secondary Button */

.button-secondary {
  background-size: 100% 200%;
  background-image: linear-gradient(to bottom, #191919 50%, #ffffff 50%)!important;
  -webkit-transition: background-position 1s;
  -moz-transition: background-position 1s;
  transition: background-position 0.5s;
  padding: 15px 25px;
  border-radius: 0px;
  font-family: 'Neue Haas Grotesk Display Pro';
  font-weight: 400;
  letter-spacing: 0.03rem;
}

.button-secondary:hover {
  background-position: 0 100%;
  color: var(--bs-primary)!important;
}

.button-secondary:hover .arrow-forward {
  color: var(--bs-primary)!important;
  transform: translateX(30px);
  animation: arrowslideleft 0.5s forwards;
}

.button-secondary .arrow-forward {
  width: auto;
  height: auto;
  animation: arrowslideleftreverse 0.5s backwards;
}

/* Third Button */

.button-third {
  background-size: 100% 200%;
  background-image: linear-gradient(to bottom, #191919 50%, #f4f4f1 50%)!important;
  -webkit-transition: background-position 1s;
  -moz-transition: background-position 1s;
  transition: background-position 0.5s;
  padding: 15px 25px;
  border-radius: 0px;
  font-family: 'Neue Haas Grotesk Display Pro';
  font-weight: 400;
  letter-spacing: 0.03rem;
}

.button-third:hover {
  background-position: 0 100%;
  color: var(--bs-primary)!important;
}

.button-third:hover .arrow-forward {
  color: var(--bs-primary)!important;
  transform: translateX(30px);
  animation: arrowslideleft 0.5s forwards;
}

.button-third .arrow-forward {
  width: auto;
  height: auto;
  animation: arrowslideleftreverse 0.5s backwards;
}

/* Menu link */

.ep-footer-link, .ep-menu-link, .ep-footer-link2, .ep-related-link, .ep-menu-link-active {
  border: 0px;
  border-radius: 0px;
  font-family: 'Neue Haas Grotesk Display Pro';
  font-weight: 400;
  /*letter-spacing: 0.03rem;*/
}

.ep-footer-link:after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--bs-secondary) !important;
  transform-origin: bottom right;
  transition: transform 0.3s ease-in;
}

/* Rotate link */

.rotate-link .rotate-icon {
  transition: transform 0.5s ease-in-out;
}

.rotate-link:hover .rotate-icon {
  transform: rotate(360deg);
}

/* Arrow Backward link */

.arrow-backward-link .arrow-backward-icon {
  width: auto;
  height: auto;
  animation: bigarrowslideleft 0.5s backwards;
}

.arrow-backward-link:hover .arrow-backward-icon {
  transform: translateX(30px);
  animation: bigarrowslideleftreverse 0.5s forwards;
}

/* Animations */

@keyframes arrowslideleft {
  0% {
    transform: translateX(0px);
    animation-timing-function: linear;
  }
  25% {
    opacity: 0;
    transform: translateX(30px);
    animation-timing-function: linear;
  }
  50% {
    opacity: 0;
    transform: translateX(-10px);
    animation-timing-function: linear;
  }
  100% {
    transform: translateX(0px);
    animation-timing-function: linear;
  }
}

@keyframes arrowslideleftreverse {
  0% {
    transform: translateX(0px);
    animation-timing-function: linear;
  }
  25% {
    opacity: 0;
    transform: translateX(-30px);
    animation-timing-function: linear;
  }
  50% {
    opacity: 0;
    transform: translateX(10px);
    animation-timing-function: linear;
  }
  100% {
    transform: translateX(0px);
    animation-timing-function: linear;
  }
}

@keyframes bigarrowslideleft {
  0% {
    transform: translateX(0px);
    animation-timing-function: linear;
  }
  25% {
    opacity: 0;
    transform: translateX(30px);
    animation-timing-function: linear;
  }
  50% {
    opacity: 0;
    transform: translateX(-10px);
    animation-timing-function: linear;
  }
  100% {
    transform: translateX(0px);
    animation-timing-function: linear;
  }
}

@keyframes bigarrowslideleftreverse {
  0% {
    transform: translateX(0px);
    animation-timing-function: linear;
  }
  25% {
    opacity: 0;
    transform: translateX(-30px);
    animation-timing-function: linear;
  }
  50% {
    opacity: 0;
    transform: translateX(10px);
    animation-timing-function: linear;
  }
  100% {
    transform: translateX(0px);
    animation-timing-function: linear;
  }
}

@keyframes bigarrowslidediagonal {
  0% {
    transform: translate(0px, 0px);
    opacity: 1;
  }
  25% {
    opacity: 0;
    transform: translate(30px, -30px);
  }
  50% {
    opacity: 0;
    transform: translate(-10px, 10px);
  }
  100% {
    transform: translate(0px, 0px);
    opacity: 1;
  }
}

@keyframes bigarrowslidediagonalreverse {
  0% {
    transform: translate(0px, 0px);
    opacity: 1;
  }
  25% {
    opacity: 0;
    transform: translate(-30px, 30px);
  }
  50% {
    opacity: 0;
    transform: translate(10px, -10px);
  }
  100% {
    transform: translate(0px, 0px);
    opacity: 1;
  }
}

@keyframes arrowslidedown {
  0% {
    transform: translateY(0px);
    animation-timing-function: ease-in;
  }
  25% {
    transform: translateY(20px);
    animation-timing-function: ease-in;
  }
  50% {
    opacity: 0;
    transform: translateY(-20px);
    animation-timing-function: ease-in;
  }
  100% {
    transform: translateY(0px);
    animation-timing-function: ease-in;
  }
}

@keyframes arrowslidedownreverse {
  0% {
    transform: translateY(0px);
    animation-timing-function: ease-out;
  }
  25% {
    transform: translateY(-20px);
    animation-timing-function: ease-out;
  }
  50% {
    opacity: 0;
    transform: translateY(20px);
    animation-timing-function: ease-out;
  }
  100% {
    transform: translateY(0px);
    animation-timing-function: ease-out;
  }
}

@keyframes slide-left-right {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-100%);
  }
  51% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
}

