frontend/src/assets/styles/partials/_Btn.scss
@use '../base/breakpoints' as breakpoints;

.Btn {
  width: fit-content;
  border-radius: 2.5rem !important;
  font-family: var(--font-title), sans-serif !important;
  font-style: italic !important;
  font-weight: 700 !important;
  padding: 0.375rem 0.75rem !important;
  font-size: 0.875rem !important;
  line-height: 1.25rem !important;
  border: solid 0.125rem transparent !important;

  @media only screen and (min-width: breakpoints.$width-mobile) {
    padding: 0.5rem 1rem !important;
    font-size: 0.875rem !important;
  }

  .MuiSvgIcon-root {
    font-size: 1.75rem !important;
  }

  &--white {
    background-color: var(--mui-palette-white-main) !important;
    color: var(--mui-palette-purple-main) !important;

    &.Btn--transparent {
      background-color: rgba(var(--mui-palette-lightPurple-mainChannel) / 0.2) !important;
    }

    &.Btn--bordered {
      color: var(--mui-palette-white-main) !important;
    }
  }

  &--purple {
    background-color: var(--mui-palette-purple-main) !important;
    color: var(--mui-palette-white-main) !important;

    &.Btn--bordered {
      color: var(--mui-palette-purple-main) !important;
    }
  }

  &--body {
    background-color: var(--mui-palette-body-main) !important;
    color: var(--mui-palette-white-main) !important;

    &.Btn--bordered {
      color: var(--mui-palette-body-main) !important;
    }
  }

  &--primary {
    background-color: var(--mui-palette-primary-main) !important;
    color: var(--mui-palette-white-main) !important;

    &.Btn--bordered {
      color: var(--mui-palette-primary-main) !important;
    }
  }

  &--secondary {
    background-color: var(--mui-palette-secondary-main) !important;
    color: var(--mui-palette-white-main) !important;

    &.Btn--bordered {
      color: var(--mui-palette-secondary-main) !important;
    }
  }

  &--bordered {
    background-color: transparent !important;
    border-color: currentColor !important;
  }

  &--centered {
    margin: 0 auto !important;
  }

  &--large {
    padding-left: 4rem !important;
    padding-right: 4rem !important;
  }
}
