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; max-width: 400px; ${mediaMin.medium(css` margin: 1%; width: 48%; `)} ${mediaMin.large(css` margin: 30px; width: 100%; :not(:last-child):after { z-index: -1; content: ""; position: absolute; width: calc(70% + 30px); left: 70%; height: 2px; top: 60px; background-image: linear-gradient(to right, ${props => props.theme.default.colors.darkGrey} 25%, ${props => props.theme.default.colors.white} 0%); background-position: bottom; background-size: 8px 2px; background-repeat: repeat-x; } `)} img { height: auto; width: 120px; margin-bottom: 20px; } `; export const HowWrapper = styled.div` text-align: center; ${mediaMin.large(css` display: flex; justify-content: space-between; `)} `;