// Butons

.btn {
  display: inline-block;
  padding: remy(8px) remy(18px) remy(9px);
  font-size: remy(16px);
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  border: 1px solid rgba(0, 0, 0, 0);
  border-radius: $radius;
  cursor: pointer;
  user-select: none;

  @include box-shadow(2);
  @include transition(all);

  &:focus {
    outline: 0;
  }

  &:focus,
  &:hover {
    @include box-shadow(3);
  }

  &--round {
    padding: remy(12px) 0;
    width: remy(46px);
    border-radius: 50%;
  }

  &--danger {
    &,
    &:not([href]):not([tabindex]),
    &:hover {
      color: #fff;
      background: $gradient-red-fallback;
      background-image: $gradient-red;
    }

    &,
    &:not([href]):not([tabindex]) {
      box-shadow: 0 10px 40px rgba(238, 9, 121, .3);
    }

    &:not([href]):not([tabindex]):hover,
    &:hover {
      box-shadow: 0 10px 50px rgba(238, 9, 121, .5);
    }
  }

  &--primary {
    &,
    &:not([href]):not([tabindex]),
    &:hover {
      color: #fff;
      background: $gradient-purple-fallback;
      background-image: $gradient-purple;
    }

    &,
    &:not([href]):not([tabindex]) {
      box-shadow: 0 10px 40px rgba(123, 22, 255, .3);
    }

    &:not([href]):not([tabindex]):hover,
    &:hover {
      box-shadow: 0 10px 50px rgba(123, 22, 255, .5);
    }
  }

  &--secondary {
    &,
    &:not([href]):not([tabindex]) {
      color: #fff;
      background: map-get($colors, green);

      &:focus,
      &:hover {
        color: #fff;
        background: map-get($colors, green-light);
      }
    }
  }
}
