text: import styled from 'styled-components'
  import media from 'styled-media-query'
  import { Link } from 'gatsby'
  import { rem, rgba, darken } from 'polished'
  
  import { color } from '../../styles/variables'
  
  export const Container = styled.header`
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: 60px;
    background-color: ${color.white};
    border-bottom: 1px solid ${rgba(color.blue, 0.06)};
  `
  
  export const Wrapper = styled.div`
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
  
    ${media.greaterThan('small')`
      padding-left: 26px;
      padding-right: 26px;
    `}
  `
  
  export const Title = styled.h1`
    font-size: ${rem(22)};
    font-weight: 700;
    text-transform: uppercase;
    color: ${color.blue};
  `
  
  export const Button = styled(Link)`
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
    padding: 10px 16px;
    font-size: ${rem(12)};
    text-transform: uppercase;
    color: ${color.white};
    background-color: ${color.blue};
    border: 1px solid ${color.blue};
    border-radius: 3px;
    transition: all .2s linear;
  
    &:hover {
      background-color: ${darken(0.2, color.blue)};
      border-color: ${darken(0.2, color.blue)}
    }
  `
  