import { Link } from 'react-router-dom'

import styled, { css } from 'styled-components/macro'

import { isMobileDevice } from 'config/userAgent'

import { outlineButtonStyles } from 'features/Common/Button'

export const RegisterButton = styled(Link)`
  ${outlineButtonStyles}
  width: 100%;
  height: 50px;
  border-radius: 5px;
  margin-top: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  ${isMobileDevice
    ? css`
        height: 44px;
        margin-top: 12px;
        font-weight: 500;
        font-size: 17px;
        border-radius: 10px;
        @media screen and (orientation: landscape) {
          margin: 12px auto 0;
        }
      `
    : ''};
`
