text: import React from 'react'
  import Image from 'gatsby-image'
  import styled from '@emotion/styled'
  import { Global, css } from "@emotion/core"
  
  import "./styles.css"
  
  export const breakpoints = {
    s: 576,
    m: 768,
    l: 992,
    xl: 1200,
  }
  
  export const GlobalStyle = props => (
    <Global
      {...props}
      styles={css`
        body {
          margin: 0;
          font-family: 'Avenir';
          font-weight: 700;
          color: rgb(38,38,38);
        }
        html {
          font-family: sans-serif;
          -ms-text-size-adjust: 100%;
          -webkit-text-size-adjust: 100%;
        }
        :focus {
          outline: none;
        }
        .pastel1 {
          background-color: #d6f2fe;
        }
        .pastel2 {
          background-color: #c1edff;
        }
        .pastel3 {
          background-color: #ffe3f4;
        }
        .pastel4 {
          background-color: #fef8d4;
        }
        .pastel5 {
          background-color: #ffe5dc;
        }
        .pastel6 {
          background-color: #fde8ef;
        }
        .pastel7 {
          background-color: #f8fddf;
        }
        .pastel8 {
          background-color: #cef7fd;
        }
        .pastel9 {
          background-color: #e5ffe6;
        }
        .black-text, a {
          color: rgb(38,38,38);
          text-decoration: none;
        }
        .ais-Highlight-highlighted {
          background: rgba(78, 155, 249,0.2);
          font-style: normal;
          padding-top: 3px;
          padding-bottom: 1px;
          border-radius: 3px;
        }
        .ais-SearchBox-input {
          background-color: rgba(0,0,0,0.02);
          border: none;
          border: 1px solid rgba(0,0,0,0.06);
          border-radius: 24px;
          padding: 10px 15px;
        }
        ul {
          margin: 0;
          padding: 0;
          list-style: none;
        }
        .hits-item-small {
          padding: 0px;
          font-size: 14px;
          font-family: 'AvenirBold';
        }
        .hits-item-small:hover {
          background-color: rgb(246,246,246);
        }
        .ais-SearchBox-submit, .ais-SearchBox-reset {
          width: 0px;
          position: absolute;
          display: none;
        }
        .visible {
          display: block;
        }
        .hidden {
          display: none;
        }
        .grid .ais-Hits .ais-Hits-list {
          display: grid;
          grid-template-columns: repeat(3, 1fr);
          gap: 0rem;
  
          @media (max-width: ${breakpoints.s}px){
            grid-template-columns: repeat(1, 1fr);
          }
        }
        .grid .ais-Hits .ais-Hits-list .ais-Hits-item {
          display: flex;
          min-height: 100%;
          flex-direction: column;
          justify-content: center;
        }
        .ais-Pagination-list {
          margin-top: 50px;
          display: flex;
          justify-content: center;
        }
        .ais-Pagination-item {
          padding: 10px;
        }
      `}
    />
  )
  
  /* #### Generated By: http://www.cufonfonts.com #### */
  
  
  
  
  // @font-face {
  // font-family: 'Brandon Grotesque Regular Italic';
  // font-style: normal;
  // font-weight: normal;
  // src: local('Brandon Grotesque Regular Italic'), url('Brandon_reg_it.woff') format('woff');
  // }
  
  
  // @font-face {
  // font-family: 'Brandon Grotesque Thin';
  // font-style: normal;
  // font-weight: normal;
  // src: local('Brandon Grotesque Thin'), url('Brandon_thin.woff') format('woff');
  // }
  
  
  // @font-face {
  // font-family: 'Brandon Grotesque Thin Italic';
  // font-style: normal;
  // font-weight: normal;
  // src: local('Brandon Grotesque Thin Italic'), url('Brandon_thin_it.woff') format('woff');
  // }
  
  
  // @font-face {
  // font-family: 'Brandon Grotesque Light';
  // font-style: normal;
  // font-weight: normal;
  // src: local('Brandon Grotesque Light'), url('Brandon_light.woff') format('woff');
  // }
  
  
  // @font-face {
  // font-family: 'Brandon Grotesque Light Italic';
  // font-style: normal;
  // font-weight: normal;
  // src: local('Brandon Grotesque Light Italic'), url('Brandon_light_it.woff') format('woff');
  // }
  
  
  // @font-face {
  // font-family: 'Brandon Grotesque Medium';
  // font-style: normal;
  // font-weight: normal;
  // src: local('Brandon Grotesque Medium'), url('Brandon_med.woff') format('woff');
  // }
  
  
  // @font-face {
  // font-family: 'Brandon Grotesque Medium Italic';
  // font-style: normal;
  // font-weight: normal;
  // src: local('Brandon Grotesque Medium Italic'), url('Brandon_med_it.woff') format('woff');
  // }
  
  
  // @font-face {
  // font-family: 'Brandon Grotesque Bold';
  // font-style: normal;
  // font-weight: normal;
  // src: local('Brandon Grotesque Bold'), url('Brandon_bld.woff') format('woff');
  // }
  
  
  // @font-face {
  // font-family: 'Brandon Grotesque Bold Italic';
  // font-style: normal;
  // font-weight: normal;
  // src: local('Brandon Grotesque Bold Italic'), url('Brandon_bld_it.woff') format('woff');
  // }
  
  
  // @font-face {
  // font-family: 'Brandon Grotesque Black';
  // font-style: normal;
  // font-weight: normal;
  // src: local('Brandon Grotesque Black'), url('Brandon_blk.woff') format('woff');
  // }
  
  
  // @font-face {
  // font-family: 'Brandon Grotesque Black Italic';
  // font-style: normal;
  // font-weight: normal;
  // src: local('Brandon Grotesque Black Italic'), url('Brandon_blk_it.woff') format('woff');
  // }
  
  
  export const Img = styled(Image)`
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    margin-top: 0;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    margin-bottom: 1rem;
  `
  
  export const Container = styled.div`
    margin: 0 auto;
  `
  
  export const TwoColumnGrid = styled.div`
    display: flex;
    justify-content: center;
  
    @media (max-width: ${breakpoints.l}px){
      display: block;
    }
  `
  
  export const GridLeft = styled.div`
    margin-top: 48px;
    display: flex;
    width: 58.2%;
    flex-wrap: wrap;
    align-content: flex-start;
  `
  
  export const GridRight = styled.div`
    margin-top: 48px;
    width: 41.8%;
  `
  
  export const MainContent = styled.main`
    margin-top: 80px;
    margin-bottom: 40px;
  
    @media (max-width: ${breakpoints.l}px){
      margin-top: 40px;
      margin-bottom: 20px;
    }
  `