.hty {
  &-button {
    font-family: Roboto, sans-serif;
    background-color: transparent;
    margin: 0 1rem;
    padding: 0 0.5rem;
    border-radius: 2px;
    color: $colors.primary;
    the-transition();
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    min-height: 2rem;
    min-width: 4rem;
    outline: none;
    line-height: 2;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.09rem;
    -webkit-font-smoothing: antialiased;

    &:hover {
      background-color: alpha($colors.primary, 0.05);
    }

    &--raised {
      background-color: var(--hty-primary-color, $colors.primary);
      box-shadow: 0px 2px 10px -1px rgba(0, 0, 0, 0.3);
      color: white;

      &:focus {
        color: #eee;
      }

      &:hover {
        color: white;
        background-color: alpha($colors.primary, 0.9);
      }
    }
  }

  &-icon-button {
    display: inline-flex;
    border: none;
    width: 3rem;
    height: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
    the-transition();

    &:hover {
      background-color: alpha($colors.primary, 0.1);
    }

    &:active {
      background-color: alpha($colors.primary, 0.3);
    }
  }
}

.button {
  &-glow {
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-name: glowing;
    animation-direction: alternate;
  }
}

@keyframes glowing {
  from {
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  }

  to {
    box-shadow: 0 0 20px rgba($colors.primary, 0.3);
  }
}