.button,
.updates-submit,
.back-to-top {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  z-index: 0;
}

.button::before,
.button::after,
.updates-submit::before,
.updates-submit::after,
.back-to-top::before,
.back-to-top::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  transform: translateY(105%);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -1;
}

.button::before,
.updates-submit::before,
.back-to-top::before {
  background: rgba(22, 59, 44, 0.78);
}

.button::after,
.updates-submit::after,
.back-to-top::after {
  background: #153b2c;
  transition-delay: 0.09s;
}

.button span,
.updates-submit span,
.back-to-top span,
.back-to-top i {
  position: relative;
  z-index: 2;
}

.button:hover::before,
.button:hover::after,
.button:focus-visible::before,
.button:focus-visible::after,
.updates-submit:hover::before,
.updates-submit:hover::after,
.updates-submit:focus-visible::before,
.updates-submit:focus-visible::after,
.back-to-top:hover::before,
.back-to-top:hover::after,
.back-to-top:focus-visible::before,
.back-to-top:focus-visible::after {
  transform: translateY(0);
}

.button:hover,
.button:focus-visible,
.updates-submit:hover,
.updates-submit:focus-visible,
.back-to-top:hover,
.back-to-top:focus-visible {
  background: #efc767;
  border-color: #153b2c;
  color: #fff;
  transform: translateY(-3px);
}

.button-primary,
.button-outline-gold,
.button-secondary,
.updates-submit,
.back-to-top {
  background: #efc767;
  color: #fff;
}
