import styled from 'styled-components/macro'

import { devices } from 'config/devices'

export const PriceWrapper = styled.div`
  display: flex;
  align-items: flex-start;

  @media ${devices.tablet} {
    justify-content: center;
   }
`

export const PriceAmount = styled.span`
  font-style: normal;
  font-weight: 600;
  font-size: 48px;
  line-height: 40px;
  color: ${({ theme: { colors } }) => colors.text};

  @media ${devices.tablet} {
    font-size: 36px;
  }

  @media ${devices.mobile} {
    margin-left: 8px;
  }
`

export const PriceDetails = styled.span`
  margin-left: 5px;
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 21px;
  color: ${({ theme: { colors } }) => colors.text};
  text-transform: uppercase;

  @media ${devices.tablet} {
    font-size: 11px;
  }
`
