import styled from 'styled-components'
import theme from 'theme'
import ArrowRight from './assets/arrow-right.svg'

export const Container = styled.div`
  display: block;
  overflow: hidden;
`

export const Title = styled.h4`
  color: ${theme.textStyles.boxTitle.color};
  font: ${theme.textStyles.boxTitle.font}, sans-serif;
  font-size: ${theme.fontSizes.ml};
  margin: 0;
  margin-bottom: 8px;
`
export const Text = styled.p`
  font: ${theme.textStyles.boxText.font}, sans-serif;
  font-size: ${theme.fontSizes.ml};
  margin: 0;
  margin-bottom: 10px;
`

export const Link = styled.a`
  color: ${theme.textStyles.link.color};
  display: block;
  font: ${theme.textStyles.link.font};
  font-size: ${theme.fontSizes.ml};
  text-decoration: none;

  > span {
    background-image: url(${ArrowRight});
    background-repeat: no-repeat;
    background-size: cover;
    display: inline-block;
    height: 10px;
    margin-left: 8px;
    vertical-align: middle;
    width: 10px;
  }
`

export default Container
