<?php
/**
 * The template for displaying 404 pages (not found)
 *
 * @link https://codex.wordpress.org/Creating_an_Error_404_Page
 *
 * @package Ilex
 */

get_header();
?>
<div class="grid-between container">

  <main id="site-content" role="main"  class="col-70">

    <article <?php post_class(); ?>>

      <h1 class="mb-3 mt-2 aligncenter"><?php esc_html_e( '404 Error', 'ilex' ); ?></h1>

      <h2><?php esc_html_e( 'Oops! That page can&rsquo;t be found.', 'ilex' ); ?></h2>

      <p><?php esc_html_e( 'The page you are trying to reach does not exist, or has been moved. Please use the menus or the search box to find what you are looking for.', 'ilex' ); ?></p>

      <?php get_search_form(); ?>

    </article>

  </main>
  <?php if(is_active_sidebar('sidebar-1') ) { ?>
  <aside id="site-complementary" role="complementary" class="col-20">

    <?php get_sidebar(); ?>

  </aside>
  <?php } ?>
</div>
<?php get_footer(); ?>
