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

export const ScPriceInfo = styled.div`
  height: 186px;
  border: 1px solid #FFFFFF;
  border-radius: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  color: #FFFFFF;
  padding: 10px 21px;

  font-weight: 600;
  font-size: 20px;
  line-height: 28px;

  > * {
    margin: 10px 0;

    ${isMobileDevice
    ? css`
        min-width: 100px;
        margin: 0;
      `
    : ''};
  }

  ${isMobileDevice
    ? css`
        font-size: 10px;
        padding: 5px;
        height: auto;
        border-radius: 14px;
        margin-right: 15px;
      `
    : ''};
`

export const ScTitle = styled.span`
  text-align: center;
  
`

export const ScPrice = styled.span`
  font-size: 80px;
  margin-left: -22px;
  text-align: center;

  ${isMobileDevice
    ? css`
        margin: 0;
        font-size: 32px;
      `
    : ''};
`

export const ScCurrency = styled.span`
  font-size: 40px;

  ${isMobileDevice
    ? css`
        font-size: 16px;
      `
    : ''};
`

export const ScWatchDemo = styled.span`
  font-weight: 400;
  width: 100%;
  text-align: center;
  text-decoration: underline;
  flex-direction: row;

  & :hover {
    cursor: pointer;
  }
`
