/* Custom CSS */

.overflowx {
  overflow-x: visible;
}

/* From Uiverse.io by abrahamcalsin */ 
.slideybutton {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  background: #F02125;
  font-family: "Montserrat", sans-serif;
  box-shadow: 0px 6px 24px 0px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  cursor: pointer;
  border: none;
}

.slideybutton:after {
  content: " ";
  width: 0%;
  height: 100%;
  background: #eee;
  position: absolute;
  transition: all 0.4s ease-in-out;
  right: 0;
}

.slideybutton:hover::after {
  right: auto;
  left: 0;
  width: 100%;
}

.slideybutton span {
  text-align: center;
  text-decoration: none;
  width: 100%;
  padding: 18px 25px;
  color: var(--colour3);
  font-size: 1.125em;
  font-weight: 700;
  letter-spacing: 0.3em;
  z-index: 20;
  transition: all 0.3s ease-in-out;
}

.slideybutton:hover span {
  color: var(--colour1);
  animation: scaleUp 0.3s ease-in-out;
}

@keyframes scaleUp {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.95);
  }

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