---
import '@fontsource/work-sans/500.css'
import '@fontsource/work-sans/600.css'
import { Image } from 'astro:assets'
import Layout from '../layouts/Layout.astro'
import BaseSection from '../layouts/baseSection.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 FGO Site"
  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', 'Helvetica Neue', Helvetica, Helvetica, Arial, sans-serif;
    font-weight: 500;
    color: white;
    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: 600;
    font-family: 'Work Sans', 'Helvetica Neue', Helvetica, Helvetica, Arial, sans-serif;
    color: white;
    margin: 1rem 0px 0px;
    padding: 0.5rem 0.75rem;
    text-decoration: none;
    background-color: var(--c-darkergray);
    border-radius: 10px;
    border-style: solid;
    border-width: 2px;
    border-color: var(--c-darkergray);
    text-transform: capitalize;
  }

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

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