---
import { Image } from 'astro:assets'
import Layout from '../layouts/Layout.astro'
import BaseSection from '../layouts/baseSection.astro'
import sadshishou from '../assets/shishousad.webp'

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

<Layout
  title="404 - FGO TA"
  currentpage="404"
  descriptionOverride={description}
>
  <BaseSection title="Firqhundred&shy;andFirq - Not Found" description="">
    <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>
  </BaseSection>
</Layout>

<style>
  div {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
  }
  h2 {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    margin-top: 1rem;
    max-width: max-content;
  }
  a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75%;
    text-align: center;
    color: white;
    background-color: var(--c-gray);
    padding: 0.5rem 0px;
    margin-bottom: 2rem;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
  }

  a:hover {
    color: var(--c-darkpurple);
  }

  img {
    width: 256px;
    height: 256px;
  }
</style>
