import styled, { css } from 'styled-components'; import { mediaMin } from '../../theme/mixins'; export const HowBlock = styled.div` display: inline-block; text-align: center; position: relative; margin: 10px; ${mediaMin.medium(css` margin: 1%; width: 48%; `)} ${mediaMin.large(css` margin: 15px; max-width: 200px; width: 100%; :not(:last-child):after { content: ""; position: absolute; width: calc(70% + 30px); left: 65%; height: 1px; top: 175px; background-image: linear-gradient(to right, black 33%, rgba(255, 255, 255, 0) 0%); background-position: bottom; background-size: 4px 2px; background-repeat: repeat-x; } `)} img { height: 120px; } span { margin: 40px 0 20px; display: inline-block; border-radius: 50%; background-color: ${props => props.theme.default.colors.black}; color: ${props => props.theme.default.colors.white}; height: 32px; width: 32px; text-align: center; font-size: ${props => props.theme.default.fonts.sizes[4]}; line-height: 2rem; ${props => props.theme.default.fonts.quicksandBold} } p { margin-top: 10px; color: ${props => props.theme.default.colors.darkGrey}; } `;