text: import React from "react"
  
  import styled from "styled-components"
  import Layout from "../components/Layout/Layout"
  import SEO from "../components/seo"
  
  const CenteredContainer = styled.div`
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
  `
  
  const Background = styled.div`
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #121427;
  `
  
  const H1 = styled.h1`
    z-index: 99;
    position: relative;
    font-family: "roobert_medium", sans-serif;
    font-weight: 900;
    letter-spacing: -0.3px;
    font-size: 56px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: white;
    padding-top: 120px;
  
    @media (max-width: 500px) {
      padding-top: 80px;
      font-size: 36px;
    }
  `
  
  const P = styled.p`
    z-index: 99;
    position: relative;
    font-family: "roobert_medium", sans-serif;
    font-size: 22px;
    max-width: 550px;
    margin: 15px auto 15px;
    line-height: 1.3;
    opacity: 0.7;
    text-align: center;
    color: white;
    @media (max-width: 500px) {
      font-size: 18px;
    }
  `
  
  const NotFoundPage = () => (
    <Layout>
      <SEO title="404" />
  
      <CenteredContainer>
        <div>
          <H1>🗺 Oops, we couldn&apos;t find that page</H1>
          <P>We hope you find your flock.</P>
        </div>
      </CenteredContainer>
      <Background />
    </Layout>
  )
  
  export default NotFoundPage
  