---
import { Image } from 'astro:assets'
import Layout from '@layouts/Layout.astro'
import sadshishou from '@assets/shishousad.webp'
import SmallTitle from '@components/titles/smallTitle.astro'

const description = "Error. This shouldn't happen :/"
---

<Layout
  title="404 - firq.dev"
  currentpage="404"
  descriptionOverride={description}
>
  <SmallTitle maintext='Error' subtext='FirqhundredandFirq - Not Found' fadeout={true}/>
    <div>
      <Image src={sadshishou} alt="Sad Shishou" />
      <h2>Well ... you were not supposed to end up here.</h2>
      <a href="/" aria-label="Home" rel="noopener noreferrer">
        &lt;&lt; Go back home
      </a>
    </div>
</Layout>

<style>
  div {
    padding: 0px 2rem;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
  }
  h2 {
    font-family: 'Work Sans Variable', sans-serif;
    font-weight: 500;
    color: var(--c-primary-text);
    font-size: 1.25rem;
    margin-top: 1rem;
    max-width: max-content;
    text-align: center;
    font-style: italic;
  }

  a {
    text-align: center;
    width: fit-content;
    font-weight: 500;
    font-family: 'Work Sans Variable', sans-serif;
    color: var(--c-primary-text);
    margin: 1rem 0px 0px;
    padding: 0.5rem 0.75rem;
    text-decoration: none;
    background-color: var(--c-primary-background);
    border-radius: 10px;
    border-style: solid;
    border-width: 2px;
    border-color: var(--c-primary-background);
    text-transform: capitalize;
  }

  a:hover {
    border-color: var(--c-accent-1);
  }

  img {
    width: 200px;
    height: auto;
    border-radius: 10%;
  }
</style>